Skip to content

CV4Ecology 2022 Lecture 12: Efficient Models and Speed vs. Accuracy

License

Notifications You must be signed in to change notification settings

CV4EcologySchool/lecture-12-efficient-models

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animal Classification in Camera Trap Images

Example repository for the CV4Ecology 2022 Summer School to train and test deep learning models on camera trap images, using the CCT20 dataset.

Installation instructions

  1. Install Conda

  2. Create environment and install requirements

conda create -n cv4ecology python=3.8 -y
conda activate cv4ecology
pip install -r requirements.txt
  1. Download dataset

NOTE: Requires the azcopy CLI to be installed and set up on your machine.

sh scripts/download_dataset.sh 

This downloads the CCT20 subset to the datasets/CaltechCT folder.

Reproduce results

  1. Train
python ct_classifier/train.py --config configs/exp_resnet18.yaml
  1. Test/inference

@CV4Ecology participants: Up to you to figure that one out. :)

See also ct_classifier/visualize_predictions.ipynb

About

CV4Ecology 2022 Lecture 12: Efficient Models and Speed vs. Accuracy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.8%
  • Jupyter Notebook 8.1%
  • Shell 4.1%