Update docs (#71)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Ayush Chaurasia 2022-12-12 09:21:00 +05:30 committed by GitHub
parent e629335f6d
commit d85b44f259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 286 additions and 35 deletions

View file

@ -37,6 +37,7 @@ Ultralytics YOLO comes with pythonic Model and Trainer interface.
```python
import ultralytics
from ultralytics import YOLO
model = YOLO()
model.new("s-seg.yaml") # automatically detects task type
model.load("s-seg.pt") # load checkpoint