Cat vs Dog Image Classification Using MobileNetV2 and Transfer Learning.
Introduction
Image classification is a common application of deep learning in computer vision. In this project, we build a model that can identify whether an image contains a cat or a dog.
The project uses TensorFlow and Keras along with MobileNetV2, a pretrained deep learning model. The dataset is cleaned and divided into training, validation, and test sets, followed by image augmentation and model training. The model is then fine-tuned to improve its performance on the Cat vs Dog classification task.
The final model achieves 97.74% accuracy on the test dataset and can also be used to classify new images uploaded by the user.
In this article, we will understand the complete workflow of the project, from dataset preparation to training, evaluation, and prediction.
After cleaning, 23,410 valid images remain for the classification task.