赠品测试

This commit is contained in:
lee
2025-06-21 13:37:50 +08:00
parent aa7ea8ecf8
commit 201d0bccc0

4
val.py Normal file
View File

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