Git Product home page Git Product logo

cpt_illustrator's Introduction

CPT_illustrator

This is the repo to build CPT illustrator for deploying CPT

Turn on cpt_illustrator vm:

Using CPT-illustrator

To the public user:

su - cpt_illustrator

Password:

cpt

Activate the env

conda activate tf

On MacBook terminal Data Transfer by gcloud cli

gcloud compute scp Downloads/annual-report-2022.pdf cpt_illustrator@aiesg-cpt-v1-illustrator:/home/cpt_illustrator/RunPDF/GoldmanSachs2022.pdf --zone=asia-southeast1-b

"Downloads/annual-report-2022.pdf" this is the file address on your computer. "GoldmanSachs2022.pdf" this is filename on the VM.

ls record.txt

if nothing found goog; else

rm record.txt

On VM Linux begin the analysis

ls RunPDF
INPUT_FILE=$(ls RunPDF)
FILENAME=$(basename "$INPUT_FILE" .pdf)
echo "$FILENAME"
ADDRESS="ResultToDownload/$FILENAME"
echo $ADDRESS
nohup python run.py > record.txt &

result location

echo $ADDRESS

copy this output

On MacBook terminal download results

gcloud compute scp --recurse cpt_illustrator@aiesg-cpt-v1-illustrator:/home/cpt_illustrator/'echo $ADDRESS' Downloads/Results --zone=asia-southeast1-b

'echo $ADDRESS' copy the ouptut of this line code to this place. "Downloads/Results", this this result location.

shut down that vm

CAUTION this VM is expensive!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.