scorevision: push artifact
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: agpl-3.0
|
| 3 |
+
tags:
|
| 4 |
+
- object-detection
|
| 5 |
+
- onnx
|
| 6 |
+
- yolo
|
| 7 |
+
- bittensor
|
| 8 |
+
- scorevision
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Room-dirtiness detector (Score / SN44)
|
| 12 |
+
|
| 13 |
+
Detector for the Score element `manako/Detect-room-dirtiness-detection`.
|
| 14 |
+
|
| 15 |
+
| cls_id | class |
|
| 16 |
+
|---|---|
|
| 17 |
+
| 0 | liquid spillage |
|
| 18 |
+
| 1 | bin |
|
| 19 |
+
| 2 | litter |
|
| 20 |
+
| 3 | mould |
|
| 21 |
+
| 4 | stain |
|
| 22 |
+
|
| 23 |
+
## How it runs
|
| 24 |
+
- `model.onnx`: YOLO11n detector, 640x640 input, box-only head.
|
| 25 |
+
- `miner.py`: letterbox resize, onnxruntime on CPU (2 threads), per-class score thresholds,
|
| 26 |
+
per-class NMS. Pure numpy/OpenCV, so the chute and Score's CPU compliance run give the same boxes.
|
| 27 |
+
|
| 28 |
+
## How it was trained
|
| 29 |
+
- **Starting point**: the public room-dirtiness model at `danieldushku/room`
|
| 30 |
+
(Ultralytics YOLO11n-seg). Its backbone was kept frozen; the neck and box head were fine-tuned.
|
| 31 |
+
- **Data**: about 2,000 of our own synthetic CCTV-style indoor scenes made with
|
| 32 |
+
[Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) (Apache-2.0), labelled with
|
| 33 |
+
[SAM3](https://huggingface.co/facebook/sam3) using descriptive prompts for the objects each image was
|
| 34 |
+
asked to contain. About 15% are clean scenes with none of the five objects.
|
| 35 |
+
- **No Score test images were used for training.**
|
| 36 |
+
- **Tuning**: per-class thresholds tuned with Score's own per-image scorer on a held-out split of our data.
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
AGPL-3.0, following Ultralytics YOLO and the public model this one starts from.
|