Downloads · 30 days
0
avs-satya/cnn-image-classifier
cnn-image-classifier is a machine learning model from avs-satya. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A modern Flask web application for image classification using a trained CIFAR-10 Convolutional Neural Network model.
Downloads · 30 days
0
Access
Public
Updated Oct 20, 2025
Repo size
4.3 MB
Likes
0
Public
Click a slice to open those files.
.h54.3 MB · 99%
From the Hugging Face model README
A modern Flask web application for image classification using a trained CIFAR-10 Convolutional Neural Network model.
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt
python app.py
http://localhost:5000CNN-Image-Classifier/
├── app.py # Main application entry point
├── app/
│ ├── __init__.py # Flask app factory
│ ├── model.py # CIFAR-10 model implementation
│ └── routes.py # Flask routes and handlers
├── models/
│ └── model_cifar10.h5 # Trained CIFAR-10 model
├── templates/
│ ├── index.html # Upload page with modern UI
│ └── result.html # Results page with predictions
├── static/
│ └── css/
│ └── style.css # Custom styles (legacy)
├── uploads/ # Temporary file storage
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore rules
└── README.md # This file
The application uses a pre-trained CIFAR-10 CNN model that can classify images into 10 categories:
app/__init__.py)models/model_cifar10.h5To use a different model:
models/model_cifar10.h5 with your trained modelapp/model.pyThe application uses Tailwind CSS for styling. Key files:
templates/index.html: Upload interfacetemplates/result.html: Results display<style> sectionsuploads/ directorymodels/ directory for better organizationThis project is for educational purposes. Please ensure you have proper licensing for any models or datasets used.