Question: 0 / 5 points ( graded ) Complete the code in conv.py to build a convolutional model. For this, you need to make use of
points graded
Complete the code
in
conv.py to build a convolutional model.
For this, you need to make use of ConvD layers and MaxPoold layers and perhaps Dropout in PyTorch.
Make sure that the last layer of the neural network is a fully connected Linear layer. You may start with the
architecture used in the CNN in the previous tab, but modify to generate outputs.
Available Functions: You have access to the
module as to the
as
and to the
layer as
; No need to import anything.currentdir ospath.dirnameospath.abspathfile
syspath.appendcurrentdir
from trainutils import batchifydata, runepoch, trainmodel, Flatten
import utilsmultiMNIST as U
pathtodatadir Datasets
useminidataset True
batchsize
nbclasses
nbepoch
numclasses Press ESC then TAB or click outside of the code editor to exit
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
