Generation of tv scripts using rnn's of simpsons tv show.
Article Link -> https://medium.com/@harshitawasthi/making-your-own-simpsons-tv-script-7f791581bf03
- cd ~/Desktop/
- ssh -i yourkeyname ubuntu@ip_address
- jupyter notebook --generate-config
- sed -ie "s/#c.NotebookApp.ip = 'localhost'/#c.NotebookApp.ip = '*'/g" ~/.jupyter/jupyter_notebook_config.py
- git clone https://github.com/udacity/deep-learning.git
- cd tv-script-generation
- conda create -n script python=3.5
- source activate script
- conda install pandas matplotlib jupyter notebook scipy scikit-learn
- conda install -c conda-forge tensorflow-gpu=1.1
- conda install -c conda-forge tqdm
- jupyter notebook --ip=0.0.0.0 --no-browser
You will need the token generated by your jupyter notebook to access it. On your instance terminal, there will be the following line: Copy/paste this URL into your browser when you connect for the first time, to login with a token:. Copy everything starting with the :8888/?token=.
Access the Jupyter notebook index from your web browser by visiting: X.X.X.X:8888/?token=... (where X.X.X.X is the IP address of your EC2 instance and everything starting with :8888/?token= is what you just copied).
Before step 7, if you don't have anaconda installed and you are using aws to for GPU usage, then install conda from this site: https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-16-04
Follow the following steps :
cd /tmp
curl -O https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
sha256sum Anaconda3-5.0.1-Linux-x86_64.sh
bash Anaconda3-5.0.1-Linux-x86_64.sh
press enter to continue
To approve the liscence press yes
Press enter
Press yes so that you can use conda command
source ~/.bashrc // this command is used for activating installation
Open in new terminal to see the changes, and repeat the above setup and subsequently create virtual environment for your system.