
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
中文 | 한국어 | 日本語 | Русский | Deutsch | Français | Español | Português | Türkçe | Tiếng Việt | العربية
<br> https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/examples/tutorial.ipynb
Ultralytics https://github.com/ultralytics/ultralytics is a cutting-edge, state-of-the-art (SOTA) model that builds upon the success of previous YOLO versions and introduces new features and improvements to further boost performance and flexibility. YOLO11 is designed to be fast, accurate, and easy to use, making it an excellent choice for a wide range of object detection and tracking, instance segmentation, image classification and pose estimation tasks.
We hope that the resources here will help you get the most out of YOLO. Please browse the Ultralytics Docs for details, raise an issue on https://github.com/ultralytics/ultralytics/issues/new/choose for support, questions, or discussions, become a member of the Ultralytics ***, Reddit and Forums!
To request an Enterprise License please complete the form at Ultralytics Licensing.
See below for a quickstart install and usage examples, and see our Docs for full documentation on training, validation, prediction and deployment.
Pip install the ultralytics package including all https://github.com/ultralytics/ultralytics/blob/main/pyproject.toml in a https://www.python.org/ environment with https://pytorch.org/get-started/locally/.
bashpip install ultralytics
For alternative installation methods including Conda, https://hub.docker.com/r/ultralytics/ultralytics, and Git, please refer to the Quickstart Guide.
YOLO may be used directly in the Command Line Interface (CLI) with a yolo command:
bashyolo predict model=yolo11n.pt source='https://ultralytics.com/images/bus.jpg'
yolo can be used for a variety of tasks and modes and accepts additional arguments, i.e. imgsz=640. See the YOLO CLI Docs for examples.
YOLO may also be used directly in a Python environment, and accepts the same arguments as in the CLI example above:
pythonfrom ultralytics import YOLO # Load a model model = YOLO("yolo11n.pt") # Train the model train_results = model.train( data="coco8.yaml", # path to dataset YAML epochs=100, # number of training epochs imgsz=640, # training image size device="cpu", # device to run on, i.e. device=0 or device=0,1,2,3 or device=cpu ) # Evaluate model performance on the validation set metrics = model.val() # Perform object detection on an image results = model("path/to/image.jpg") results[0].show() # Export the model to ONNX format path = model.export(format="onnx") # return path to exported model
See YOLO Python Docs for more examples.
YOLO11 Detect, Segment and Pose models pretrained on the COCO dataset are available here, as well as YOLO11 Classify models pretrained on the ImageNet dataset. Track mode is available for all Detect, Segment and Pose models.
All https://github.com/ultralytics/ultralytics/tree/main/ultralytics/cfg/models download automatically from the latest Ultralytics https://github.com/ultralytics/assets/releases on first use.
See Detection Docs for usage examples with these models trained on COCO, which include 80 pre-trained classes.
| Model | size (pixels) | mAPval 50-95 | Speed CPU ONNX (ms) | Speed T4 TensorRT10 (ms) | params (M) | FLOPs (B) |
|---|---|---|---|---|---|---|
| https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11n.pt | 640 | 39.5 | 56.1 ± 0.8 | 1.5 ± 0.0 | 2.6 | 6.5 |
| https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11s.pt | 640 | 47.0 | 90.0 ± 1.2 | 2.5 ± 0.0 | 9.4 | 21.5 |
| https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11m.pt | 640 | 51.5 | 183.2 ± 2.0 | 4.7 ± 0.1 | 20.1 | 68.0 |
| https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11l.pt | 640 | 53.4 | 238.6 ± 1.4 | 6.2 ± 0.1 | 25.3 | 86.9 |
| https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11x.pt | 640 | 54.7 | 462.8 ± 6.7 | 11.3 ± 0.2 | 56.9 | 194.9 |
yolo val detect data=coco.yaml device=0yolo val detect data=coco.yaml batch=1 device=0|cpuOur 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 W&B, Comet, Roboflow and OpenVINO, can optimize your AI workflow.
| Ultralytics HUB 🚀 | W&B | Comet ⭐ NEW | Neural Magic |
|---|---|---|---|
| Streamline YOLO workflows: Label, train, and deploy effortlessly with Ultralytics HUB. Try now! | Track experiments, hyperparameters, and results with Weights & Biases | Free forever, Comet lets you save YOLO11 models, resume training, and interactively visualize and debug predictions | Run YOLO11 inference up to 6x faster with Neural Magic DeepSparse |
Experience seamless AI with Ultralytics HUB ⭐, the all-in-one solution for data visualization, YOLO11 🚀 model training and deployment, without any coding. Transform images into actionable insights and bring your AI visions to life with ease using our cutting-edge platform and user-friendly Ultralytics App. Start your journey for Free now!
We love your input! Ultralytics YOLO would not be possible without help from our community. Please see our Contributing Guide to get started, and fill out our Survey to send us feedback on your experience. Thank you 🙏 to all our contributors!
https://github.com/ultralytics/ultralytics/graphs/contributorsUltralytics offers two licensing options to accommodate diverse use cases:
For Ultralytics bug reports and feature requests please visit https://github.com/ultralytics/ultralytics/issues. Become a member of the Ultralytics ***, Reddit, or Forums for asking questions, sharing projects, learning discussions, or for help with all things Ultralytics!
以下是 ultralytics/ultralytics 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务