Skip to content

Software

Ultralytics YOLO

From github.com/ultralytics/ultralytics (opens in a new tab)

  • Perception
  • Library
  • AGPL-3.0-only

Ultralytics YOLO is a family of computer vision models and a Python package for detection, segmentation, pose, classification, depth and tracking tasks. It offers CLI and Python interfaces.

Facts

GitHub stars
63,836read on 29 Nov 2026
Last update
29 Nov 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner
Hardware it needs, as the project states it
device=0), with benchmark speeds measured on an Amazon EC2 P4d instance, a Tesla T4 and an RTX3090.

Checked on GitHub on 29 Nov 2026.

Licenses

Code
AGPL-3.0-only (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (AGPL-3.0-only) at commit 1ccf4ff (opens in a new tab), on 29 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published, also when it runs as a service.

At a glance

What it is
  • Performs object detection, instance and semantic segmentation, pose estimation, classification, depth estimation and oriented object detection.
  • Can track detected objects across video frames.
  • Provides a command-line interface (yolo command) and a Python API for predicting, training, validating and exporting models.
  • Pretrained YOLO26 models download automatically on first use; models can be exported to formats such as ONNX.
  • Reports benchmarks on COCO, Cityscapes, ImageNet and NYU Depth V2, with CPU ONNX and GPU TensorRT speeds.
  • A YOLO27 family is previewed but not yet available.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
AGPL-3.0-only. Commercial use: Yes. Where it was read
Install
pip install -U ultralyticsWhere it comes from
Maintenance
Active, last commit on 29 Nov 2026.

Use it

Copied word for word from the creator's own documentation; each block links to the lines it comes from.

Install Ultralytics (pip)

        pip install -U ultralytics

From docs/en/quickstart.md at 58876de, line 18 (opens in a new tab)

Install Ultralytics (conda)

        conda create --name ultralytics-env -c conda-forge python=3.11 ultralytics torchvision -y
        conda activate ultralytics-env

From docs/en/quickstart.md at 58876de, lines 32–33 (opens in a new tab)

Install Ultralytics (Docker)

        # Pull the latest ultralytics image and run it with GPU support
        sudo docker pull ultralytics/ultralytics:latest
        sudo docker run -it --ipc=host --device nvidia.com/gpu=all ultralytics/ultralytics:latest

From docs/en/quickstart.md at 58876de, lines 50–52 (opens in a new tab)

Install Ultralytics (from source)

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

From docs/en/quickstart.md at 58876de, lines 62–64 (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 1ccf4ff

Robotheca read the repository at three versions: the summary at 501a597, the facts and the README at 1ccf4ff (read on 29 Nov 2026) and the install commands at 58876de (read on 6 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @ultralytics, at commit 1ccf4ff, under AGPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Ultralytics (opens in a new tab) creates cutting-edge, state-of-the-art (SOTA) YOLO models (opens in a new tab) built on years of foundational research in computer vision and AI. Constantly updated for performance and flexibility, our models are fast, accurate, and easy to use. They excel at object detection (opens in a new tab), instance segmentation (opens in a new tab), semantic segmentation (opens in a new tab), depth estimation (opens in a new tab), image classification (opens in a new tab), pose estimation (opens in a new tab), and oriented object detection (opens in a new tab) tasks, and can track (opens in a new tab) detected objects across video frames.

Find detailed documentation in the Ultralytics Docs (opens in a new tab). Get support via GitHub Issues (opens in a new tab). Join discussions on Discord (opens in a new tab), Reddit (opens in a new tab), and the Ultralytics Community Forums (opens in a new tab)!

Request an Enterprise License for commercial use at Ultralytics Licensing (opens in a new tab).

YOLO26 performance plots (opens in a new tab)

📄 Documentation

See below for quickstart installation and usage examples. For comprehensive guidance on training, validation, prediction, and deployment, refer to our full Ultralytics Docs (opens in a new tab).

Install the ultralytics package, including all requirements (opens in a new tab), in a Python>=3.8 (opens in a new tab) environment with PyTorch>=1.8 (opens in a new tab).

(opens in a new tab) Image: Ultralytics Downloads (opens in a new tab) (opens in a new tab) (opens in a new tab)

pip install ultralytics

For alternative installation methods, including Conda (opens in a new tab), Docker (opens in a new tab), and building from source via Git, please consult the Quickstart Guide (opens in a new tab).

(opens in a new tab) (opens in a new tab) (opens in a new tab)

CLI

You can use Ultralytics YOLO directly from the Command Line Interface (CLI) with the yolo command:

# Predict using a pretrained YOLO model (e.g., YOLO26n) on an image
yolo predict model=yolo26n.pt source='https://ultralytics.com/images/bus.jpg'

The yolo command supports various tasks and modes, accepting additional arguments like imgsz=640. Explore the YOLO CLI Docs (opens in a new tab) for more examples.

Python

Ultralytics YOLO can also be integrated directly into your Python projects. It accepts the same configuration arguments (opens in a new tab) as the CLI:

from ultralytics import YOLO

# Load a pretrained YOLO26n model
model = YOLO("yolo26n.pt")

# Train the model on the COCO8 dataset for 100 epochs
train_results = model.train(
    data="coco8.yaml",  # Path to dataset configuration file
    epochs=100,  # Number of training epochs
    imgsz=640,  # Image size for training
    device="cpu",  # Device to run on (e.g., 'cpu', 0, [0,1,2,3])
)

# Evaluate the model's performance on the validation set
metrics = model.val()

# Perform object detection on an image
results = model("path/to/image.jpg")  # Predict on an image
results[0].show()  # Display results

# Export the model to ONNX format for deployment
path = model.export(format="onnx")  # Returns the path to the exported model

Discover more examples in the YOLO Python Docs (opens in a new tab).

✨ Models

YOLO27 — Coming Soon (opens in a new tab): Preview the upcoming family, currently undergoing final R&D. Models are not yet available, and no launch date is set.

Ultralytics supports a wide range of YOLO models, from early versions like YOLOv3 (opens in a new tab) to the latest YOLO26 (opens in a new tab). The tables below showcase YOLO26 models for every supported task: Detection (opens in a new tab) and Segmentation (opens in a new tab) models are pretrained on COCO (opens in a new tab), Semantic Segmentation (opens in a new tab) models on Cityscapes (opens in a new tab), Depth Estimation (opens in a new tab) models on a broad multi-dataset mix (evaluated on NYU Depth V2 (opens in a new tab)), Classification (opens in a new tab) models on ImageNet (opens in a new tab), Pose Estimation (opens in a new tab) models on COCO-Pose (opens in a new tab), and OBB (opens in a new tab) models on DOTAv1 (opens in a new tab). Tracking (opens in a new tab) mode is compatible with Detection, Segmentation, Pose, and OBB models. The listed pretrained models (opens in a new tab) download automatically from the latest Ultralytics release (opens in a new tab) on first use.

Image: Ultralytics YOLO supported tasks (opens in a new tab) (opens in a new tab)

Explore the Detection Docs (opens in a new tab) for usage examples. These models are trained on the COCO dataset (opens in a new tab), featuring 80 object classes.

| Model | size (pixels) | mAPval50-95 | mAPval50-95 (e2e) | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) | | ---------------------------------------------------------------------- | --------------------------- | --------------------------------- | ------------------------------------------ | ------------------------------------ | ----------------------------------------- | ------------------------ | ----------------------- | | YOLO26n (opens in a new tab) | 640 | 40.9 | 40.1 | 38.9 ± 0.7 | 1.7 ± 0.0 | 2.4 | 5.5 | | YOLO26s (opens in a new tab) | 640 | 48.6 | 47.8 | 87.2 ± 0.9 | 2.5 ± 0.0 | 9.5 | 20.9 | | YOLO26m (opens in a new tab) | 640 | 53.1 | 52.5 | 220.0 ± 1.4 | 4.7 ± 0.1 | 20.4 | 68.4 | | YOLO26l (opens in a new tab) | 640 | 55.0 | 54.4 | 286.2 ± 2.0 | 6.2 ± 0.2 | 24.8 | 86.8 | | YOLO26x (opens in a new tab) | 640 | 57.5 | 56.9 | 525.8 ± 4.0 | 11.8 ± 0.2 | 55.7 | 194.4 |

Refer to the Segmentation Docs (opens in a new tab) for usage examples. These models are trained on COCO-Seg (opens in a new tab), including 80 classes.

| Model | size (pixels) | mAPbox50-95 (e2e) | mAPmask50-95 (e2e) | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) | | ------------------------------------------------------------------------------ | --------------------------- | ------------------------------------------ | ------------------------------------------- | ------------------------------------ | ----------------------------------------- | ------------------------ | ----------------------- | | YOLO26n-seg (opens in a new tab) | 640 | 39.6 | 33.9 | 53.3 ± 0.5 | 2.1 ± 0.0 | 2.7 | 9.3 | | YOLO26s-seg (opens in a new tab) | 640 | 47.3 | 40.0 | 118.4 ± 0.9 | 3.3 ± 0.0 | 10.4 | 34.5 | | YOLO26m-seg (opens in a new tab) | 640 | 52.5 | 44.1 | 328.2 ± 2.4 | 6.7 ± 0.1 | 23.6 | 121.7 | | YOLO26l-seg (opens in a new tab) | 640 | 54.4 | 45.5 | 387.0 ± 3.7 | 8.0 ± 0.1 | 28.0 | 140.1 | | YOLO26x-seg (opens in a new tab) | 640 | 56.5 | 47.0 | 787.0 ± 6.8 | 16.4 ± 0.1 | 62.8 | 314.0 |

See the Semantic Segmentation Docs (opens in a new tab) for usage examples. These models are trained on Cityscapes (opens in a new tab), including 19 classes.

| Model | size (pixels) | mIoUval | Speed RTX3090 PyTorch (ms) | params (M) | FLOPs (B) | | ------------------------------------------------------------------------------ | --------------------------- | ------------------ | ------------------------------------------- | ------------------------ | ----------------------- | | YOLO26n-sem (opens in a new tab) | 1024 × 2048 | 78.3 | 4.4 ± 0.0 | 1.6 | 23.8 | | YOLO26s-sem (opens in a new tab) | 1024 × 2048 | 80.8 | 8.4 ± 0.0 | 6.5 | 91.0 | | YOLO26m-sem (opens in a new tab) | 1024 × 2048 | 82.0 | 19.9 ± 0.1 | 14.3 | 305.5 | | YOLO26l-sem (opens in a new tab) | 1024 × 2048 | 82.9 | 26.5 ± 0.1 | 17.8 | 388.2 | | YOLO26x-sem (opens in a new tab) | 1024 × 2048 | 83.6 | 48.9 ± 0.2 | 40.1 | 866.9 |

  • mIoUval values are for single-model single-scale on the Cityscapes (opens in a new tab) validation set. Reproduce with yolo semantic val data=cityscapes.yaml device=0 imgsz=2048
  • Speed metrics are averaged over Cityscapes validation images using an RTX3090 instance. Reproduce with yolo semantic val data=cityscapes.yaml batch=1 device=0|cpu imgsz=2048

See the Depth Estimation Docs (opens in a new tab) for usage examples. These models are pretrained on a broad multi-dataset mix and evaluated on the NYU Depth V2 (opens in a new tab) Eigen test split, predicting per-pixel depth in meters.

| Model | size (pixels) | δNYU1 | abs_relNYU | rmseNYU | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) | | ---------------------------------------------------------------------------------- | --------------------------- | --------------------------- | --------------------- | ------------------ | ------------------------------------ | ----------------------------------------- | ------------------------ | ----------------------- | | YOLO26n-depth (opens in a new tab) | 768 | 0.882 | 0.109 | 0.414 | 272.0 ± 27.2 | 2.7 ± 0.1 | 6.3 | 46.9 | | YOLO26s-depth (opens in a new tab) | 768 | 0.896 | 0.104 | 0.399 | 393.7 ± 13.1 | 3.8 ± 0.0 | 13.2 | 68.0 | | YOLO26m-depth (opens in a new tab) | 768 | 0.921 | 0.089 | 0.364 | 621.5 ± 49.7 | 6.0 ± 0.1 | 23.3 | 130.4 | | YOLO26l-depth (opens in a new tab) | 768 | 0.930 | 0.083 | 0.351 | 821.9 ± 50.7 | 7.7 ± 0.1 | 27.7 | 157.0 | | YOLO26x-depth (opens in a new tab) | 768 | 0.933 | 0.080 | 0.344 | 1240.9 ± 73.3 | 13.6 ± 0.2 | 57.0 | 301.7 |

  • δNYU1 is the fraction of pixels where the predicted depth is within a factor of 1.25 of the ground truth, on the NYU Depth V2 Eigen test split (654 images) with multi-scale + horizontal-flip TTA and log-least-squares alignment.
  • Single-scale accuracy without TTA is reproducible with yolo depth val model=yolo26n-depth.pt data=nyu-depth.yaml imgsz=768 device=0 (substitute model= for each size), which uses median (scale-only) alignment and scores lower: δ1 0.783 (n), 0.793 (s), 0.840 (m), 0.853 (l), 0.860 (x).
  • abs_rel is the mean absolute relative error between predicted and ground-truth depth values.
  • rmse is the root mean squared error in meters.
  • Speed is inference-only latency (pre/post-processing excluded) at imgsz=768, batch=1, reported as mean ± std over timed runs after warmup. CPU ONNX is ONNX Runtime fp32 on a 32-core Intel Xeon (Skylake); T4 TensorRT10 is TensorRT fp16 on a Tesla T4.
  • params and FLOPs are measured at 768×768, the training resolution of the released weights.

