python3 -m venv env
source env/bin/activatepip install torch # necessary to install a first version of it because of Detectron2
pip install -r requirements.txtWe 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.pypython3 -m main_feature_extractor.pyExamples 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.pyUsing cross validation (CV) to train the selected model.
python3 -m main_kfolds.pyAdapted from Rob Fergus and Soumith Chintala https://github.com/soumith/traffic-sign-detection-homework.
Adaptation done by Gul Varol: https://github.com/gulvarol