- This project is to provide a detailed explanation of applying convolutional neural network (CNN) for a classification task of classifying dogs vs cats by using the Kaggle dataset.
- There are two CNN models including manually built CNN model (Model 1) and Customised pre-trained CNN model using the VGG16 architecture (Model 2).
- Model 1 has an accuracy of 76.48%, meanwhile, Model 2 has an accuracy of 93.12%.
- Full report is available via this link
- Python
- Keras
- Clone this repository (for help see this tutorial).
- Use Jupyter Notebook Environment then run
CNN1.ipynb
for Model 1 orCNN2.ipynb
for Model 2. - Use saved models' files including
cnn1.h5
for Model 1 orcnn2.h5
for Model 2 to use the models directly and to save training time which could take several hours especially for Model 2.
This project is under the MIT license.