dataset card: add phase-2 fine-tune results and benchmark contents
Browse files
README.md
CHANGED
|
@@ -32,7 +32,13 @@ surface, fully redistributable.
|
|
| 32 |
- `render_tables.py` — the generator (deterministic; regenerate with `--seed`).
|
| 33 |
- `eval_mirage.py`, `eval_yolo.py` — the two scorers used in the eval below.
|
| 34 |
- `eval/results_mirage_1x.json`, `eval/results_mirage_2x.json`, `results_yolo.json`
|
| 35 |
-
— raw per-image outputs of the eval.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
## Eval results (CPU, 2 vCPU)
|
| 38 |
|
|
@@ -57,6 +63,21 @@ Findings:
|
|
| 57 |
(or your captured-game frames later). The two failures are complementary and
|
| 58 |
separable.
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
## Reproduce
|
| 61 |
|
| 62 |
```bash
|
|
|
|
| 32 |
- `render_tables.py` — the generator (deterministic; regenerate with `--seed`).
|
| 33 |
- `eval_mirage.py`, `eval_yolo.py` — the two scorers used in the eval below.
|
| 34 |
- `eval/results_mirage_1x.json`, `eval/results_mirage_2x.json`, `results_yolo.json`
|
| 35 |
+
— raw per-image outputs of the phase-1 eval. `eval/results_stock_test.json`,
|
| 36 |
+
`eval/results_ft_test.json` — before/after eval of the phase-2 fine-tune on
|
| 37 |
+
this same seed-17 test set.
|
| 38 |
+
- `benchmark/` — the phase-2 training benchmark: 800 train (seed 101) + 80 val
|
| 39 |
+
(seed 202) varied-style images in YOLO format (`images/`, `labels/`, `data.yaml`)
|
| 40 |
+
with full ground-truth JSONs under `gt/`. The seed-17 set is never in training.
|
| 41 |
+
- `train_yolo.py` — the fine-tune script the GPU job ran.
|
| 42 |
|
| 43 |
## Eval results (CPU, 2 vCPU)
|
| 44 |
|
|
|
|
| 63 |
(or your captured-game frames later). The two failures are complementary and
|
| 64 |
separable.
|
| 65 |
|
| 66 |
+
## Fine-tune results (phase 2)
|
| 67 |
+
|
| 68 |
+
YOLO11n fine-tuned 80 epochs (batch 16, imgsz 1280) on `benchmark/` →
|
| 69 |
+
[`ThreeSixNine/yolo11n-poker-table-cards`](https://huggingface.co/ThreeSixNine/yolo11n-poker-table-cards).
|
| 70 |
+
Scored on the untouched seed-17 test set (741 cards):
|
| 71 |
+
|
| 72 |
+
| Model | Detection (IoU≥0.4) | Class accuracy | s/img |
|
| 73 |
+
|---|---|---|---|
|
| 74 |
+
| Stock | 0.193 | 0.119 | 0.36 |
|
| 75 |
+
| **Fine-tuned** | **0.999** | **0.586** | 0.33 |
|
| 76 |
+
|
| 77 |
+
5× class accuracy, essentially perfect localization, no inference cost. Class
|
| 78 |
+
accuracy below 1.0 is 52-way rank/suit confusion on unseen domain detail;
|
| 79 |
+
per-image worst 6/17, best 12/12. Run cost ≈ $0.53 on a10g-small (31.6 min).
|
| 80 |
+
|
| 81 |
## Reproduce
|
| 82 |
|
| 83 |
```bash
|