Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

The repository contains supplementary material to my Master's thesis - Fine-grained Visual Recognition with Side Information

Notifications You must be signed in to change notification settings

chamidullinr/fine-grained-visual-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fine-grained Visual Recognition with Side Information

Overview

This repository contains supplementary material to my Master's thesis - Fine-grained Visual Recognition with Side Information.

The thesis presents a method for fine-grained visual snake and fungi species recognition with side information. The proposed method is based on state-of-the-art deep neural networks for classification: Convolutional Neural Networks and Vision Transformers. The performance improvements are achieved by:

  1. adopting loss functions proposed to address the class imbalance;
  2. adjusting predictions by prior probabilities of side information like location and time of observation;
  3. applying a weakly supervised method to localize snakes and fungi in images and crop the images based on the detected regions to enrich the training data.

Content

Cleaned SnakeCLEF Data

SnakeCLEF Additional Data

Detected Bounding Boxes using Saliency-based localization method

Python Scripts and Jupyter Notebooks

Getting Started

Datasets

The snake and fungi datasets, used in this thesis, are publicly available at:

Package Dependencies

The proposed method wes developed using Python=3.8 with PyTorch=1.7.1 machine learning framework. The pre-trained CNN networks were used from PyTorch Image Models library timm=0.4.12, and the pre-trained Vision Transformers were used from Hugging Face Trasformers library transformers=4.12.3. Additionally, the repository requires packages: numpy, pandas, scikit-learn, matplotlib and seaborn.

To install required packages with PyTorch for CPU run:

pip install -r requirements.txt

For PyTorch with GPU run:

pip install -r requirements_gpu.txt

The requirement files do not contain jupyterlab nor any other IDE. To install jupyterlab run

pip install jupyterlab

Authors

Rail Chamidullin - chamidullinr@gmail.com - Github account

About

The repository contains supplementary material to my Master's thesis - Fine-grained Visual Recognition with Side Information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages