[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
|
|
@ -34,11 +34,10 @@ To use pythonic interface of Ultralytics YOLO model
|
|||
```python
|
||||
from ultralytics import YOLO
|
||||
|
||||
model = YOLO.new("yolov8n.yaml") # create a new model from scratch
|
||||
model = YOLO.load(
|
||||
model = YOLO("yolov8n.yaml") # create a new model from scratch
|
||||
model = YOLO(
|
||||
"yolov8n.pt"
|
||||
) # load a pretrained model (recommended for best training results)
|
||||
|
||||
results = model.train(data="coco128.yaml", epochs=100, imgsz=640, ...)
|
||||
results = model.val()
|
||||
results = model.predict(source="bus.jpg")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue