Classify photos of Dogs and Cats.
Dataset: https://www.microsoft.com/en-us/download/details.aspx?id=54765
- Organise the dataset as follows:
Data
pickles
features.pickle
labels.pickle
models
64x3-CNN.model
testData
(images)
PetImages
Cat
(images)
Dog
(images)
- Type
pip install -r requirements.txt
to install all packages. - Please check config.py for following steps.
Type python prepare.py
to make pickle files for your PetImages.
Type python train.py
to train simple model/
Type python train.py -m hard
to train model with more accuracy one.
Type python app.py
to test your cat / dog images in testData folder.