scorevision: push artifact
Browse files
miner.py
CHANGED
|
@@ -439,13 +439,8 @@ class Miner:
|
|
| 439 |
if not all_b:
|
| 440 |
return []
|
| 441 |
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
else:
|
| 445 |
-
# No WBF needed for single pass, just concatenate
|
| 446 |
-
fb = np.concatenate(all_b, axis=0)
|
| 447 |
-
fs = np.concatenate(all_s, axis=0)
|
| 448 |
-
fl = np.concatenate(all_l, axis=0)
|
| 449 |
|
| 450 |
if len(fb) == 0:
|
| 451 |
return []
|
|
@@ -541,11 +536,8 @@ class Miner:
|
|
| 541 |
if not all_b:
|
| 542 |
return []
|
| 543 |
|
| 544 |
-
|
| 545 |
-
|
| 546 |
-
else:
|
| 547 |
-
fb = np.concatenate(all_b, axis=0)
|
| 548 |
-
fs = np.concatenate(all_s, axis=0)
|
| 549 |
|
| 550 |
if len(fb) == 0:
|
| 551 |
return []
|
|
@@ -662,4 +654,4 @@ class Miner:
|
|
| 662 |
|
| 663 |
return results
|
| 664 |
# GPU runtime installer v1 — 20260328_184247
|
| 665 |
-
# redeploy
|
|
|
|
| 439 |
if not all_b:
|
| 440 |
return []
|
| 441 |
|
| 442 |
+
# Always apply WBF — deduplicates overlapping anchors from raw ONNX output
|
| 443 |
+
fb, fs, fl = _wbf_multi(all_b, all_s, all_l, iou_thr=VEH_WBF_IOU, skip_thr=WBF_SKIP_THR)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 444 |
|
| 445 |
if len(fb) == 0:
|
| 446 |
return []
|
|
|
|
| 536 |
if not all_b:
|
| 537 |
return []
|
| 538 |
|
| 539 |
+
# Always apply WBF — deduplicates overlapping anchors from raw ONNX output
|
| 540 |
+
fb, fs = _wbf_single(all_b, all_s, iou_thr=PER_WBF_IOU, skip_thr=WBF_SKIP_THR)
|
|
|
|
|
|
|
|
|
|
| 541 |
|
| 542 |
if len(fb) == 0:
|
| 543 |
return []
|
|
|
|
| 654 |
|
| 655 |
return results
|
| 656 |
# GPU runtime installer v1 — 20260328_184247
|
| 657 |
+
# redeploy 20260330_012200_wbf_fix
|