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