Consult the Classification Docs (opens in a new tab) for usage examples. These models are trained on ImageNet (opens in a new tab), covering 1000 classes.

| Model | size (pixels) | acc top1 | acc top5 | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) at 224 | | ------------------------------------------------------------------------------ | --------------------------- | ---------------------- | ---------------------- | ------------------------------------ | ----------------------------------------- | ------------------------ | ------------------------------ | | YOLO26n-cls (opens in a new tab) | 224 | 71.4 | 90.1 | 5.0 ± 0.3 | 1.1 ± 0.0 | 2.8 | 0.4 | | YOLO26s-cls (opens in a new tab) | 224 | 76.0 | 92.9 | 7.9 ± 0.2 | 1.3 ± 0.0 | 6.7 | 1.5 | | YOLO26m-cls (opens in a new tab) | 224 | 78.1 | 94.2 | 17.2 ± 0.4 | 2.0 ± 0.0 | 11.6 | 4.8 | | YOLO26l-cls (opens in a new tab) | 224 | 79.0 | 94.6 | 23.2 ± 0.3 | 2.8 ± 0.0 | 14.1 | 6.0 | | YOLO26x-cls (opens in a new tab) | 224 | 79.9 | 95.0 | 41.4 ± 0.9 | 3.8 ± 0.0 | 29.6 | 13.5 |

