ultralytics 8.2.38 official YOLOv10 support (#13113)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This commit is contained in:
parent
821e5fa477
commit
ffb46fd7fb
23 changed files with 785 additions and 32 deletions
|
|
@ -577,3 +577,12 @@ def test_yolo_world():
|
|||
close_mosaic=1,
|
||||
trainer=WorldTrainerFromScratch,
|
||||
)
|
||||
|
||||
|
||||
def test_yolov10():
|
||||
"""A simple test for yolov10 for now."""
|
||||
model = YOLO("yolov10n.yaml")
|
||||
# train/val/predict
|
||||
model.train(data="coco8.yaml", epochs=1, imgsz=32, close_mosaic=1, cache="disk")
|
||||
model.val(data="coco8.yaml", imgsz=32)
|
||||
model(SOURCE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue