Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,20 +1,31 @@
|
|
| 1 |
---
|
| 2 |
title: MushroomClassificationCNN
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
tags:
|
| 9 |
-
- streamlit
|
| 10 |
pinned: false
|
| 11 |
short_description: Mushroom image classification with ResNet50
|
| 12 |
license: mit
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: MushroomClassificationCNN
|
| 3 |
+
emoji: π
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
app_file: src/streamlit_app.py
|
|
|
|
|
|
|
| 8 |
pinned: false
|
| 9 |
short_description: Mushroom image classification with ResNet50
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# π Mushroom Classifier (ResNet50)
|
| 14 |
|
| 15 |
+
This app classifies mushroom images into **10 classes** using **Transfer Learning with ResNet50**.
|
| 16 |
|
| 17 |
+
## β
Model
|
| 18 |
+
- Backbone: **ResNet50** (ImageNet pretrained)
|
| 19 |
+
- Input: **224 Γ 224 RGB**
|
| 20 |
+
- Preprocessing: `tf.keras.applications.resnet50.preprocess_input`
|
| 21 |
+
- Metrics used during training: **accuracy** and **top-3 accuracy**
|
| 22 |
+
|
| 23 |
+
## π Results (Validation)
|
| 24 |
+
- **Accuracy:** 0.8520
|
| 25 |
+
- **Top-3 Accuracy:** 0.9704
|
| 26 |
+
- **Loss:** 0.6097
|
| 27 |
+
|
| 28 |
+
## π How to run locally
|
| 29 |
+
```bash
|
| 30 |
+
pip install -r requirements.txt
|
| 31 |
+
streamlit run app.py
|