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