Upload folder using huggingface_hub
Browse files- miner.py +2 -2
- weights.onnx +1 -1
miner.py
CHANGED
|
@@ -98,7 +98,7 @@ class Miner:
|
|
| 98 |
# nozzle (0.25) -- TINY GT objects (median ~290 px²), permissive
|
| 99 |
# track (0.35) -- large clear object when present, moderate
|
| 100 |
self._conf_thres_array = np.array(
|
| 101 |
-
[0.
|
| 102 |
)
|
| 103 |
# Per-class rescue bonus: when a class has ZERO boxes passing the
|
| 104 |
# threshold in a frame, its top-1 candidate is admitted when its score
|
|
@@ -107,7 +107,7 @@ class Miner:
|
|
| 107 |
# off otherwise valid detections; track gets the smallest because it's
|
| 108 |
# rarely borderline.
|
| 109 |
self._bonus_array = np.array(
|
| 110 |
-
[0.
|
| 111 |
)
|
| 112 |
|
| 113 |
# Box sanity filter — kept loose: car-wash `nozzle` boxes are tiny
|
|
|
|
| 98 |
# nozzle (0.25) -- TINY GT objects (median ~290 px²), permissive
|
| 99 |
# track (0.35) -- large clear object when present, moderate
|
| 100 |
self._conf_thres_array = np.array(
|
| 101 |
+
[0.4, 0.35, 0.45, 0.4], dtype=np.float32
|
| 102 |
)
|
| 103 |
# Per-class rescue bonus: when a class has ZERO boxes passing the
|
| 104 |
# threshold in a frame, its top-1 candidate is admitted when its score
|
|
|
|
| 107 |
# off otherwise valid detections; track gets the smallest because it's
|
| 108 |
# rarely borderline.
|
| 109 |
self._bonus_array = np.array(
|
| 110 |
+
[0.15, 0.15, 0, 0.15], dtype=np.float32
|
| 111 |
)
|
| 112 |
|
| 113 |
# Box sanity filter — kept loose: car-wash `nozzle` boxes are tiny
|
weights.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 19408012
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2df3610803b86a1744f518c79e713b611b3904fb0615a7ef1bd3d2f353101e86
|
| 3 |
size 19408012
|