CMSC 678 Fall 2022 - Homework 3

Due by 11:59PM on Tuesday October 25th


Part 1

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:

Part 2

The figure below shows a 2-layer, feed-forward neural network with two hidden-layer nodes and one output node. x1 and x2 are the two inputs. For the following questions, assume the learning rate is 0.1. Each node also has a bias input value of +1. Assume there is a sigmoid activation function at the hidden layer nodes and at the output layer node.