From 0e88c9cb80fb0d1050eee77e6f7ebfe8a90f25db Mon Sep 17 00:00:00 2001 From: Christoph Deil Date: Sun, 5 Oct 2025 15:15:42 +0200 Subject: [PATCH] Fix import typo in `python.md` Docs (#22285) Co-authored-by: Glenn Jocher --- docs/en/usage/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/usage/python.md b/docs/en/usage/python.md index a899147f..d51b05a4 100644 --- a/docs/en/usage/python.md +++ b/docs/en/usage/python.md @@ -263,7 +263,7 @@ The `YOLO` model class serves as a high-level wrapper for the Trainer classes. E !!! tip "Detection Trainer Example" ```python - from ultralytics.models.yolo import DetectionPredictor, DetectionTrainer, DetectionValidator + from ultralytics.models.yolo.detect import DetectionPredictor, DetectionTrainer, DetectionValidator # trainer trainer = DetectionTrainer(overrides={})