Downloads · 30 days
0
chaithali022/cnn
cnn is a machine learning model from chaithali022. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
An end-to-end Convolutional Neural Network (CNN) implementation for classifying images from the CIFAR-10 dataset using PyTorch.
Downloads · 30 days
0
Access
Public
Updated Feb 7, 2026
Repo size
374 MB
Likes
0
Public
Click a slice to open those files.
Other186 MB · 50%
From the Hugging Face model README
An end-to-end Convolutional Neural Network (CNN) implementation for classifying images from the CIFAR-10 dataset using PyTorch.
CNN/
├── main.py # Main entry point
├── requirements.txt # Project dependencies
├── src/
│ ├── data.py # Data loading utilities
│ ├── model.py # CNN model architecture
│ ├── train.py # Training script
│ └── evaluate.py # Evaluation script
└── model.pth # Saved model (after training)
pip install -r requirements.txt
python main.py
cd src
python train.py
cd src
python evaluate.py
The CNN consists of:
The best model (based on test accuracy) is automatically saved as model.pth.
With the default configuration, you should expect:
For better performance, consider: