A comprehensive framework for evaluating semantic segmentation models on the Cityscapes dataset with IoU-based miscoverage categorization.
This project evaluates the SegFormer-B0 model on the Cityscapes validation set for car segmentation (class ID: 13), achieving an mIoU of 0.8688.
| Metric | Value |
|---|---|
| mIoU | 0.8688 |
| Precision | 0.9191 |
| Recall | 0.9253 |
| F1-Score | 0.9155 |
| Images | 479 |
| Category | Count | Percentage |
|---|---|---|
| Excellent (IoU ≥ 0.9) | 313 | 65.3% |
| Good (IoU ≥ 0.75) | 113 | 23.6% |
| Over-segmentation | 14 | 2.9% |
| Under-segmentation | 10 | 2.1% |
| Critical Failure | 7 | 1.5% |
| Severe Under-segmentation | 6 | 1.3% |
| Complete Failure | 5 | 1.0% |
| Poor Alignment | 4 | 0.8% |
| Severe Over-segmentation | 4 | 0.8% |
| Moderate Miscoverage | 3 | 0.6% |
Model misses parts of the car, resulting in false negatives.
- Causes: Occlusion, poor lighting, small objects
Model incorrectly predicts non-car pixels as car, resulting in false positives.
- Causes: Similar textures, reflections, shadows
Severe misalignment or complete failure to detect the car.
- Causes: Extreme weather, heavy occlusion, dataset annotation errors
Error Analysis Color Legend:
- 🟡 Yellow (TP): Correctly predicted car pixels
- 🔴 Red (FP): False positive - incorrectly predicted as car
- 🟢 Green (FN): False negative - missed car pixels