- Python 3.6.5
To install:
pip install -r requirements.txt
Dogs and cats dataset: https://www.kaggle.com/c/dogs-vs-cats/data
Monkey species dataset: https://www.kaggle.com/slothkong/10-monkey-species
Special note on Monkey Species dataset: Contains 10 different species of monkey. In order to specify a specifc class for binary classification, training and validation sets should be made such that one species is one class and all other species are the 2nd class
Experiment scripts:
- dogscats_base.py
- dogscats_ibtl.py
- monkey_base.py
- monkey_ibtl.py
- Download Dogs vs Cats data: https://www.kaggle.com/c/dogs-vs-cats/data
- Extract dog training images into data/dogscats/train/dogs
- Extract cat training images into data/dogscats/train/cats
- Extract dog validation images into data/dogscats/validation/dogs
- Extract cat validation images into data/dogscats/validation/cat
- Run:
python dogscats_base.py
python dogscats_ibtl.py
- Download Monkey Species data: https://www.kaggle.com/slothkong/10-monkey-species
- Extract monkey training image folders into data/monkey/train
- Extract monkey validation images into data/monkey/validation
- Run:
python monkey_base.py
python monkey_ibtl.py
- Download Monkey Species data: https://www.kaggle.com/slothkong/10-monkey-species
- Run:
python predict_monkey.py <path_to_monkey_image>