ForgottenPlutonium
*Why this name? Because I think TinyImageNet Dataset is underrated and I wanted to make it cool and radioactive :sunglasses:
Model Features:
-
Used GPU as Device.
-
CNN Type: ResNet18
-
Total Params: 11,271,432
-
Implemented MMDA, used Albumentations since it's easy to integrate with PyTorch.
-
Also Trained the model a bit harder by adding Image Augmentation Techniques like RandomCrop, Flip & Cutout.
-
Max Learning Rate: 0.01
-
Used NLLLoss() to calculate loss value.
-
Ran the model for 50 Epochs
* Highest Validation Accuracy: 51.20%
-
GradCam for 25 Misclassified Images.
Library Documentation:
1. : Applies required image transformation to both Train & Test dataset using Albumentations library.
2.: Consists of Custom DataSet Class and some helper functions to apply transformations, extract classID etc.
3.: Consists of main ResNet model
4.: Scripts to Test & Train the model.
5.: Scripts to load the datasets.
6.: Consists of helper functions to plot images from dataset & misclassified images.
7.: Consists of Gradcam class & other related functions.
8.: LR finder using FastAI Approach.
9.: Consists helper functions related to CycliclR.
Plots & Curves
Model Performance
Misclassified Images
GradCam for Misclassified Images
Model Logs