mirror of
https://gitee.com/nanjing-yimao-information/ieemoo-ai-gift.git
synced 2025-08-18 13:20:25 +00:00
5 lines
133 B
Python
5 lines
133 B
Python
from ultralytics import YOLOv10
|
|
|
|
model = YOLOv10('runs/detect/train/weights/last.pt')
|
|
metrics = model.val(batch=8, data='gift.yaml')
|