CMSC 678 Spring 2023 - Homework 5

Due by 11:59PM on Tuesday November 28th


Get the example PyTorch CNN code that learns to classify CIFAR 10 images from here:

https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html
There are links at the top of that page to download the notebook directly and to see it on GitHub where you can download it as well.

Here are your tasks and what you'll need to turn in for each of them:

Clearly, training for longer will increase accuracy, so much so that effects of some of the other changes may be hard to see after many epochs of training. To better understand the impact of the changes (other than just more epochs) print out the per-class accuracies and aggregate accuracy (over all classes) at the end of each epoch of training. Comment on whether the change(s) help or hurt in early, late, none, or all phases of the learning process.