See the Pose Estimation Docs (opens in a new tab) for usage examples. These models are trained on COCO-Pose (opens in a new tab), focusing on the 'person' class.

| Model | size (pixels) | mAPpose50-95 (e2e) | mAPpose50 (e2e) | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) | | -------------------------------------------------------------------------------- | --------------------------- | ------------------------------------------- | ---------------------------------------- | ------------------------------------ | ----------------------------------------- | ------------------------ | ----------------------- | | YOLO26n-pose (opens in a new tab) | 640 | 57.2 | 83.3 | 40.3 ± 0.5 | 1.8 ± 0.0 | 2.9 | 7.6 | | YOLO26s-pose (opens in a new tab) | 640 | 63.0 | 86.6 | 85.3 ± 0.9 | 2.7 ± 0.0 | 10.4 | 24.1 | | YOLO26m-pose (opens in a new tab) | 640 | 68.8 | 89.6 | 218.0 ± 1.5 | 5.0 ± 0.1 | 21.5 | 73.3 | | YOLO26l-pose (opens in a new tab) | 640 | 70.4 | 90.5 | 275.4 ± 2.4 | 6.5 ± 0.1 | 25.9 | 91.7 | | YOLO26x-pose (opens in a new tab) | 640 | 71.6 | 91.6 | 565.4 ± 3.0 | 12.2 ± 0.2 | 57.6 | 202.3 |

