scorevision: push artifact
Browse files
miner.py
CHANGED
|
@@ -47,7 +47,7 @@ class Miner:
|
|
| 47 |
# false_positive pillar = max(0, 1 - ffpi/10): we can tolerate ~2 FP per
|
| 48 |
# image and still keep that pillar above 0.8.
|
| 49 |
_conf_thres_array = np.array(
|
| 50 |
-
[0.
|
| 51 |
)
|
| 52 |
# Per-class rescue bonus. If a class has ZERO boxes passing the threshold
|
| 53 |
# in a frame, its top-1 candidate is admitted when its score is at least
|
|
@@ -55,7 +55,7 @@ class Miner:
|
|
| 55 |
# an otherwise empty frame still produces a detection (map50 recall win,
|
| 56 |
# at most one extra FP per such frame).
|
| 57 |
_bonus_array = np.array(
|
| 58 |
-
[0.
|
| 59 |
)
|
| 60 |
|
| 61 |
# Box sanity filter: drop tiny / degenerate / image-spanning / extreme
|
|
|
|
| 47 |
# false_positive pillar = max(0, 1 - ffpi/10): we can tolerate ~2 FP per
|
| 48 |
# image and still keep that pillar above 0.8.
|
| 49 |
_conf_thres_array = np.array(
|
| 50 |
+
[0.25], dtype=np.float32
|
| 51 |
)
|
| 52 |
# Per-class rescue bonus. If a class has ZERO boxes passing the threshold
|
| 53 |
# in a frame, its top-1 candidate is admitted when its score is at least
|
|
|
|
| 55 |
# an otherwise empty frame still produces a detection (map50 recall win,
|
| 56 |
# at most one extra FP per such frame).
|
| 57 |
_bonus_array = np.array(
|
| 58 |
+
[0.15], dtype=np.float32
|
| 59 |
)
|
| 60 |
|
| 61 |
# Box sanity filter: drop tiny / degenerate / image-spanning / extreme
|