Fix Docs calls to model.benchmark() (#18391)

Signed-off-by: UltralyticsAssistant <web@ultralytics.com>
Signed-off-by: Kishan Pankajbhai Pipariya <39761387+KishanPipariya@users.noreply.github.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Kishan Pankajbhai Pipariya <39761387+KishanPipariya@users.noreply.github.com>
This commit is contained in:
Glenn Jocher 2024-12-25 14:11:42 +01:00 committed by GitHub
parent 93862d3640
commit d35860d4a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -574,7 +574,7 @@ To reproduce the above Ultralytics benchmarks on all export [formats](../modes/e
model = YOLO("yolo11n.pt")
# Benchmark YOLO11n speed and accuracy on the COCO8 dataset for all all export formats
results = model.benchmarks(data="coco8.yaml", imgsz=640)
results = model.benchmark(data="coco8.yaml", imgsz=640)
```
=== "CLI"

View file

@ -201,7 +201,7 @@ To reproduce the above Ultralytics benchmarks on all [export formats](../modes/e
model = YOLO("yolo11n.pt")
# Benchmark YOLO11n speed and accuracy on the COCO8 dataset for all all export formats
results = model.benchmarks(data="coco8.yaml", imgsz=640)
results = model.benchmark(data="coco8.yaml", imgsz=640)
```
=== "CLI"