-
Notifications
You must be signed in to change notification settings - Fork 5
/
AWS_Setup.txt
23 lines (17 loc) · 924 Bytes
/
AWS_Setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
After Launching the Linux 2 AMI Instance logon to server using PuTTY or Bash, and follow these steps:
sudo yum install python3
alias python='/usr/bin/python3.7'
1. wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
2. bash Anaconda3-2020.02-Linux-x86_64.sh
Follow the instructions
After the installation close the terminal and open again install dependencies:
3. pip install tensorflow==1.13.1
4. pip install flask==1.1.1
5. pip install --upgrade jsonpickle
6. pip install googletrans
8. To delete the Downloaded Amaconda pacakage after installation
rm -f Anaconda3-2020.02-Linux-x86_64.sh
9. Upload the Project Folder to the server using WinSCP.
10. If the folder is compressed use: unzip ` filename.zip ` command to unzip the folder.
10. Change the directory to the folder conatining code and run:
nohup python app.py models/cornell_movie_dialog/trained_model_v2/best_weights_training.ckpt