Notebook 依赖云端环境,本地运行需自行安装 ultralytics 及依赖;部分示例需额外下载对应数据集(如 Carparts 分割数据集);README 表格由 docs/notebooks-data.yml 自动生成,直接改 README 会被覆盖

notebooks
ultralyticsAGPL-3.0活跃维护Ultralytics 官方 YOLO 教程合集,提供可直接在 Colab、Kaggle、SageMaker 上运行的 Notebook,覆盖训练、推理、导出及检测、分割、姿态估计等视觉任务。
Ultralytics YOLO tutorials for Colab, Kaggle, and SageMaker covering training, inference, export, and vision tasks.
无需本地安装,直接在浏览器打开对应 Notebook:https://colab.research.google.com/github/ultralytics/notebooks/blob/main/notebooks/how-to-train-ultralytics-yolo-on-carparts-segmentation-dataset.ipynbREADME 未说明具体显存或 GPU 型号要求;Notebook 面向 Google Colab、Kaggle、SageMaker Studio Lab 等云端环境运行。
Ultralytics YOLO 官方 Notebook 合集,在 Colab、Kaggle、SageMaker 上直接跑训练、推理和导出
Ultralytics 官方 YOLO 教程合集,提供可直接在 Colab、Kaggle、SageMaker 上运行的 Notebook,覆盖训练、推理、导出及检测、分割、姿态估计等视觉任务。
核心能力
- 提供开箱即用的 Colab Notebook,一键搭好 YOLO 运行环境
- 覆盖检测、分割、语义、深度、分类、姿态、OBB 等视觉任务
- 包含训练、验证、推理、导出全流程示例
- Notebook 目录由 docs/notebooks-data.yml 自动生成,与官方链接保持同步
- 同时提供 Kaggle 与 SageMaker Studio Lab 打开入口
容易踩的坑
- v0.0.0v0 - Initial Release最新正式版2025-03-27 · 2025-03-27 03:16 UTC
What's Changed
- Readme update by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/1
- Add notebooks folder in directory by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/2
- Notebook template by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/3
- update readme.md by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/4
- update notebooks section by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/5
- Update notebooks section by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/6
- Add object counting notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/7
- Add heatmap notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/8
- Add object tracking notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/9
- Add workouts monitoring notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/10
- Notebooks visual links update by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/11
- Ultralytics Refactor https://ultralytics.com/actions by @UltralyticsAssistant in https://github.com/ultralytics/notebooks/pull/12
- Fix unclosed bug by @glenn-jocher in https://github.com/ultralytics/notebooks/pull/13
- Update format.yml by @glenn-jocher in https://github.com/ultralytics/notebooks/pull/14
- New notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/15
- Remove duplicate emojis by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/16
- Add brain-tumor detection notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/17
- Add datasets citations by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/18
- Update README.md by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/19
- Fix unclosed bug 2 by @glenn-jocher in https://github.com/ultralytics/notebooks/pull/20
- Google colab links fix by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/21
- Update colab notebooks by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/22
- Ultralytics Refactor https://ultralytics.com/actions by @glenn-jocher in https://github.com/ultralytics/notebooks/pull/24
- Update workouts-monitoring notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/23
- Eliminate non-supported badges by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/25
- Add package-segmentation dataset notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/26
- Update colab notebooks by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/27
- Apply Ruff 0.9.0 formatting by @pderrenger in https://github.com/ultralytics/notebooks/pull/28
- Update ci.yaml to ci.yml by @glenn-jocher in https://github.com/ultralytics/notebooks/pull/29
- Update
ci.ymlbadge by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/30 - Standardize license headers in TOML/YAML files by @pderrenger in https://github.com/ultralytics/notebooks/pull/31
- Add automatic number plate recognition notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/32
- Add RKNN export format in notebooks by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/33
- Add
crack-segnotebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/34 - Update
how-to-use-ultralytics-yolo-with-sahi.ipynbby @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/35 - New 🚀: Add
SAMandSAM2notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/36 - Update
SAM2notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/37 - Update solutions notebooks by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/38
- Add Florence-2 notebook by @RizwanMunawar in https://github.com/ultralytics/notebooks/pull/39
- Fix florence
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
中文 | 한국어 | 日本語 | Русский | Deutsch | Français | Español | Português | Türkçe | Tiếng Việt | العربية
📚 Ultralytics Notebooks
Welcome to Ultralytics Notebooks! This repository provides ready-to-use Google Colab notebooks that streamline the testing and execution of computer vision projects using Ultralytics YOLO models. These resources make it easy to set up environments, run models quickly, and experiment with various features offered by the Ultralytics ecosystem, including training, validation, inference, and export, often integrated with tools like Ultralytics Platform.
Explore YOLO tasks including Detect, Segment, Semantic, Depth, Classify, Pose, and OBB in the Ultralytics Docs.
The notebook catalog below is generated from docs/notebooks-data.yml, so the README stays aligned with the published Colab, Kaggle, and SageMaker Studio Lab links.
💡 Contribute
Ultralytics thrives on community collaboration, and we deeply value your involvement in our open-source projects! We encourage you to explore our Contributing Guide for detailed insights on how you can participate. Please share your feedback with us by contributing to our Survey. A heartfelt thank you 🙏 goes out to everyone who has already contributed!
📄 License
Ultralytics offers two distinct licensing options to accommodate various use cases:
- AGPL-3.0 License: This official OSI-approved open-source license is ideal for students, enthusiasts, and researchers who value open collaboration and knowledge sharing. See the LICENSE file for details.
- Enterprise License: Designed for commercial use, this license permits the seamless integration of Ultralytics software and AI models into commercial products and services, bypassing the open-source requirements of AGPL-3.0. If your scenario involves commercial deployment, please contact us through Ultralytics Licensing.
📮 Contact
For bug reports or feature suggestions related to this notebooks repository, please submit an issue via GitHub Issues. You are also welcome to join our Discord community for discussions, questions, and collaboration with other users and the Ultralytics team. For general inquiries, visit the Ultralytics website.
