Skip to content

This project implements a deep learning–based image classification system to accurately distinguish between cats and dogs Using transfer learning with a pre-trained ResNet50 model

License

Notifications You must be signed in to change notification settings

muqadasejaz/-Cat-vs-Dog-Image-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🐱🐶 Cat vs Dog Image Classification using ResNet50

This project focuses on building a high-accuracy image classification model to distinguish between cats and dogs using Deep Learning. A pre-trained ResNet50 model with transfer learning is used to achieve excellent performance, reaching 98.6% accuracy.

Kaggle Notebook: Cats vs Dogs Classification on Kaggle


📖 Project Overview

Image classification is a fundamental problem in computer vision. In this project, a Convolutional Neural Network (CNN) based on ResNet50 is fine-tuned to classify images of cats and dogs. The notebook includes data exploration, preprocessing, model training, evaluation, and performance analysis.

Transfer learning allows leveraging knowledge from large-scale datasets (ImageNet) to improve accuracy and reduce training time.


🎯 Objectives

  • Build an accurate image classification model for cats and dogs

  • Apply transfer learning using ResNet50

  • Perform basic exploratory data analysis (EDA)

  • Evaluate model performance using accuracy metrics

  • Achieve high generalization on unseen test data


✨ Features

  • Binary image classification (Cat vs Dog)

  • Transfer learning with ResNet50

  • Image preprocessing and augmentation

  • High accuracy (98.6%)

  • Clean and well-structured training pipeline

  • Model evaluation and performance visualization


🛠 Tools & Technologies

  • Python
  • TensorFlow / Keras
  • ResNet50 (Pre-trained on ImageNet)
  • NumPy
  • Matplotlib
  • Seaborn
  • Jupyter Notebook

📂 Dataset


📊 Results

  • Model Used: ResNet50 (Transfer Learning)

  • Accuracy Achieved: 98.6%

  • The model demonstrates strong generalization and robust performance on unseen data.

  • EDA:

image image
  • Confusion Matrix:
image

👤 Author

Muqadas Ejaz

BS Computer Science (AI Specialization)

AI/ML Engineer

Data Science & Gen AI Enthusiast

📫 Connect with me on LinkedIn

🌐 GitHub: github.com/muqadasejaz

📬 Kaggle: Kaggle Profile


📎 License

This project is open-source and available under the MIT License.

⭐ If you find this project useful, don’t forget to star the repository!

About

This project implements a deep learning–based image classification system to accurately distinguish between cats and dogs Using transfer learning with a pre-trained ResNet50 model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published