[Docs]: Link buttons, add autobackend, BaseModel and ops (#130)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
af6e3c536b
commit
8996c5c6cf
10 changed files with 562 additions and 96 deletions
|
|
@ -33,7 +33,7 @@ CLI requires no customization or code. You can simply run all tasks from the ter
|
|||
```bash
|
||||
yolo task=detect mode=train model=s.yaml device=\'0,1,2,3\'
|
||||
```
|
||||
[CLI Guide](#){ .md-button .md-button--primary}
|
||||
[CLI Guide](cli.md){ .md-button .md-button--primary}
|
||||
|
||||
## Python API
|
||||
Ultralytics YOLO comes with pythonic Model and Trainer interface.
|
||||
|
|
@ -42,10 +42,9 @@ Ultralytics YOLO comes with pythonic Model and Trainer interface.
|
|||
import ultralytics
|
||||
from ultralytics import YOLO
|
||||
|
||||
model = YOLO()
|
||||
model.new("s-seg.yaml") # automatically detects task type
|
||||
model.load("s-seg.pt") # load checkpoint
|
||||
model = YOLO("s-seg.yaml") # automatically detects task type
|
||||
model = YOLO("s-seg.pt") # load checkpoint
|
||||
model.train(data="coco128-segments", epochs=1, lr0=0.01, ...)
|
||||
model.train(data="coco128-segments", epochs=1, lr0=0.01, device="0,1,2,3") # DDP mode
|
||||
```
|
||||
[API Guide](#){ .md-button .md-button--primary}
|
||||
[API Guide](sdk.md){ .md-button .md-button--primary}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue