Files
ieemoo-ai-gift/val.py
2025-06-24 13:19:51 +08:00

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)