Update YOLOv8n to YOLO11n in args (#16873)

Signed-off-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-10-12 18:09:44 +02:00 committed by GitHub
parent 60dbee2839
commit a9d0cf66cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 53 additions and 53 deletions

View file

@ -47,7 +47,7 @@ from ultralytics.utils.torch_utils import get_cpu_info, select_device
def benchmark(
model=WEIGHTS_DIR / "yolov8n.pt",
model=WEIGHTS_DIR / "yolo11n.pt",
data=None,
imgsz=160,
half=False,
@ -76,7 +76,7 @@ def benchmark(
Examples:
Benchmark a YOLO model with default settings:
>>> from ultralytics.utils.benchmarks import benchmark
>>> benchmark(model="yolov8n.pt", imgsz=640)
>>> benchmark(model="yolo11n.pt", imgsz=640)
"""
import pandas as pd # scope for faster 'import ultralytics'