参考:
https://docs.ultralytics.com/models/yolov10/
ultralytics其实大多数系列都能加载使用:
官方:
https://github.com/THU-MIG/yolov10.git
代码参考:
https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov10-object-detection-on-custom-dataset.ipynb#scrollTo=Rx9NWF-sVN6Y
ultralytics加载:
模型可以官网下载:wget -P {HOME}/weights -q https://github.com/jameslahm/yolov10/releases/download/v1.0/yolov10n.pt
图片:wget -P {HOME}/data -q https://media.roboflow.com/notebooks/examples/dog.jpeg
from ultralytics import YOLO
# Load a pretrained YOLOv10n model