From 201d0bccc03070191d1adff635bfb8ca07f0f336 Mon Sep 17 00:00:00 2001 From: lee <770918727@qq.com> Date: Sat, 21 Jun 2025 13:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=A0=E5=93=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- val.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 val.py diff --git a/val.py b/val.py new file mode 100644 index 0000000..0eea73c --- /dev/null +++ b/val.py @@ -0,0 +1,4 @@ +from ultralytics import YOLOv10 + +model = YOLOv10('runs/detect/train/weights/last.pt') +metrics = model.val(batch=8, data='gift.yaml')