Check the OBB Docs (opens in a new tab) for usage examples. These models are trained on DOTAv1 (opens in a new tab), including 15 classes.

| Model | size (pixels) | mAPtest50-95 (e2e) | mAPtest50 (e2e) | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) | | ------------------------------------------------------------------------------ | --------------------------- | ------------------------------------------- | ---------------------------------------- | ------------------------------------ | ----------------------------------------- | ------------------------ | ----------------------- | | YOLO26n-obb (opens in a new tab) | 1024 | 52.4 | 78.9 | 97.7 ± 0.9 | 2.8 ± 0.0 | 2.4 | 14.8 | | YOLO26s-obb (opens in a new tab) | 1024 | 54.8 | 80.9 | 218.0 ± 1.4 | 4.9 ± 0.1 | 9.8 | 56.7 | | YOLO26m-obb (opens in a new tab) | 1024 | 55.3 | 81.0 | 579.2 ± 3.8 | 10.2 ± 0.3 | 21.2 | 184.9 | | YOLO26l-obb (opens in a new tab) | 1024 | 56.2 | 81.6 | 735.6 ± 3.1 | 13.0 ± 0.2 | 25.6 | 232.4 | | YOLO26x-obb (opens in a new tab) | 1024 | 56.7 | 81.7 | 1485.7 ± 11.5 | 30.5 ± 0.9 | 57.6 | 520.1 |

