Downloads · 30 days
0
louiecerv/cats_dogs_recognition_torch_nn
cats_dogs_recognition_torch_nn is a image classification model from louiecerv. Use it when you need a label for an image. It is set up for torch. The card lists the license as mit.
This model is a simple neural network trained to classify images of cats and dogs. It is built using PyTorch and trained on the louiecerv/catsdogsdataset dataset.
Downloads · 30 days
0
Access
Public
Updated Feb 4, 2025
Repo size
102 MB
Likes
0
Public
Click a slice to open those files.
.pth102 MB · 100%
From the Hugging Face model README
This model is a simple neural network trained to classify images of cats and dogs. It is built using PyTorch and trained on the louiecerv/cats_dogs_dataset dataset.
The model was trained using a basic fully connected neural network with ReLU activation functions. The training process involved using the Adam optimizer with a learning rate of 0.001.
import torch
from model import ImageClassifier
model = ImageClassifier(input_size=128*128*3, n_classes=2)
model.load_state_dict(torch.load("cats_dogs_classifier.pth"))
model.eval()
This model is released under the MIT license.