Spaces:
Runtime error
Runtime error
Commit History
-
feat(model): default to standard YOLOv8 backbone for CPU production
Local benchmark on M2 + ONNX Runtime CoreML, single-frame inference: YOLO-World M (worldv2, 180M params, vision + text branch) → 13.7 fps, 73 ms / frame YOLOv8 M (standard, 26M params, vision-only) → 56.6 fps, 18 ms / frame ───────── 4.1× speedup on the same hardware, same imgsz → projection on EPYC 4 cores: ~15-20 fps (was 0.6 fps with YOLO-World M, fundamentally too heavy) YOLO-World shines for zero-shot detection of arbitrary text-prompted classes, but the dual-branch vision-language fusion is a CPU non-starter: even with static-class export the text encoder branch keeps contributing residual compute every frame. Standard YOLOv8 with its fixed 80 COCO classes covers everything traffic monitoring needs (car / truck / bus / motorcycle / bicycle / person), so unless the fleet specifically demands the YOLO-World classes (becak / bemo / bajaj / angkot / ojek as distinct labels), the speed is the better trade.…5b1b3f2