Project 0
Overview
The objective of the first project is to gain experience working with the Python scripting languange and the PyTorch machine learning framework using the Google Colab development environment. In this project you will implement a collection of functions using core functionality of PyTorch Tensor objects.
Instructions
- Download the project starter code
- Unzip the starter code and upload to Google Drive
- Once unzipped, you should find a root directory titled ‘P0’. The ‘P0’ directory contains all starter code and files needed to complete this project. Please upload the ‘P0’ directory to your Google Drive.
- Open the
*.ipynb
and*.py
files and implement featuresWe recommend implementing the features in a Google Colab environment. The Colab development environment can be accessed by double-clicking on each
*.ipynb
and*.py
file within your Drive. Instructions for each feature are included in thepytorch101.ipynb
file.While working on the project, keep the following in mind:
- The notebook and the python file have clearly marked blocks where you are expected to write code. Do not write or modify any code outside of these blocks.
- Do not add or delete cells from the notebook. You may add new cells to perform scratch computations, but you should delete them before submitting your work.
- Run all cells, and do not clear out the outputs, before submitting. You will only get credit for code that has been run.
- To avoid experiencing Colab usage limits, save and close your notebooks once finished working.
- Download final implementation
- After implementing all features, save your work and download the completed
*.ipynb
and*.py
files. - The last cell of the
pytorch101.ipynb
notebook will generate ainternetid_umid_P0.zip
file (e.g.kdesingh_1234567_P0.zip
). The zip file should includepytorch101.ipynb
andpytorch101.py
for this assignment.
- After implementing all features, save your work and download the completed
- Submit your python and notebook files for grading
- Use this google-form to submit your code.
- Use this google-form to submit your code.
Deadline
This project is due on Tuesday, January 24th at 11:59pm CT. We suggest starting as soon as possible.
Grading
The project is worth a total of 90 points.