Fix import typo in python.md Docs (#22285)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Christoph Deil 2025-10-05 15:15:42 +02:00 committed by GitHub
parent bbaba08df5
commit 0e88c9cb80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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={})