Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1: Build LeNet (50 pts) In this part, you will build a LeNet Model. The input to the model initialization should include the sizes
Question 1: Build LeNet (50 pts) In this part, you will build a LeNet Model. The input to the model initialization should include the sizes of two hidden layers and the sizes of the output channels of two convolutional layers. You can refer to the original LeNet paper (Gradient-based learning applied to document recognition) for more details on the model. To improve the performance, you may consider adding batch normalization (Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift) after each convolutional layer. You may put all of your modules inside the nn. Sequential function, so it will be easy to "forward" the input. We have prepared the model initialization for you. We have used a Xavier uniform initialization for linear layers and convolutional layers
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started