Q1. (2 Marks) Compute The Output Volume and Total Parameters For The Given CNN Which Is A Slightly Modified Version of Lenet-5

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Take Home Quiz 2

Deep Learning

Due Wed 17, 2021, 11:00am


CS437/CS5317/EE414 ID_____________________
Submission: Via LMS

Q1. [2 Marks] Compute the output volume and total parameters for the given CNN which is a
slightly modified version of LeNet-5.

Layer Output Total Params Total Params


Volume (with bais) (without bais)

Name No. of filters Filter size Stride Pad

Input 32x32x1

Conv1 5 5x5 1 0

Pool N/A 2x2 2 0

Conv 10 5x5 1 2

Conv 6 3x3 1 1

Pool N/A 2x2 2 0


FC N/A N/A N/A N/A 100

FC N/A N/A N/A N/A 64


Take Home Quiz 2
Deep Learning

Due Wed 17, 2021, 11:00am


CS437/CS5317/EE414 ID_____________________
Submission: Via LMS

Q2. [2 Marks] Compute the output volume and total parameters for the given CNN which is a
slightly modified version of AlexNet.

Layer Output Total Params Total Params


Volume (with bais) (without bais)

Name No. of filters Filter size Stride Pad

Input 191x191x3

Conv1 50 11x11 4 0

Pool N/A 3x3 2 0

Conv2 128 3x3 1 0

Conv2 256 5x5 1 2

Pool N/A 3x3 2 0


Conv3 200 3x3 1 1

Conv4 200 3x3 1 1


Conv5 100 3x3 1 1
Pool N/A 3x3 2 0
FC N/A N/A N/A N/A 250
FC N/A N/A N/A N/A 10
Take Home Quiz 2
Deep Learning

Due Wed 17, 2021, 11:00am


CS437/CS5317/EE414 ID_____________________
Submission: Via LMS

Q. [2 Marks] Compute the total number of multiplications required at each step and show the
comparison between with and without 1 x 1 x depth convolution. Use last 3 digits of your roll
number instead of filter size (mentioned as ###). Also “same” here means that padding is adjusted
to keep the spatial dimension unchanged)

Without 1x1xdepth

CONV
5x5
same
f = ###
32x32x64 32x32x###

Multiplications: _________________________________

With 1x1xdepth

CONV CONV
1x1 5x5
same same
f =8 f = ###
32x32x###

32x32x64

Multiplications: ________________________________

Multiplications: ________________________________

_____m vs. _____m

You might also like