File size: 775 Bytes
629a915
c7c8de2
7a35761
629a915
 
7a35761
 
629a915
c7c8de2
 
629a915
 
7a35761
629a915
7a35761
629a915
7a35761
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: MushroomClassificationCNN
emoji: πŸ„
colorFrom: red
colorTo: red
sdk: streamlit
app_file: src/streamlit_app.py
pinned: false
short_description: Mushroom image classification with ResNet50
license: mit
---

# πŸ„ Mushroom Classifier (ResNet50)

This app classifies mushroom images into **10 classes** using **Transfer Learning with ResNet50**.

## βœ… Model
- Backbone: **ResNet50** (ImageNet pretrained)
- Input: **224 Γ— 224 RGB**
- Preprocessing: `tf.keras.applications.resnet50.preprocess_input`
- Metrics used during training: **accuracy** and **top-3 accuracy**

## πŸ“Œ Results (Validation)
- **Accuracy:** 0.8520  
- **Top-3 Accuracy:** 0.9704  
- **Loss:** 0.6097  

## πŸš€ How to run locally
```bash
pip install -r requirements.txt
streamlit run app.py