An Image Classifier that classifies an image as either cat or dog.
- Training data and test data are obtained from https://www.kaggle.com/c/dogs-vs-cats/data to local storage.
- CNN Sequential Model is created and compiled using the steps in the file 'catvsdogclassifier.py'.
- The training and test data is reshaped to the shape which our model expects while training.
- Model is trained on training data.
- The trained weights and trained model are stored and saved in a file named 'catvsdog.h5' and 'catvsdog.json' respectively.
- Once the model is trained and trained weights are saved, we use the trained model and trained weight from 'catvsdog.h5' and 'catvsdog.json' respectively and use them to predict whether the given image is cat or dog in the file named 'catvsdogpredictor.py.
Note : Spyder is used to develop the codes.While using it set the directory correctly.