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
|
|
@ -112,17 +112,17 @@ To train a Convolutional Neural Network (CNN) model on the ImageWoof dataset usi
|
|||
!!! Example "Train Example"
|
||||
|
||||
=== "Python"
|
||||
|
||||
|
||||
```python
|
||||
from ultralytics import YOLO
|
||||
|
||||
model = YOLO("yolov8n-cls.pt") # Load a pretrained model
|
||||
results = model.train(data="imagewoof", epochs=100, imgsz=224)
|
||||
```
|
||||
|
||||
|
||||
|
||||
=== "CLI"
|
||||
|
||||
|
||||
```bash
|
||||
yolo classify train data=imagewoof model=yolov8n-cls.pt epochs=100 imgsz=224
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue