Fix import typo in python.md Docs (#22285)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
bbaba08df5
commit
0e88c9cb80
@ -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={})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user