- Given the very small number of images (5k only) , I split the data set into 80% - 20% ratio. The first part with 80% images (~4000 images) along with augmented images was used for training and rest 20% (~1000 images) was used for validation.
- I used image augmentations like adding hue saturation, additive gaussian noise , blurring, sharpen, grayscale etc to increase number of images so that each class will have at least 8k training images. Models trained on this augmented dataset gave significant boost to accuracy (by ~2%) .
- I tried different CNN architectures with (pretrained ImageNet weights) like ResNet-18, ResNet-34, ResNet-50, ResNet-101, Inception-V3, DensNet-121 in PyTorch.
- For training I used SGD with momentum with decay learning rate.
- Inception-V3 and Resnet-50 performed best amongst all the models so the final submission was ensemble of these 2 models. To create ensemble I just averaged probability values obtained from all the models and then took the category with highest probability.
-
Notifications
You must be signed in to change notification settings - Fork 1
sandeep307/PAN_IIT_AI_Hackathon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published