merge_imgs

This commit is contained in:
2025-06-23 11:29:52 +08:00
parent a17373d576
commit 56b161dc49
8 changed files with 182 additions and 48 deletions

4
val.py
View File

@ -1,4 +1,4 @@
from ultralytics import YOLOv10
model = YOLOv10('runs/detect/train/weights/last.pt')
metrics = model.val(batch=8, data='gift.yaml')
model = YOLOv10('runs/detect/train/weights/best_gift_v10n.pt')
metrics = model.val(batch=1, data='gift.yaml', imgsz=224)