Due Date: 5/4, 2:00 PM
Name: FILL IN
Email: FILL IN
Instructions for the tasks are included in the jupyter notebook, run jupyter notebook
once you have setup your environment.
For all of our assignments, we will be using anaconda with python 3.6 and pytorch.
Download anaconda from here, and then you can install pytorch by running: conda install pytorch-cpu -c pytorch
. You can then launch the Jupyter notebook by running: jupyter notebook
On Linux this looks like:
curl -O 'https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh'
bash Anaconda3-5.0.1-Linux-x86_64.sh
source ~/anaconda3/bin/activate
conda install pytorch-cpu -c pytorch
jupyter notebook
If you are unable to get python working on your local computer or would rather use the ugrad machines to work on your homework, then you can follow these instructions:
# replace 1234 with your favorite number
ssh [email protected] -L 1234:localhost:1234
curl -O 'https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh'
bash Anaconda3-5.0.1-Linux-x86_64.sh
bash
source ~/anaconda3/bin/activate
conda install pytorch-cpu -c pytorch
jupyter notebook --ip=127.0.0.1 --port=1234 --no-browser
Now open your web browser to http://localhost:1234
and you should see the jupyter notebook login screen.
If it is asking you for a token, then check the output in the terminal for a line like:
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://127.0.0.1:9001/?token=a552f07a9b00cc2b84f
- Make sure that you have completed all parts of the assignment
- In the Jupyter notebook click Kernel > Restart & Run all to generate the output for all cells
- Save the notebook with the output from all the cells in the notebook File > Save and Checkpoint
- Put your name in README.md
- Create a git commit and push it to your private repo
git add .
git commit -m 'done with assignment 3 !!!'
git push
- Check your submission at
https://github.com/seq2class/sp18-assignment3-YOUR_USERNAME