You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exported backends have no track(), and there is no libreyolo track CLI #1029
track() only exists on native PyTorch models (BaseModel.track in libreyolo/models/base/model.py). None of the exported-runtime backends implement it (ONNX, TensorRT, OpenVINO, TFLite, CoreML, NCNN, MNN, Paddle, ExecuTorch, TorchScript, and the upcoming Axelera backend), so tracking with an exported model fails. There is also no libreyolo track CLI command. Exported models already support predict, val and streaming, so tracking is the remaining gap versus the de-facto YOLO API.
Reproduce
fromlibreyoloimportLibreYOLOm=LibreYOLO("<model>.onnx") # any exported artifactm.track("video.mp4")
Output
AttributeError: 'OnnxBackend' object has no attribute 'track'. Did you mean: 'task'?
$ libreyolo track --help
Error: No such command 'track'.
Proposal
Add track() to BaseBackend, reusing the existing libreyolo/tracking trackers on top of backend predict/stream (mirroring BaseModel.track), so every exported format gets it at once, plus a libreyolo track CLI verb. Found while adding the Axelera Metis backend (#969); that PR documents track() as native-only until this lands.
Activity