ultralytics/yoloe-11s

YOLOE-11S open-vocabulary segmentation with text class prompts.

Public
3.5K runs

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 YOLOE-11S Open-Vocabulary Instance Segmentation

This endpoint deploys Ultralytics YOLOE-11S (yoloe-11s-seg.pt), a real-time open-vocabulary instance segmentation model that detects and segments arbitrary object classes from text prompts. The Replicate endpoint accepts a comma-separated class_names input, which is applied via set_classes() before inference; when class_names is left empty it falls back to the prompt-free weights (yoloe-11s-seg-pf.pt) that detect from a built-in vocabulary. Both detection boxes and pixel-precise segmentation masks are returned on the annotated image, with optional JSON.

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.

📄 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=yoloe-11s-seg.pt source=path/to/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 YOLOE

# Load the deployed open-vocabulary segmentation model
model = YOLOE("yoloe-11s-seg.pt")

# Set the text-prompt classes to detect (applied once before predict)
class_names = ["person", "bus", "sign"]
model.set_classes(class_names, model.get_text_pe(class_names))

# Run open-vocabulary instance segmentation
results = model("path/to/bus.jpg", conf=0.25, iou=0.45, imgsz=640)
results[0].save("output.png")

Discover more in the Python Docs.

✨ Model

YOLOE-11 open-vocabulary instance segmentation models. This endpoint serves YOLOE-11S (yoloe-11s-seg.pt), automatically using the prompt-free yoloe-11s-seg-pf.pt when no classes are provided. All weights download automatically from the latest Ultralytics release on first use.

Model Pretrained weights Prompt-free variant Task
YOLOE-11S yoloe-11s-seg.pt yoloe-11s-seg-pf.pt Instance Segmentation
YOLOE-11M yoloe-11m-seg.pt yoloe-11m-seg-pf.pt Instance Segmentation
YOLOE-11L yoloe-11l-seg.pt yoloe-11l-seg-pf.pt Instance Segmentation
  • YOLOE improves by +3.5 AP over YOLO-Worldv2 on LVIS while using about a third of the training resources and ~1.4× faster inference, and supports text prompts, visual prompts, and a prompt-free mode. See the YOLOE docs.
  • This endpoint serves YOLOE-11S; the larger 11M/11L variants are shown for reference.

🧩 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