To classify 70 different dog breeds using deep learning models including MobileNetV2, Vgg19, and ResNet50V2.
Notebook is located in the model directory.
The primary objective of this project is to accurately classify dog breeds from images using advanced deep learning techniques. By leveraging state-of-the-art convolutional neural network (CNN) architectures, including ResNet50V2, MobileNetV2, and VGG19, I aim to develop a model capable of predicting the correct breed label for each input image.
This project addresses the need for efficient dog breed classification in various applications, such as pet identification, veterinary diagnostics, and organizing breed-specific data for shelters or adoption centers.
Dog breed identification is crucial for medical care, understanding behavior, and ensuring proper treatment and housing for different breeds. Automating this task with a reliable model can significantly reduce human effort, improve accuracy, and provide instant results.
This model can assist in pet adoption, veterinary diagnostics, and creating apps where users upload photos to identify dog breeds. It is particularly useful in dog shows, pet insurance, or when registering pets.
The project began with thorough exploration of the dataset to understand the variety of breeds and image distribution. After pre-processing the images (e.g., resizing ,normalization and augmentation), multiple deep learning architectures (MobileNetV2, Vgg19, and ResNet50V2) were trained and evaluated for their classification accuracy.
The key features of the project include:
- Data Preprocessing: Images were resized, normalized, and split into training, validation, and testing sets.
- Model Selection: Three different deep learning architectures (MobileNetV2, Vgg19, and ResNet50V2) were trained.
- Evaluation Metrics: The models were evaluated based on their classification accuracy on the validation and test sets.
- Initial data exploration and understanding.
- Data cleaning and preprocessing, including resizing images and normalizing pixel values.
- Split the dataset into training, validation, and test sets.
- Trained three models (MobileNetV2, Vgg19, and ResNet50V2) on the dataset.
- Evaluated the performance of each model based on accuracy.
- pandas
- numpy
- matplotlib
- tensorflow
- keras
| Model | Accuracy |
|---|---|
| MobileNetV2 | 96.28% |
| Vgg19 | 91.85% |
| ResNet50V2 | 96.28% |
- The MobileNetV2 and ResNet50V2 models performed exceptionally well with over 96% accuracy, making them reliable for real-world applications.
- Vgg19, while slightly less accurate, still achieved impressive results with 91.85% accuracy.
- Improved understanding of deep learning architectures and their performance in image classification tasks.
- Overcame challenges related to large-scale image processing.
- Pet Adoption Platforms: This model can help pet adoption centers identify and display dog breeds more accurately on their websites.
- Veterinary Diagnostics: Used by veterinarians to assist in breed-specific medical diagnosis and treatment planning.
- Prepare the data pipeline by connecting the model to a real-time image processing system.
- Deploy the model using frameworks such as Flask or FastAPI for web integration.
- Monitor the model’s performance in production and update it with new data as needed.
Vivek Prakash
