Closed TuanBao0711 closed 1 year ago
I have a custom trained model yolov8 to detect a UAV, name "UAV_v8.pt". How can I use this to tracking UAV in video? Thank you so much ^^
I use: python examples/track.py --tracking-method deepocsort --yolo-model UAV_v8 --show --source video/IR.mp4 =>2023-11-01 16:09:35.931 | ERROR | examples.detectors:get_yolo_inferer:34 - Failed to infer inference mode from yolo model name 2023-11-01 16:09:35.931 | ERROR | examples.detectors:get_yolo_inferer:35 - Your model name has to contain either yolox, yolo_nas or yolov8
Rename the model, from: "UAV_v8.pt" to "yolov8_UAV.pt". Then you can run:
python examples/track.py --tracking-method deepocsort --yolo-model yolov8_UAV.pt --show --source video/IR.mp4
Thanks you so much, it work
Search before asking
Question
I want to use my custom train yolov8 model to tracking some object . How can I use this in scripts?