scorevision: push artifact
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ tags:
|
|
| 8 |
- scorevision
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# Room-dirtiness detector (Score / SN44)
|
| 12 |
|
| 13 |
Detector for the Score element `manako/Detect-room-dirtiness-detection`.
|
| 14 |
|
|
@@ -21,19 +21,32 @@ Detector for the Score element `manako/Detect-room-dirtiness-detection`.
|
|
| 21 |
| 4 | stain |
|
| 22 |
|
| 23 |
## How it runs
|
| 24 |
-
- `model.onnx`
|
| 25 |
-
- `miner.py`
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
## How it was
|
| 29 |
-
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## License
|
| 39 |
-
AGPL-3.0
|
|
|
|
| 8 |
- scorevision
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Room-dirtiness detector v2 (Score / SN44)
|
| 12 |
|
| 13 |
Detector for the Score element `manako/Detect-room-dirtiness-detection`.
|
| 14 |
|
|
|
|
| 21 |
| 4 | stain |
|
| 22 |
|
| 23 |
## How it runs
|
| 24 |
+
- `model.onnx` is a YOLO11n detector with a 640x640 input and a box-only head.
|
| 25 |
+
- `miner.py` does a letterbox resize and runs onnxruntime on CPU with 2 threads. It applies a 0.25 score threshold and per-class NMS.
|
| 26 |
+
- Everything is plain numpy/OpenCV, so the chute and Score's CPU compliance run give the same boxes.
|
| 27 |
+
|
| 28 |
+
## How it was made
|
| 29 |
+
This model is a weight-space ensemble (WiSE-FT) of two public models that share the same starting point:
|
| 30 |
+
|
| 31 |
+
| weight | model | license |
|
| 32 |
+
|---|---|---|
|
| 33 |
+
| 0.25 | [manako/Detect-room-dirtiness-detection](https://huggingface.co/manako/Detect-room-dirtiness-detection), the Manako baseline (YOLO11n-seg) | AGPL-3.0 |
|
| 34 |
+
| 0.75 | [Targaryen101/dirtiness_01](https://huggingface.co/Targaryen101/dirtiness_01), a full fine-tune of that baseline | AGPL-3.0 |
|
| 35 |
+
|
| 36 |
+
- **Rebuilding the weights.** Both ONNX files were rebuilt as PyTorch checkpoints that reproduce them exactly, to within 0.0004 px.
|
| 37 |
+
- **Blending.** Every Conv+BN pair was blended in its fused (folded) form, as θ = θ_baseline + 0.75 · (θ_finetune − θ_baseline). The result was then exported at 640 px.
|
| 38 |
+
- **Results.** On 20 publicly released test images, scored against an answer key rebuilt from Score's published per-miner verdicts:
|
| 39 |
+
|
| 40 |
+
| model | score |
|
| 41 |
+
|---|---|
|
| 42 |
+
| baseline | 0.397 |
|
| 43 |
+
| the fine-tune, run at 640 | 0.459 |
|
| 44 |
+
| this blend | 0.481 |
|
| 45 |
+
|
| 46 |
+
Any ratio between 0.6 and 0.9 gives 0.477–0.484. Ratios above 1 are worse.
|
| 47 |
+
- **No Score test images were used for training.** The public test images were used only to pick the ratio and to check the result.
|
| 48 |
+
|
| 49 |
+
Thanks to Manako for the baseline and to Targaryen101 for publishing their fine-tune.
|
| 50 |
|
| 51 |
## License
|
| 52 |
+
AGPL-3.0. Both source ONNX files carry Ultralytics' AGPL-3.0 notice in their metadata, and this derived model keeps it.
|