No description
Find a file
Glenn Jocher f0fff8c13e
Simplify cli.py and fix Detect train Usage (#83)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-22 15:22:16 +01:00
.github Detection support (#60) 2022-12-03 21:01:23 +05:30
docs Update docs (#73) 2022-12-20 09:53:55 +05:30
ultralytics Simplify cli.py and fix Detect train Usage (#83) 2022-12-22 15:22:16 +01:00
.gitignore Cli support (#50) 2022-11-23 11:37:27 +01:00
.pre-commit-config.yaml docs setup (#61) 2022-12-05 06:04:57 +05:30
CITATION.cff Fix CITATION.cff typos (#64) 2022-12-05 12:17:25 -08:00
CONTRIBUTING.md docs setup (#61) 2022-12-05 06:04:57 +05:30
LICENSE Initial commit 2022-09-11 19:39:46 +03:00
MANIFEST.in Trainer + Dataloaders (#27) 2022-10-10 14:01:07 +02:00
mkdocs.yml Update docs (#71) 2022-12-12 09:21:00 +05:30
README.md Cli support (#50) 2022-11-23 11:37:27 +01:00
requirements.txt Trainer + Dataloaders (#27) 2022-10-10 14:01:07 +02:00
setup.cfg Flake8 updates (#66) 2022-12-06 15:09:53 -08:00
setup.py docs setup (#61) 2022-12-05 06:04:57 +05:30

Ultralytics CI

Install

pip install ultralytics

Development

git clone https://github.com/ultralytics/ultralytics
cd ultralytics
pip install -e .

Usage

1. CLI

To simply use the latest Ultralytics YOLO models

yolo task=detect    mode=train  model=s.yaml ...
          classify       infer        s-cls.yaml
          segment        val          s-seg.yaml

2. Python SDK

To use pythonic interface of Ultralytics YOLO model

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.train(data="coco128-segments", epochs=1, lr0=0.01, ...)

If you're looking to modify YOLO for R&D or to build on top of it, refer to Using Trainer Guide on our docs.