ultralytics/yolo26-seg

Ultralytics YOLO26 instance segmentation (COCO-Seg), selectable size n/s/m/l/x.

Public
2 runs

Run time and cost

This model runs on CPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

Ultralytics YOLO banner

中文 | 한국어 | 日本語 | Русский | Deutsch | Français | Español | Português | Türkçe | Tiếng Việt | العربية

Ultralytics CI Ultralytics Downloads Ultralytics Discord Ultralytics Forums Ultralytics Reddit

Run Ultralytics on Gradient Open Ultralytics In Colab Open Ultralytics In Kaggle Open Ultralytics In Binder

Ultralytics YOLO26 Instance Segmentation

Ultralytics creates cutting-edge, state-of-the-art (SOTA) YOLO models built on years of foundational research in computer vision and AI. YOLO26 is the latest generation — fast, accurate, and easy to use. This Replicate deployment runs YOLO26 on CPU with a runtime-selectable model size (n/s/m/l/x); this endpoint performs instance segmentation on the 80 COCO-Seg classes, returning a per-object mask in addition to each bounding box.

Find detailed documentation in the Ultralytics Docs. Get support via GitHub Issues. Join discussions on Discord, Reddit, and the Ultralytics Community Forums!

Request an Enterprise License for commercial use at Ultralytics Licensing.

YOLO26 performance plots

📄 Documentation

For comprehensive guidance on training, validation, prediction, and deployment, refer to the full Ultralytics Docs.

Install

Install the ultralytics package, including all requirements, in a Python>=3.8 environment with PyTorch>=1.8.

PyPI - Version Ultralytics Downloads PyPI - Python Version

pip install ultralytics

For alternative installation methods, including Conda, Docker, and building from source via Git, please consult the Quickstart Guide.

CLI

You can run this model from the Command Line Interface (CLI) with the yolo command:

yolo predict model=yolo26n-seg.pt source='https://ultralytics.com/images/bus.jpg'

The yolo command supports various tasks and modes, accepting additional arguments like imgsz=640. See the CLI Docs.

Python

You can also run the model directly in Python:

from ultralytics import YOLO

# Load the pretrained YOLO26-seg model
model = YOLO("yolo26n-seg.pt")

# Run inference on an image
results = model("path/to/image.jpg")
results[0].show()  # display the annotated result
results[0].save("output.png")  # save it

Discover more in the Python Docs.

✨ Model

Refer to the Segmentation Docs for usage examples. These models are trained on COCO-Seg, including 80 classes. All models download automatically from the latest Ultralytics release on first use.

Model size (pixels) mAP box 50-95 (e2e) mAP mask 50-95 (e2e) Speed CPU ONNX (ms) Speed T4 TensorRT10 (ms) params (M) FLOPs (B)
YOLO26n-seg 640 39.6 33.9 53.3 ± 0.5 2.1 ± 0.0 2.7 9.1
YOLO26s-seg 640 47.3 40.0 118.4 ± 0.9 3.3 ± 0.0 10.4 34.2
YOLO26m-seg 640 52.5 44.1 328.2 ± 2.4 6.7 ± 0.1 23.6 121.5
YOLO26l-seg 640 54.4 45.5 387.0 ± 3.7 8.0 ± 0.1 28.0 139.8
YOLO26x-seg 640 56.5 47.0 787.0 ± 6.8 16.4 ± 0.1 62.8 313.5
  • mAP box/mask values are for single-model single-scale on the COCO val2017 dataset. Reproduce with yolo val segment data=coco.yaml device=0
  • Speed metrics are averaged over dataset val images; CPU speeds measured with ONNX export, GPU speeds with TensorRT. See YOLO Performance Metrics for details.

🧩 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, Comet ML, Roboflow, and Intel OpenVINO, can optimize your AI workflow. Explore more at Ultralytics Integrations.

🤝 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 to get started. We also welcome your feedback—share your experience by completing our Survey. A huge Thank You 🙏 to everyone who contributes!

Ultralytics open-source contributors

📜 License

Ultralytics offers two licensing options to suit different needs:

  • AGPL-3.0 License: This OSI-approved open-source license is perfect for students, researchers, and enthusiasts. It encourages open collaboration and knowledge sharing. See the LICENSE 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, bypassing the open-source requirements of AGPL-3.0. To get started, please contact us via Ultralytics Licensing.

📞 Contact

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

Model created
Model updated