scorevision: push artifact
Browse files
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- element_type:detect
|
| 4 |
+
- model:yolov11-nano
|
| 5 |
+
- object:vehicle
|
| 6 |
+
manako:
|
| 7 |
+
description: YOLO11n vehicle detector for CCTV surveillance
|
| 8 |
+
input_payload:
|
| 9 |
+
- name: frame
|
| 10 |
+
type: image
|
| 11 |
+
description: RGB frame
|
| 12 |
+
output_payload:
|
| 13 |
+
- name: detections
|
| 14 |
+
type: detections
|
| 15 |
+
description: List of detections
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Score Vision SN44 — VehicleDetect Miner
|
| 19 |
+
|
| 20 |
+
**Wallet:** LukeTao | **Hotkey:** default | **UID:** 128 | **Netuid:** 44
|
| 21 |
+
|
| 22 |
+
## Model
|
| 23 |
+
|
| 24 |
+
| Property | Value |
|
| 25 |
+
|---|---|
|
| 26 |
+
| Architecture | YOLO11-nano |
|
| 27 |
+
| Input size | 640×640 |
|
| 28 |
+
| Model file | `weights.onnx` |
|
| 29 |
+
| Size | ~11 MB (well under 30 MB limit) |
|
| 30 |
+
| Framework | ONNX Runtime (CUDA EP) |
|
| 31 |
+
| mAP\@50 | **63.05%** (COCO val2017, vehicle classes) |
|
| 32 |
+
|
| 33 |
+
## Classes
|
| 34 |
+
|
| 35 |
+
| Output ID | Class | COCO Index |
|
| 36 |
+
|---|---|---|
|
| 37 |
+
| 0 | car | 2 |
|
| 38 |
+
| 1 | bus | 5 |
|
| 39 |
+
| 2 | truck | 7 |
|
| 40 |
+
| 3 | motorcycle | 3 |
|
| 41 |
+
|
| 42 |
+
## Performance
|
| 43 |
+
|
| 44 |
+
Measured on RTX 4090, COCO val2017 images (640×640 letterbox):
|
| 45 |
+
|
| 46 |
+
| Metric | Value | Target |
|
| 47 |
+
|---|---|---|
|
| 48 |
+
| Mean FPS (CUDA) | ~371 | ≥ 30 |
|
| 49 |
+
| Mean FPS (CPU) | ~34 | ≥ 30 |
|
| 50 |
+
| P95 latency (CUDA) | 2.83 ms | < 50 ms |
|
| 51 |
+
| Inference (GPU) | 2.70 ms | — |
|
| 52 |
+
|
| 53 |
+
## Output Format
|
| 54 |
+
|
| 55 |
+
```json
|
| 56 |
+
[{
|
| 57 |
+
"x": 320.5,
|
| 58 |
+
"y": 240.1,
|
| 59 |
+
"width": 150.0,
|
| 60 |
+
"height": 90.0,
|
| 61 |
+
"confidence": 0.91,
|
| 62 |
+
"class_id": 0,
|
| 63 |
+
"class": "car"
|
| 64 |
+
}]
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Files
|
| 68 |
+
|
| 69 |
+
| File | Purpose |
|
| 70 |
+
|---|---|
|
| 71 |
+
| `weights.onnx` | ONNX model (YOLO11-nano, opset 12) |
|
| 72 |
+
| `main.py` | Inference runner (reads class_names.txt automatically) |
|
| 73 |
+
| `class_names.txt` | One class name per line |
|
| 74 |
+
| `model_type.json` | Model metadata |
|
| 75 |
+
| `pyproject.toml` | Python package dependencies |
|
| 76 |
+
| `README.md` | This file |
|