Fix gitignore to format Docs datasets (#16071)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
6f5c3c8cea
commit
ce24c7273e
41 changed files with 767 additions and 744 deletions
|
|
@ -197,7 +197,7 @@ Training a model using Ultralytics YOLO can be done easily in both Python and CL
|
|||
!!! Example
|
||||
|
||||
=== "Python"
|
||||
|
||||
|
||||
```python
|
||||
from ultralytics import YOLO
|
||||
|
||||
|
|
@ -207,10 +207,10 @@ Training a model using Ultralytics YOLO can be done easily in both Python and CL
|
|||
# Train the model
|
||||
results = model.train(data="path/to/dataset", epochs=100, imgsz=640)
|
||||
```
|
||||
|
||||
|
||||
|
||||
=== "CLI"
|
||||
|
||||
|
||||
```bash
|
||||
# Start training from a pretrained *.pt model
|
||||
yolo detect train data=path/to/data model=yolov8n-cls.pt epochs=100 imgsz=640
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue