What will the assignments contain?

Homework assignments will mainly involve building out prototypes for applications that we will discuss in class. For example, you will learn to create your own instagram-like filters or snapchat-like masks or smart-car lane detectors.

Each assignment will contain a hw*.ipynb Google Colab notebook that will guide you through the homework. In addition to filling in code, this file may ask you to fill in short answers or equations within the notebook. All the instructions necessary for the homework are contained in these hw*.ipynb notebooks.

How to submit your assignments?

After you have completed each assignment, you need to submit the following deliverables:

How to start working on an assignment?

Homework assignments will be done in Google Colab notebooks, so no local setup is needed. Optional: if you don't want to use Colab, we recommend using conda for any local installations.

How do you download the assignments?

All the assignments will be released via github. You can download the files directly from the website. But instead, we recommend, you use git to download the assignments because this will make it easy for you to update the assignments in case there is an update. The instructions below describe how to use git to download our assignments.

1. Installing Git

Follow the instructions here:

https://git-scm.com/book/en/v1/Getting-Started-Installing-Git

2. Forking the released homework repository

Navigate to the repo and then click the "Fork" button on the top right corner of the page.

3. Cloning your fork to your local machine

In terminal, run the following to copy your fork of the released homework directory to your desktop.

git clone https://github.com/[your_username]/CS131_release.git
Then, run the following to add the original repo as a remote.
git remote add upstream https://github.com/StanfordVL/CS131_release.git

4. Updating your local fork

To update your local fork to the newest commit, execute
git fetch upstream

This will fetch the changes that TAs made in the remote directory, so your local directory will be up-to-date with the remote one. Be careful that sometimes if the TAs and you are changing the same lines, there will be a conflict, and you may have to fix the conflicts manually.

Collaboration Policy