2025-03-14 21:59:59 -06:00
|
|
|
# yolo
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
> Train, validate or infer models on various tasks and versions.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://docs.ultralytics.com/cli/>.
|
|
|
|
|
|
|
|
|
|
- Create a copy of the default configuration in your current working directory:
|
|
|
|
|
|
|
|
|
|
`yolo task=init`
|
|
|
|
|
|
|
|
|
|
- Train the object detection, instance segment, or classification model with the specified configuration file:
|
|
|
|
|
|
|
|
|
|
`yolo task={{detect|segment|classify}} mode=train cfg={{path/to/config.yaml}}`
|