Downloads Β· 30 days
0
Sudheer17/AI_Pet_Classifier
AI_Pet_Classifier is a machine learning model from Sudheer17. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A deep learning application that classifies images of cats and dogs using a Convolutional Neural Network (CNN) built with TensorFlow and Keras.
Downloads Β· 30 days
0
Access
Public
Updated Jul 3, 2026
Repo size
237 MB
Likes
1
Public
Click a slice to open those files.
.zip228 MB Β· 97%
From the Hugging Face model README
A deep learning application that classifies images of cats and dogs using a Convolutional Neural Network (CNN) built with TensorFlow and Keras.
...
AI Pet Classifier is a deep learning project that classifies images as either Cat or Dog using a Convolutional Neural Network (CNN) built with TensorFlow and Keras. The model is trained on thousands of labeled pet images and predicts the class of unseen images with high accuracy.
Dataset
β
βΌ
Image Preprocessing
β
βΌ
Data Augmentation
β
βΌ
CNN Model
β
βΌ
Training
β
βΌ
Evaluation
β
βΌ
Prediction
Input Layer (64Γ64Γ3)
β
Conv2D (32 Filters)
β
Batch Normalization
β
MaxPooling
β
Conv2D (64 Filters)
β
MaxPooling
β
Conv2D (128 Filters)
β
MaxPooling
β
Flatten
β
Dense (128)
β
Dense (1, Sigmoid)
β
Prediction
Data/
βββ training_set/
β βββ cats/
β βββ dogs/
β
βββ test_set/
βββ cats/
βββ dogs/
| Parameter | Value |
|---|---|
| Image Size | 64 Γ 64 |
| Batch Size | 32 |
| Epochs | 25 |
| Optimizer | Adam |
| Loss Function | Binary Crossentropy |
| Activation | ReLU |
| Output Activation | Sigmoid |
The model uses image augmentation to improve generalization by applying:
The trained model predicts whether the uploaded image belongs to:
along with the prediction confidence.
βββ CNN_Model.ipynb
βββ cnn_model.keras
βββ Data.zip
βββ requirements.txt
βββ README.md
βββ LICENSE
Sudheer Muthyala
B.Tech (ECE)
Aspiring AI & Data Science Engineer
GitHub: https://github.com/M-Sudheer18
This project is licensed under the MIT License.
β If you found this project helpful, consider giving it a star.