HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

A Comprehensive Study on Torchvision Pre-trained Models for Fine-grained Inter-species Classification

Feras Albardi H M Dipu Kabir Md Mahbub Islam Bhuiyan Parham M. Kebria Abbas Khosravi Saeid Nahavandi

A Comprehensive Study on Torchvision Pre-trained Models for Fine-grained Inter-species Classification

Abstract

This study aims to explore different pre-trained models offered in the Torchvision package which is available in the PyTorch library. And investigate their effectiveness on fine-grained images classification. Transfer Learning is an effective method of achieving extremely good performance with insufficient training data. In many real-world situations, people cannot collect sufficient data required to train a deep neural network model efficiently. Transfer Learning models are pre-trained on a large data set, and can bring a good performance on smaller datasets with significantly lower training time. Torchvision package offers us many models to apply the Transfer Learning on smaller datasets. Therefore, researchers may need a guideline for the selection of a good model. We investigate Torchvision pre-trained models on four different data sets: 10 Monkey Species, 225 Bird Species, Fruits 360, and Oxford 102 Flowers. These data sets have images of different resolutions, class numbers, and different achievable accuracies. We also apply their usual fully-connected layer and the Spinal fully-connected layer to investigate the effectiveness of SpinalNet. The Spinal fully-connected layer brings better performance in most situations. We apply the same augmentation for different models for the same data set for a fair comparison. This paper may help future Computer Vision researchers in choosing a proper Transfer Learning model.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
fine-grained-image-classification-on-10Inception-v3 (Spinal FC)
Accuracy: 99.26
fine-grained-image-classification-on-10VGG-19_bn
Accuracy: 98.90
fine-grained-image-classification-on-10WideResNet-101(Spinal FC)
Accuracy: 99.26
fine-grained-image-classification-on-bird-225WideResNet-101
Accuracy: 99.38
fine-grained-image-classification-on-bird-225WideResNet-101 (Spinal FC)
Accuracy: 99.56
fine-grained-image-classification-on-fruitsResNeXt-101
Accuracy (%): 99.98
fine-grained-image-classification-on-oxfordDenseNet-201
Accuracy: 98.29
fine-grained-image-classification-on-oxfordDenseNet-201(Spinal FC)
Accuracy: 98.36

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp