scorevision: push artifact
Browse files
miner.py
CHANGED
|
@@ -29,11 +29,11 @@ class TVFrameResult(BaseModel):
|
|
| 29 |
|
| 30 |
# Element: manak0/Detect-fire — objects order: 0=fire, 1=smoke, 2=fire extinguisher.
|
| 31 |
# Model trained with identical class order; ids pass through unmapped.
|
| 32 |
-
# Tuned
|
| 33 |
# (0.6*mAP50 + 0.4*(1-FP_per_image/10)) across a threshold sweep on held-out
|
| 34 |
-
# data
|
| 35 |
-
# positives faster than
|
| 36 |
-
CONF_THRESHOLD = 0.
|
| 37 |
IMGSZ = 1280 # matches element preproc resize_long
|
| 38 |
|
| 39 |
|
|
|
|
| 29 |
|
| 30 |
# Element: manak0/Detect-fire — objects order: 0=fire, 1=smoke, 2=fire extinguisher.
|
| 31 |
# Model trained with identical class order; ids pass through unmapped.
|
| 32 |
+
# Tuned by replicating the element's own scorer
|
| 33 |
# (0.6*mAP50 + 0.4*(1-FP_per_image/10)) across a threshold sweep on held-out
|
| 34 |
+
# data. For the 3-class v2 model 0.10 maximised composite (0.782); below that
|
| 35 |
+
# false positives grow faster than recall, above it mAP drops off sharply.
|
| 36 |
+
CONF_THRESHOLD = 0.10
|
| 37 |
IMGSZ = 1280 # matches element preproc resize_long
|
| 38 |
|
| 39 |
|