-
Notifications
You must be signed in to change notification settings - Fork 1.3k
PaddlePaddle Document for HackMIT
- pull and run the docker image
# for CPU-only
docker run -it -v $HOME/.cache:/root/.cache --name xxx paddlepaddle/book:latest /bin/bash
# for GPU support
nvidia-docker run -it -v $HOME/.cache:/root/.cache --name xxx paddlepaddle/book:latest-gpu /bin/bash
- Navigate to the book chapter directory, such as
02.recognize_digits
cd /book/02.recognize_digits/
- Run training process.
python train.py
For general instructions on using connecting EC2 instance, please refer to AWS's detailed guide.
-
On your local machine, open up the Terminal application, or other command-line shell applications, navigate to the directory of the private key file
hackmit-paddlepaddle-1.pem
provided (please contact me for your copy). -
Change the permissions of the .pem file so only the root user can read it:
chmod 400 hackmit-paddlepaddle-1.pem
or other filenames using
chmod 400 $filename
. -
Use the ssh command to connect to the instance with the IP address provided. For example, if the IP address is
10.254.142.33
,ssh -i hackmit-paddlepaddle-1.pem ubuntu@10.254.142.33
https://github.com/PaddlePaddle/book/wiki/PaddlePaddle-Book-pretrained-model
The code and the documentation for this portion lives here.