Fix evaluation metrics with correct averages, add COCO 2014 median
Browse files
README.md
CHANGED
|
@@ -24,8 +24,8 @@ The model outputs a probability distribution over 360 angle bins (1 degree resol
|
|
| 24 |
|
| 25 |
| Checkpoint | Dataset | MAE | Median Error |
|
| 26 |
|---|---|---|---|
|
| 27 |
-
| `cgd_mambaout_base_coco2017.ckpt` | COCO 2017 | 2.84 deg | 0.
|
| 28 |
-
| `cgd_mambaout_base_coco2014.ckpt` | COCO 2014 | 3.71 deg |
|
| 29 |
|
| 30 |
## Usage
|
| 31 |
|
|
@@ -52,20 +52,18 @@ angle = model.predict_angle(image)
|
|
| 52 |
print(f"Predicted rotation: {angle:.2f} degrees")
|
| 53 |
```
|
| 54 |
|
| 55 |
-
> **Note:** For best accuracy, pass PIL images or numpy arrays directly to `predict_angle()`. Avoid passing JPEG file paths, as lossy recompression can degrade predictions.
|
| 56 |
-
|
| 57 |
## Evaluation Results (COCO 2017, 5 seeds)
|
| 58 |
|
| 59 |
| Metric | Value |
|
| 60 |
|---|---|
|
| 61 |
| MAE | 2.84 deg |
|
| 62 |
-
| Median Error | 0.
|
| 63 |
-
| RMSE | 8.
|
| 64 |
-
| P90 Error | 3.
|
| 65 |
-
| P95 Error | 12.
|
| 66 |
-
| Accuracy at 2 deg | 90.
|
| 67 |
-
| Accuracy at 5 deg | 97.
|
| 68 |
-
| Accuracy at 10 deg |
|
| 69 |
|
| 70 |
## Model Details
|
| 71 |
|
|
|
|
| 24 |
|
| 25 |
| Checkpoint | Dataset | MAE | Median Error |
|
| 26 |
|---|---|---|---|
|
| 27 |
+
| `cgd_mambaout_base_coco2017.ckpt` | COCO 2017 | 2.84 deg | 0.55 deg |
|
| 28 |
+
| `cgd_mambaout_base_coco2014.ckpt` | COCO 2014 | 3.71 deg | 0.68 deg |
|
| 29 |
|
| 30 |
## Usage
|
| 31 |
|
|
|
|
| 52 |
print(f"Predicted rotation: {angle:.2f} degrees")
|
| 53 |
```
|
| 54 |
|
|
|
|
|
|
|
| 55 |
## Evaluation Results (COCO 2017, 5 seeds)
|
| 56 |
|
| 57 |
| Metric | Value |
|
| 58 |
|---|---|
|
| 59 |
| MAE | 2.84 deg |
|
| 60 |
+
| Median Error | 0.55 deg |
|
| 61 |
+
| RMSE | 8.45 deg |
|
| 62 |
+
| P90 Error | 3.54 deg |
|
| 63 |
+
| P95 Error | 12.00 deg |
|
| 64 |
+
| Accuracy at 2 deg | 90.2% |
|
| 65 |
+
| Accuracy at 5 deg | 97.5% |
|
| 66 |
+
| Accuracy at 10 deg | 98.1% |
|
| 67 |
|
| 68 |
## Model Details
|
| 69 |
|