Files
ieemoo-ai-gift/val.py
2025-06-23 11:29:52 +08:00

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)