Files
cheatsheet-tldr/tldr/yolo
2025-12-20 00:20:53 +00:00

18 lines
521 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# yolo
> Train, validate, or infer models on various tasks and versions.
> More information: <https://docs.ultralytics.com/usage/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}}`