Code Monkey home page Code Monkey logo

assignment3's Introduction

Assignment 3

Due Date: 5/4, 2:00 PM

Name: FILL IN

Email: FILL IN

Getting started

Instructions for the tasks are included in the jupyter notebook, run jupyter notebook once you have setup your environment.

Installing

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

Using an ugrad machine

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

Submitting your assignment:

  1. Make sure that you have completed all parts of the assignment
  2. In the Jupyter notebook click Kernel > Restart & Run all to generate the output for all cells
  3. Save the notebook with the output from all the cells in the notebook File > Save and Checkpoint
  4. Put your name in README.md
  5. Create a git commit and push it to your private repo
    1. git add .
    2. git commit -m 'done with assignment 3 !!!'
    3. git push
  6. Check your submission at https://github.com/seq2class/sp18-assignment3-YOUR_USERNAME

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.