ultralytics/docs
Jing Qiu a481399723
Fix AP calculation precision in compute_ap (#24175)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2026-04-09 18:50:30 +08:00
..
en Add class weights support for handling class imbalance in training (#23565) 2026-04-09 17:31:44 +08:00
macros Add class weights support for handling class imbalance in training (#23565) 2026-04-09 17:31:44 +08:00
overrides Docs: Fix Banner Link (#24091) 2026-04-01 15:48:10 +02:00
build_docs.py Scope class badges to reference section (#23962) 2026-03-19 18:00:46 +01:00
build_reference.py Fix References docstring sections rendering incorrectly in API docs (#23931) 2026-03-20 19:26:45 +08:00
coming_soon_template.md ultralytics 8.4.0 YOLO26 Models Release (#23176) 2026-01-14 03:44:38 +00:00
mkdocs_github_authors.yaml Fix AP calculation precision in compute_ap (#24175) 2026-04-09 18:50:30 +08:00
model_data.py ultralytics 8.4.0 YOLO26 Models Release (#23176) 2026-01-14 03:44:38 +00:00
README.md Update local docs build instructions in README (#23877) 2026-03-14 15:53:05 +01:00

Ultralytics logo

📚 Ultralytics Docs

Welcome to Ultralytics Docs, your comprehensive resource for understanding and utilizing our state-of-the-art machine learning tools and models, including Ultralytics YOLO. These documents are actively maintained and deployed to https://docs.ultralytics.com for easy access.

pages-build-deployment Check Broken links Check Domains Ultralytics Actions

Discord Ultralytics Forums Ultralytics Reddit

🛠️ Installation

PyPI - Version Downloads PyPI - Python Version

To install the ultralytics package in developer mode, which allows you to modify the source code directly, ensure you have Git and Python 3.8 or later installed on your system. Then, follow these steps:

  1. Clone the ultralytics repository to your local machine using Git:

    git clone https://github.com/ultralytics/ultralytics.git
    
  2. Navigate to the cloned repository's root directory:

    cd ultralytics
    
  3. Install the package in editable mode (-e) along with its development dependencies ([dev]) using pip:

    pip install -e '.[dev]'
    

    This command installs the ultralytics package such that changes to the source code are immediately reflected in your environment, ideal for development.

🚀 Building and Serving Locally

The build_docs.py script runs the full documentation build pipeline — the same process used for production deployments. It renders Jinja macros, generates API reference pages, pulls in model comparison pages, and applies HTML postprocessing.

# Requires Python >= 3.10
pip install -e '.[dev]'

cd docs
python build_docs.py

The script builds the site into the site/ directory and automatically serves it at http://localhost:8000. Press CTRL+C to stop.

Quick Preview

For quick edits to pages that don't use {% include %} macros, you can use zensical serve for faster iteration with live reloading:

zensical serve

Note that zensical serve does not render Jinja macros or include compare pages, so some pages (train, predict, val, export, tasks, and others) will display raw {% include %} tags instead of their actual content. Use the full build above to verify these pages.

📤 Deploying Your Documentation Site

Documentation is automatically built and deployed to docs.ultralytics.com via the CI pipeline in .github/workflows/docs.yml on every push to main.

💡 Contribute

We deeply value contributions from the open-source community to enhance Ultralytics projects. Your input helps drive innovation! Please review our Contributing Guide for detailed information on how to get involved. You can also share your feedback and ideas through our Survey. A heartfelt thank you 🙏 to all our contributors for their dedication and support!

Ultralytics open-source contributors

We look forward to your contributions!

📜 License

Ultralytics Docs are available under two licensing options to accommodate different usage scenarios:

  • AGPL-3.0 License: Ideal for students, researchers, and enthusiasts involved in academic pursuits and open collaboration. See the LICENSE file for full details. This license promotes sharing improvements back with the community.
  • Enterprise License: Designed for commercial applications, this license allows seamless integration of Ultralytics software and AI models into commercial products and services. Visit Ultralytics Licensing for more information on obtaining an Enterprise License.

✉️ Contact

For bug reports, feature requests, and other issues related to the documentation, please use GitHub Issues. For discussions, questions, and community support, join the conversation with peers and the Ultralytics team on our Discord server!


Ultralytics GitHub space Ultralytics LinkedIn space Ultralytics Twitter space Ultralytics YouTube space Ultralytics TikTok space Ultralytics BiliBili space Ultralytics Discord