scorevision: push artifact
Browse files
miner.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
"""
|
| 2 |
-
Score Vision SN44 — Unified miner v3.22 (2026-04-
|
| 3 |
Tri-model: vehicle (YOLO11m INT8 1280) + person (YOLO12s FP16 960 TRT) + petrol (end2end 640).
|
| 4 |
Pose model: YOLOv8n-pose FP16 640 for false-positive filtering + keypoint box refinement.
|
| 5 |
Vehicle weights loaded from secondary HF repo (meaculpitt/ScoreVision-Vehicle).
|
|
@@ -1945,6 +1945,11 @@ class Miner:
|
|
| 1945 |
# Perspective scaling penalty — reduce conf for size-anomalous detections
|
| 1946 |
merged_s = self._perspective_penalty(merged_b, merged_s, oh)
|
| 1947 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1948 |
# Sanity filters
|
| 1949 |
img_area = float(oh * ow)
|
| 1950 |
out = []
|
|
|
|
| 1 |
"""
|
| 2 |
+
Score Vision SN44 — Unified miner v3.22.1 (2026-04-06). Hotfix: post-merge confidence floor for person pipeline. Soft-NMS + blur/perspective penalties could decay box conf below PER_CONF_LOW=0.60, causing FP blowout on crowd scenes (block 7907400: 8 FPs, FP_score=0.20). Fix: re-apply PER_CONF_LOW after all penalties.
|
| 3 |
Tri-model: vehicle (YOLO11m INT8 1280) + person (YOLO12s FP16 960 TRT) + petrol (end2end 640).
|
| 4 |
Pose model: YOLOv8n-pose FP16 640 for false-positive filtering + keypoint box refinement.
|
| 5 |
Vehicle weights loaded from secondary HF repo (meaculpitt/ScoreVision-Vehicle).
|
|
|
|
| 1945 |
# Perspective scaling penalty — reduce conf for size-anomalous detections
|
| 1946 |
merged_s = self._perspective_penalty(merged_b, merged_s, oh)
|
| 1947 |
|
| 1948 |
+
# Post-merge confidence floor — re-apply after soft-NMS decay + penalties
|
| 1949 |
+
keep = merged_s >= PER_CONF_LOW
|
| 1950 |
+
merged_b = merged_b[keep]
|
| 1951 |
+
merged_s = merged_s[keep]
|
| 1952 |
+
|
| 1953 |
# Sanity filters
|
| 1954 |
img_area = float(oh * ow)
|
| 1955 |
out = []
|