Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

IMPORTANT INFORMATION

This bootcamp has been replaced with a new bootcamp starting 2023-09-06 . This bootcamp was valid for S23 (summer 2023 term) and a few terms before that though was updated to the below newer bootcamp.

If you have not started the Autonomy bootcamp, please go to the new Autonomy bootcamp: Autonomy Bootcamp - F23 and onwards

If you started this bootcamp before this date, then you have until the end of 2023-09-13 to complete this old bootcamp. After that, only submissions for the new bootcamp will be accepted.

  • Alternatively, you can start working on the new bootcamp now if you want.

Introduction

WARG members often find that joining this team requires more knowledge and has a larger learning curve than other student teams. Once members have acquired this knowledge they gain a lot of confidence and are able to make large contributions to the team. Therefore, this Bootcamp is designed as a first task to be completed to both help you through the learning curve and to familiarize you with our system and conventions. The hope is that once you complete this Bootcamp you will feel confident and hopefully have acquired enough skills such that you are ready to take on tasks with the main software project! Just a quick disclaimer, this Bootcamp will help accelerate and minimize the learning curve but it will not give you all knowledge. The remaining knowledge will be acquired through completing other tasks with the team.

Objectives

  • Learn the basics of GitHub

  • Gain familiarity with Python and PyTorch

  • Understand how neural networks work and relevant design decisions

Outline

In this bootcamp you will create an image classifier using Python and PyTorch. The classifier will be trained on the CIFAR-10 Dataset .

Action

  •  Message in #autonomy-bootcamp your name, your program, and that you’re getting started on the bootcamp
  •  Change your discord nickname to your real name
  •  Follow action items below

...

Github Repo: https://github.com/UWARG/autonomy-bootcamp

1. Fork and Setup Local Project

Forks can be created using the fork button in the top right of the GitHub Interface (you need to be signed into a GitHub account).

...

Code Block
pip install torch torchvision
pip install numpy scipy matplotlib ipython jupyter pandas sympy nose

2. Requirements

Any network topology may be used for this bootcamp. In addition to the Python script, include a plot of both training and validation losses over epochs (matplotlib.pyplot can be used for this). The code should:

  • Follow our style guide: Python Style GuideConvention

  • Have comments for each process explaining what is occurring at that step and why

  • Actually train

  • Accuracy should be at least 0.7

3. Submit

To submit your bootcamp project you should create a pull request and put the link to your pr in #autonomy-bootcamp channel. Note that this does not mean you are done, we will review your pull request and give you feedback and you will be expected to update it so that it meets all requirements.

...

Once your pull request has been merged you are ready to work on the Autonomy project. See

Autonomy Onboarding Archive for onboarding instructions.

Resources

Python

PythonProgramming.net has tutorials for both python and a variety of machine learning processes. The official documentation for both Python and Matplotlib may also be useful.

PyTorch

PyTorch has the best Starting guide and Documentation! You can almost learn everything there, and ofc our old friend Stack Overflow

PyTorch for Deep Learning is a great resource as well!

TensorFlow and Neural Networks (legacy if you want to learn about TensorFlow as well)

The TensorFlow website has documentation for all of its functions as well as a number of tutorials. Two useful books are Deep Learning with Python and Deep Learning. Deep Learning with Python also has example code found here.