from ultralytics import YOLOv10
model = YOLOv10("/home/lyu4/datasets/dh_wp/dh/visdrone-det/yolov10-main/runs/detect/train4/weights/yolov10.pt")
model.predict(source='/home/lyu4/datasets/dh_wp/dh/visdrone-det/visdrone2024/VisDrone2019-DET-test-challenge/images',save=True,show_labels=True)
Similar to the following:
50,79,40,33,0.8213,4,-1,-1 98,41,39,27,0.7921,4,-1,-1
This is the code I predicted:
from ultralytics import YOLOv10 model = YOLOv10("/home/lyu4/datasets/dh_wp/dh/visdrone-det/yolov10-main/runs/detect/train4/weights/yolov10.pt") model.predict(source='/home/lyu4/datasets/dh_wp/dh/visdrone-det/visdrone2024/VisDrone2019-DET-test-challenge/images',save=True,show_labels=True)