Update app.py
Browse files
app.py
CHANGED
|
@@ -148,12 +148,6 @@ Upload an image of a bird and the model will predict the species!
|
|
| 148 |
- Test Accuracy: 83.64%
|
| 149 |
- Average Per-Class Accuracy: 83.29%
|
| 150 |
|
| 151 |
-
**Training Strategy:**
|
| 152 |
-
- Transfer Learning with ImageNet pretrained weights
|
| 153 |
-
- Two-phase training: Frozen backbone (40 epochs) → Fine-tuning (20 epochs)
|
| 154 |
-
- Strong regularization: Dropout (0.6, 0.5), Label smoothing (0.2)
|
| 155 |
-
- Data augmentation: Rotation, flip, color jitter, random erasing
|
| 156 |
-
|
| 157 |
Upload a clear image of a bird to get started!
|
| 158 |
"""
|
| 159 |
|
|
@@ -161,8 +155,6 @@ article = """
|
|
| 161 |
### About This Model
|
| 162 |
|
| 163 |
This bird classifier was trained on the CUB-200-2011 dataset containing 200 North American bird species.
|
| 164 |
-
The model uses ConvNeXt-Base architecture with modern training techniques to achieve high accuracy while
|
| 165 |
-
preventing overfitting.
|
| 166 |
|
| 167 |
**Key Features:**
|
| 168 |
- ✅ 200 bird species classification
|
|
@@ -170,7 +162,6 @@ preventing overfitting.
|
|
| 170 |
- ✅ 83.64% test accuracy
|
| 171 |
- ✅ Real-time inference
|
| 172 |
|
| 173 |
-
**Best Results:** Upload high-quality images with the bird clearly visible and centered.
|
| 174 |
"""
|
| 175 |
|
| 176 |
examples = [
|
|
|
|
| 148 |
- Test Accuracy: 83.64%
|
| 149 |
- Average Per-Class Accuracy: 83.29%
|
| 150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
Upload a clear image of a bird to get started!
|
| 152 |
"""
|
| 153 |
|
|
|
|
| 155 |
### About This Model
|
| 156 |
|
| 157 |
This bird classifier was trained on the CUB-200-2011 dataset containing 200 North American bird species.
|
|
|
|
|
|
|
| 158 |
|
| 159 |
**Key Features:**
|
| 160 |
- ✅ 200 bird species classification
|
|
|
|
| 162 |
- ✅ 83.64% test accuracy
|
| 163 |
- ✅ Real-time inference
|
| 164 |
|
|
|
|
| 165 |
"""
|
| 166 |
|
| 167 |
examples = [
|