scorevision: push artifact
Browse files
miner.py
CHANGED
|
@@ -3,16 +3,15 @@
|
|
| 3 |
Base weights: plate_v3 (YOLO26s fine-tuned on Roboflow-filtered + 10x live pseudo-GT,
|
| 4 |
resumed from plate_v2). fp16 end2end ONNX, static 1x3x1280x1280, ~19.4 MB.
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
when median is 2-3s; cutting 1 forward pass pulls median to ~1.5s.
|
| 16 |
Compared to:
|
| 17 |
plate_v2 best: gated=0.424
|
| 18 |
hermestech best: gated=0.422
|
|
@@ -124,11 +123,12 @@ class Miner:
|
|
| 124 |
# missed borderline plates on shards where competitors scored 0.318.
|
| 125 |
# Trade: slightly higher fp/img on easy shards (capped by max_det), but
|
| 126 |
# recovers recall on hard shards where it matters most.
|
| 127 |
-
|
| 128 |
-
self.
|
| 129 |
-
self.
|
| 130 |
-
self.
|
| 131 |
-
self.
|
|
|
|
| 132 |
|
| 133 |
print(f"ONNX model loaded from: {model_path}")
|
| 134 |
print(f"ONNX providers: {self.session.get_providers()}")
|
|
|
|
| 3 |
Base weights: plate_v3 (YOLO26s fine-tuned on Roboflow-filtered + 10x live pseudo-GT,
|
| 4 |
resumed from plate_v2). fp16 end2end ONNX, static 1x3x1280x1280, ~19.4 MB.
|
| 5 |
|
| 6 |
+
Weights: plate_v4 (resumed from plate_v3 + heavier CCTV aug + live×15 + 10× epochs).
|
| 7 |
+
Bench on 221-shard pool: gated 0.436, mAP 0.980 (highest of all tested models).
|
| 8 |
+
Beats plate_v3 (0.431), smile0123/m4 (0.406), 5GRAm (0.401), hermestech (0.418).
|
| 9 |
+
|
| 10 |
+
Inference pipeline (bench-winner preset):
|
| 11 |
+
- Single full-image pass + hflip TTA + soft-NMS + hard-NMS
|
| 12 |
+
- softnms(conf=0.30, iou=0.45, sigma=0.5, max_det=16)
|
| 13 |
+
- Bench: gated 0.436, fp/img 0.51, ms_p95 ~160 locally (A4000)
|
| 14 |
+
- On pro_6000 + TEE: expect ~2-3s p95 including network/attest overhead
|
|
|
|
| 15 |
Compared to:
|
| 16 |
plate_v2 best: gated=0.424
|
| 17 |
hermestech best: gated=0.422
|
|
|
|
| 123 |
# missed borderline plates on shards where competitors scored 0.318.
|
| 124 |
# Trade: slightly higher fp/img on easy shards (capped by max_det), but
|
| 125 |
# recovers recall on hard shards where it matters most.
|
| 126 |
+
# plate_v4 bench winner: softnms(c30,md16) at gated=0.436, mAP=0.980
|
| 127 |
+
self.conf_thres = 0.30
|
| 128 |
+
self.iou_thres = 0.45
|
| 129 |
+
self.sigma = 0.5
|
| 130 |
+
self.max_det = 16
|
| 131 |
+
self.use_tta = True # hflip TTA — bench-verified for mAP gain
|
| 132 |
|
| 133 |
print(f"ONNX model loaded from: {model_path}")
|
| 134 |
print(f"ONNX providers: {self.session.get_providers()}")
|