The goal of this assignment is to apply L1 and L2 regularization on the final model from the previous session and plot the changes in validation loss and accuracy obtained during model training in the following scenarios:
- Without L1 and L2 regularization
- With L1 regularization
- With L2 regularization
- With L1 and L2 regularization
After model training, display 25 misclassified images for L1 and L2 models.
- Kernel Size: 3x3
- Loss Function: Negative Log Likelihood
- Optimizer: SGD
- Dropout Rate: 0.01
- Batch Size: 64
- Learning Rate: 0.01
- L1 Factor: 0.001
- L2 Factor: 0.0001
Install the required packages
$ pip install -r requirements.txt
Select Python 3 as the runtime type and GPU as the harware accelerator.
- Shantanu Acharya (Canvas ID: 25180630)
- Rakhee (Canvas ID: 25180625)