diff --git a/docs/en/guides/nvidia-jetson.md b/docs/en/guides/nvidia-jetson.md index 1af1ec71..1a42b786 100644 --- a/docs/en/guides/nvidia-jetson.md +++ b/docs/en/guides/nvidia-jetson.md @@ -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" diff --git a/docs/en/guides/raspberry-pi.md b/docs/en/guides/raspberry-pi.md index 5e173db2..4268287f 100644 --- a/docs/en/guides/raspberry-pi.md +++ b/docs/en/guides/raspberry-pi.md @@ -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" diff --git a/docs/en/integrations/openvino.md b/docs/en/integrations/openvino.md index 9bd45cb5..fe1c5a89 100644 --- a/docs/en/integrations/openvino.md +++ b/docs/en/integrations/openvino.md @@ -352,7 +352,7 @@ To reproduce the Ultralytics benchmarks above on all export [formats](../modes/e model = YOLO("yolov8n.pt") # Benchmark YOLOv8n speed and accuracy on the COCO8 dataset for all export formats - results = model.benchmarks(data="coco8.yaml") + results = model.benchmark(data="coco8.yaml") ``` === "CLI" @@ -466,7 +466,7 @@ Yes, you can benchmark YOLOv8 models in various formats including PyTorch, Torch model = YOLO("yolov8n.pt") # Benchmark YOLOv8n speed and [accuracy](https://www.ultralytics.com/glossary/accuracy) on the COCO8 dataset for all export formats - results = model.benchmarks(data="coco8.yaml") + results = model.benchmark(data="coco8.yaml") ``` === "CLI" diff --git a/ultralytics/solutions/streamlit_inference.py b/ultralytics/solutions/streamlit_inference.py index 926bfbc7..bc452f53 100644 --- a/ultralytics/solutions/streamlit_inference.py +++ b/ultralytics/solutions/streamlit_inference.py @@ -150,7 +150,7 @@ class Inference: while cap.isOpened(): success, frame = cap.read() if not success: - st.warning("Failed to read frame from webcam. Please make sure the webcam is connected properly.") + self.st.warning("Failed to read frame from webcam. Please verify the webcam is connected properly.") break prev_time = time.time() # Store initial time for FPS calculation