python3 -m venv env
source env/bin/activate
pip install torch # necessary to install a first version of it because of Detectron2
pip install -r requirements.txt
We will be using a dataset containing 200 different classes of birds adapted from the CUB-200-2011 dataset. Download the training/validation/test images from here. The test image labels are not provided.
Take a look at the notebook EDA.ipynb
.
The overall method and results are described in the report.pdf
.
python3 -m main_detector.py
python3 -m main_feature_extractor.py
Examples on how to use these embeddings can be found in the notebooks
demo.
This script will train the defined model without previously computed embeddings.
python3 -m main_classifier_without_embeddings.py
Using cross validation (CV) to train the selected model.
python3 -m main_kfolds.py
Adapted from Rob Fergus and Soumith Chintala https://github.com/soumith/traffic-sign-detection-homework.
Adaptation done by Gul Varol: https://github.com/gulvarol