Spaces:
Runtime error
Runtime error
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,61 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CIFAR-100 ResNet18 Demo
|
| 3 |
+
emoji: 🖼️
|
| 4 |
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
models:
|
| 12 |
+
- ivantv/cifar100-resnet18
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# CIFAR-100 Image Classification Demo
|
| 16 |
+
|
| 17 |
+
This is a demo Space for the ResNet-18 model trained on CIFAR-100 dataset.
|
| 18 |
+
|
| 19 |
+
**Model:** [ivantv/cifar100-resnet18](https://huggingface.co/ivantv/cifar100-resnet18)
|
| 20 |
+
|
| 21 |
+
## Features
|
| 22 |
+
|
| 23 |
+
- 🎯 **100 Categories** - Classify images into animals, vehicles, objects, plants, and more
|
| 24 |
+
- 🚀 **75.84% Accuracy** - High-performance ResNet-18 model
|
| 25 |
+
- 📸 **Easy to Use** - Just upload an image and get instant predictions
|
| 26 |
+
- 🔝 **Top-5 Predictions** - See the most likely classes with confidence scores
|
| 27 |
+
|
| 28 |
+
## Model Details
|
| 29 |
+
|
| 30 |
+
- **Architecture:** ResNet-18
|
| 31 |
+
- **Parameters:** 11,220,132
|
| 32 |
+
- **Training:** 50 epochs on CIFAR-100
|
| 33 |
+
- **Test Accuracy:** 75.84%
|
| 34 |
+
|
| 35 |
+
## Usage
|
| 36 |
+
|
| 37 |
+
1. Upload an image using the interface
|
| 38 |
+
2. View the top-5 predictions with confidence scores
|
| 39 |
+
3. Try different types of images!
|
| 40 |
+
|
| 41 |
+
## Categories
|
| 42 |
+
|
| 43 |
+
The model can recognize 100 different categories including:
|
| 44 |
+
|
| 45 |
+
**Animals:** bear, tiger, elephant, dolphin, fox, lion, wolf, butterfly, etc.
|
| 46 |
+
**Vehicles:** bicycle, bus, train, motorcycle, pickup_truck, etc.
|
| 47 |
+
**Objects:** chair, table, lamp, clock, keyboard, telephone, etc.
|
| 48 |
+
**Plants:** maple_tree, oak_tree, palm_tree, rose, tulip, orchid, etc.
|
| 49 |
+
**Structures:** house, castle, bridge, skyscraper, etc.
|
| 50 |
+
|
| 51 |
+
## Files
|
| 52 |
+
|
| 53 |
+
This Space uses:
|
| 54 |
+
- `app.py` - Gradio interface
|
| 55 |
+
- `requirements.txt` - Dependencies
|
| 56 |
+
- Model downloaded from: [ivantv/cifar100-resnet18](https://huggingface.co/ivantv/cifar100-resnet18)
|
| 57 |
+
|
| 58 |
+
## License
|
| 59 |
+
|
| 60 |
+
MIT License
|
| 61 |
+
|