🧩 Integrations

Our key integrations with leading AI platforms extend the functionality of Ultralytics' offerings, enhancing tasks like dataset labeling, training, visualization, and model management. Discover how Ultralytics, in collaboration with partners like Weights & Biases (opens in a new tab), Comet ML (opens in a new tab), Roboflow (opens in a new tab), and Intel OpenVINO (opens in a new tab), can optimize your AI workflow. Explore more at Ultralytics Integrations (opens in a new tab).

Ultralytics active learning integrations (opens in a new tab)

🤝 Contribute

We thrive on community collaboration! Ultralytics YOLO wouldn't be the SOTA framework it is without contributions from developers like you. Please see our Contributing Guide (opens in a new tab) to get started. We also welcome your feedback—share your experience by completing our Survey (opens in a new tab). A huge Thank You 🙏 to everyone who contributes!

Ultralytics open-source contributors (opens in a new tab)

We look forward to your contributions to help make the Ultralytics ecosystem even better!

📜 License

Ultralytics offers two licensing options to suit different needs:

  • AGPL-3.0 License: This OSI-approved (opens in a new tab) open-source license is perfect for students, researchers, and enthusiasts. It encourages open collaboration and knowledge sharing. See the LICENSE (opens in a new tab) file for full details.
  • Ultralytics Enterprise License: For development and production use, this license enables seamless integration of Ultralytics software and AI models into business products and services, including internal tools, automated workflows, and production deployments, bypassing the open-source requirements of AGPL-3.0. To get started, please contact us via Ultralytics Licensing (opens in a new tab).
📞 Contact

For bug reports and feature requests related to Ultralytics software, please visit GitHub Issues (opens in a new tab). For questions, discussions, and community support, join our active communities on Discord (opens in a new tab), Reddit (opens in a new tab), and the Ultralytics Community Forums (opens in a new tab). We're here to help with all things Ultralytics!

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.