User Tools

Site Tools


cs601r_w2020:lab1

This is an old revision of the document!


Objective:

Code a basic classifier in pytorch. Prepare a scaffold that will be used for experimentation in future labs.


Deliverable:

For this lab, you will submit an ipython notebook via learningsuite. Your notebook must contain your classifier code, and should show various final statistics about it and its performance. You should plot your loss curve, a final confusion matrix, and you must clearly display the total parameter count of your network.


Grading standards:

Your notebook will be graded on the following:

  • 45% Successfully created resnet
  • 5% Clearly display the total parameter count of your network
  • 20% Plotted loss curve
  • 20% Showed final confusion matrix
  • 10% Tidy and legible figures, including labeled axes where appropriate

Description:

For this lab, you will implement a basic pytorch image classifier on a reasonably large dataset.

Details:

Your classifier must be a 20 layer Resnet.

The dataset is the Tiny Imagenet dataset. It has 200 classes, and 500 training images per class (for a total of 100k training images), and 10,000 testing images.

You will probably want to use Google colab to host your notebook.

For your loss curve, any reasonable visualization is acceptable.

For your confusion matrix, you should display a 200×200 image, where each pixel i,j represents the number of times an image of class i was classified as class j.

You will not be graded on any final accuracies.

MAJOR HINT: we will be working with this classifier in future labs by adjusting its hyper parameters. In particular, you should make it easy to:

  • Change the activation function
  • Change whether or not you use BatchNorm
  • Change the learning rate schedule
  • Change the weight regularization
cs601r_w2020/lab1.1578334847.txt.gz · Last modified: 2021/06/30 23:40 (external edit)