Downloads · 30 days
0
sathvik333/Cat_or_Dog.Classifier
Cat_or_Dog.Classifier is a image classification model from sathvik333. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Nov 16, 2025
Repo size
637 MB
Likes
0
Public
Click a slice to open those files.
.pth637 MB · 100%
From the Hugging Face model README
This model is a deep convolutional neural network (CNN) built using PyTorch to classify images as either cats or dogs. It was trained on a labeled dataset of cat and dog images resized to 224×224 pixels, with extensive data augmentation and regularization techniques to improve generalization. The model achieves over 90% accuracy on the test set.
The classifier consists of four convolutional blocks followed by three fully connected layers. Each convolutional block includes a convolutional layer, batch normalization, ReLU activation, and max pooling. The fully connected layers include batch normalization and dropout for regularization.
Conv Block 1:
Conv Block 2:
Conv Block 3:
Conv Block 4:
After these blocks, the feature map is flattened to a 1D vector for classification.
FC Layer 1:
FC Layer 2:
FC Layer 3:
To improve generalization, the training data was augmented with:
This model is licensed under the Apache 2.0 License. You are free to use, modify, and distribute it with proper attribution.
Created by Sathvik as part of a deep learning exploration project focused on image classification and CNN architecture optimization.