fix(docs): 🐞 fixing bunch of badge text alignments for better visual for readme
Browse files
README.md
CHANGED
|
@@ -27,17 +27,17 @@ model-index:
|
|
| 27 |
value: 57.5
|
| 28 |
name: mAP@0.5:0.95
|
| 29 |
---
|
| 30 |
-
|
| 31 |
<div align="center">
|
| 32 |
<p>
|
| 33 |
<a href="https://www.ultralytics.com/blog/ultralytics-yolo26-the-new-standard-for-edge-first-vision-ai" target="_blank">
|
| 34 |
<img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/main/yolov8/banner-yolov8.png" alt="Ultralytics YOLO banner"></a>
|
| 35 |
</p>
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
<br>
|
| 40 |
|
|
|
|
| 41 |
<div style="display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px;">
|
| 42 |
<a href="https://github.com/ultralytics/ultralytics/actions/workflows/ci.yml"><img src="https://github.com/ultralytics/ultralytics/actions/workflows/ci.yml/badge.svg" alt="Ultralytics CI"></a>
|
| 43 |
<a href="https://pepy.tech/projects/ultralytics" style="position: relative; top: -3px;"><img src="https://static.pepy.tech/badge/ultralytics" alt="Ultralytics Downloads"></a>
|
|
@@ -52,7 +52,6 @@ model-index:
|
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
<br>
|
| 55 |
-
|
| 56 |
[Ultralytics](https://www.ultralytics.com/) [YOLO26](https://github.com/ultralytics/ultralytics) is a cutting-edge, state-of-the-art (SOTA) model that builds upon the success of previous Ultralytics YOLO versions and introduces new features and improvements to further boost performance and flexibility. Ultralytics YOLO26 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.
|
| 57 |
|
| 58 |
We hope that the resources here will help you get the most out of Ultralytics YOLO. Please browse the Ultralytics <a href="https://docs.ultralytics.com/">Docs</a> for details, raise an issue on <a href="https://github.com/ultralytics/ultralytics/issues/new/choose">GitHub</a> for support, questions, or discussions, become a member of the Ultralytics <a href="https://discord.com/invite/ultralytics">Discord</a>, <a href="https://reddit.com/r/ultralytics">Reddit</a> and <a href="https://community.ultralytics.com/">Forums</a>!
|
|
@@ -62,15 +61,14 @@ To request an Enterprise License please complete the form at [Ultralytics Licens
|
|
| 62 |
<a href="https://platform.ultralytics.com/ultralytics/yolo26" target="_blank">
|
| 63 |
<img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/refs/heads/main/yolo/performance-comparison.png" alt="YOLO26 performance plots">
|
| 64 |
</a>
|
| 65 |
-
|
| 66 |
-
<
|
| 67 |
-
<a href="https://
|
| 68 |
-
<a href="https://
|
| 69 |
-
<a href="https://
|
| 70 |
-
<a href="https://
|
| 71 |
-
<a href="https://
|
| 72 |
-
<a href="https://
|
| 73 |
-
<a href="https://discord.com/invite/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="35% alt="Ultralytics Discord"></a>
|
| 74 |
</div>
|
| 75 |
</div>
|
| 76 |
|
|
@@ -83,7 +81,11 @@ See below for a quickstart install and usage examples, and see our [Docs](https:
|
|
| 83 |
|
| 84 |
Pip install the ultralytics package including all [requirements](https://github.com/ultralytics/ultralytics/blob/main/pyproject.toml) in a [**Python>=3.8**](https://www.python.org/) environment with [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/).
|
| 85 |
|
| 86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
```bash
|
| 89 |
pip install ultralytics
|
|
@@ -91,7 +93,11 @@ pip install ultralytics
|
|
| 91 |
|
| 92 |
For alternative installation methods including [Conda](https://anaconda.org/conda-forge/ultralytics), [Docker](https://hub.docker.com/r/ultralytics/ultralytics), and Git, please refer to the [Quickstart Guide](https://docs.ultralytics.com/quickstart/).
|
| 93 |
|
| 94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
</details>
|
| 97 |
|
|
@@ -114,10 +120,8 @@ Ultralytics YOLO may also be used directly in a Python environment, and accepts
|
|
| 114 |
|
| 115 |
```python
|
| 116 |
from ultralytics import YOLO
|
| 117 |
-
|
| 118 |
# Load a model
|
| 119 |
model = YOLO("yolo26n.pt")
|
| 120 |
-
|
| 121 |
# Train the model
|
| 122 |
train_results = model.train(
|
| 123 |
data="coco8.yaml", # path to dataset YAML
|
|
@@ -125,14 +129,11 @@ train_results = model.train(
|
|
| 125 |
imgsz=640, # training image size
|
| 126 |
device="cpu", # device to run on, i.e. device=0 or device=0,1,2,3 or device=cpu
|
| 127 |
)
|
| 128 |
-
|
| 129 |
# Evaluate model performance on the validation set
|
| 130 |
metrics = model.val()
|
| 131 |
-
|
| 132 |
# Perform object detection on an image
|
| 133 |
results = model("path/to/image.jpg")
|
| 134 |
results[0].show()
|
| 135 |
-
|
| 136 |
# Export the model to ONNX format
|
| 137 |
path = model.export(format="onnx") # return path to exported model
|
| 138 |
```
|
|
@@ -269,12 +270,12 @@ Ultralytics offers two licensing options to accommodate diverse use cases:
|
|
| 269 |
For Ultralytics bug reports and feature requests please visit [GitHub Issues](https://github.com/ultralytics/ultralytics/issues). Become a member of the Ultralytics [Discord](https://discord.com/invite/ultralytics), [Reddit](https://www.reddit.com/r/ultralytics/), or [Forums](https://community.ultralytics.com/) for asking questions, sharing projects, learning discussions, or for help with all things Ultralytics!
|
| 270 |
|
| 271 |
<br>
|
| 272 |
-
<div style="display: flex; justify-content: center;
|
| 273 |
-
<a href="https://github.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-github.png" width="
|
| 274 |
-
<a href="https://www.linkedin.com/company/ultralytics/"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-linkedin.png" width="
|
| 275 |
-
<a href="https://twitter.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-twitter.png" width="
|
| 276 |
-
<a href="https://youtube.com/ultralytics?sub_confirmation=1"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-youtube.png" width="
|
| 277 |
-
<a href="https://www.tiktok.com/@ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-tiktok.png" width="
|
| 278 |
-
<a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="
|
| 279 |
-
<a href="https://discord.com/invite/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="
|
| 280 |
</div>
|
|
|
|
| 27 |
value: 57.5
|
| 28 |
name: mAP@0.5:0.95
|
| 29 |
---
|
|
|
|
| 30 |
<div align="center">
|
| 31 |
<p>
|
| 32 |
<a href="https://www.ultralytics.com/blog/ultralytics-yolo26-the-new-standard-for-edge-first-vision-ai" target="_blank">
|
| 33 |
<img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/main/yolov8/banner-yolov8.png" alt="Ultralytics YOLO banner"></a>
|
| 34 |
</p>
|
| 35 |
+
<p>
|
| 36 |
+
<a href="https://docs.ultralytics.com/zh/">中文</a> | <a href="https://docs.ultralytics.com/ko/">한국어</a> | <a href="https://docs.ultralytics.com/ja/">日本語</a> | <a href="https://docs.ultralytics.com/ru/">Русский</a> | <a href="https://docs.ultralytics.com/de/">Deutsch</a> | <a href="https://docs.ultralytics.com/fr/">Français</a> | <a href="https://docs.ultralytics.com/es">Español</a> | <a href="https://docs.ultralytics.com/pt/">Português</a> | <a href="https://docs.ultralytics.com/tr/">Türkçe</a> | <a href="https://docs.ultralytics.com/vi/">Tiếng Việt</a> | <a href="https://docs.ultralytics.com/ar/">العربية</a>
|
| 37 |
+
</p>
|
| 38 |
<br>
|
| 39 |
|
| 40 |
+
|
| 41 |
<div style="display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px;">
|
| 42 |
<a href="https://github.com/ultralytics/ultralytics/actions/workflows/ci.yml"><img src="https://github.com/ultralytics/ultralytics/actions/workflows/ci.yml/badge.svg" alt="Ultralytics CI"></a>
|
| 43 |
<a href="https://pepy.tech/projects/ultralytics" style="position: relative; top: -3px;"><img src="https://static.pepy.tech/badge/ultralytics" alt="Ultralytics Downloads"></a>
|
|
|
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
<br>
|
|
|
|
| 55 |
[Ultralytics](https://www.ultralytics.com/) [YOLO26](https://github.com/ultralytics/ultralytics) is a cutting-edge, state-of-the-art (SOTA) model that builds upon the success of previous Ultralytics YOLO versions and introduces new features and improvements to further boost performance and flexibility. Ultralytics YOLO26 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.
|
| 56 |
|
| 57 |
We hope that the resources here will help you get the most out of Ultralytics YOLO. Please browse the Ultralytics <a href="https://docs.ultralytics.com/">Docs</a> for details, raise an issue on <a href="https://github.com/ultralytics/ultralytics/issues/new/choose">GitHub</a> for support, questions, or discussions, become a member of the Ultralytics <a href="https://discord.com/invite/ultralytics">Discord</a>, <a href="https://reddit.com/r/ultralytics">Reddit</a> and <a href="https://community.ultralytics.com/">Forums</a>!
|
|
|
|
| 61 |
<a href="https://platform.ultralytics.com/ultralytics/yolo26" target="_blank">
|
| 62 |
<img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/refs/heads/main/yolo/performance-comparison.png" alt="YOLO26 performance plots">
|
| 63 |
</a>
|
| 64 |
+
<div align="center" style="display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px;">
|
| 65 |
+
<a href="https://github.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-github.png" width="24" alt="Ultralytics GitHub"></a>
|
| 66 |
+
<a href="https://www.linkedin.com/company/ultralytics/"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-linkedin.png" width="24" alt="Ultralytics LinkedIn"></a>
|
| 67 |
+
<a href="https://twitter.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-twitter.png" width="24" alt="Ultralytics Twitter"></a>
|
| 68 |
+
<a href="https://www.youtube.com/ultralytics?sub_confirmation=1"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-youtube.png" width="24" alt="Ultralytics YouTube"></a>
|
| 69 |
+
<a href="https://www.tiktok.com/@ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-tiktok.png" width="24" alt="Ultralytics TikTok"></a>
|
| 70 |
+
<a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="24" alt="Ultralytics BiliBili"></a>
|
| 71 |
+
<a href="https://discord.com/invite/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="24" alt="Ultralytics Discord"></a>
|
|
|
|
| 72 |
</div>
|
| 73 |
</div>
|
| 74 |
|
|
|
|
| 81 |
|
| 82 |
Pip install the ultralytics package including all [requirements](https://github.com/ultralytics/ultralytics/blob/main/pyproject.toml) in a [**Python>=3.8**](https://www.python.org/) environment with [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/).
|
| 83 |
|
| 84 |
+
<div align="left" style="display: flex; flex-wrap: wrap; justify-content: left; align-items: center; gap: 5px;">
|
| 85 |
+
<a href="https://pypi.org/project/ultralytics/"><img src="https://img.shields.io/pypi/v/ultralytics?logo=pypi&logoColor=white" alt="PyPI - Version"></a>
|
| 86 |
+
<a href="https://pepy.tech/project/ultralytics"><img src="https://static.pepy.tech/badge/ultralytics" style="position: relative; top: -3px;" alt="Downloads"></a>
|
| 87 |
+
<a href="https://pypi.org/project/ultralytics/"><img src="https://img.shields.io/pypi/pyversions/ultralytics?logo=python&logoColor=gold" alt="PyPI - Python Version"></a>
|
| 88 |
+
</div>
|
| 89 |
|
| 90 |
```bash
|
| 91 |
pip install ultralytics
|
|
|
|
| 93 |
|
| 94 |
For alternative installation methods including [Conda](https://anaconda.org/conda-forge/ultralytics), [Docker](https://hub.docker.com/r/ultralytics/ultralytics), and Git, please refer to the [Quickstart Guide](https://docs.ultralytics.com/quickstart/).
|
| 95 |
|
| 96 |
+
<div align="left" style="display: flex; flex-wrap: wrap; justify-content: left; align-items: center; gap: 5px;">
|
| 97 |
+
<a href="https://anaconda.org/conda-forge/ultralytics"><img src="https://img.shields.io/conda/vn/conda-forge/ultralytics?logo=condaforge" alt="Conda Version"></a>
|
| 98 |
+
<a href="https://hub.docker.com/r/ultralytics/ultralytics"><img src="https://img.shields.io/docker/v/ultralytics/ultralytics?sort=semver&logo=docker" alt="Docker Image Version"></a>
|
| 99 |
+
<a href="https://hub.docker.com/r/ultralytics/ultralytics"><img src="https://img.shields.io/docker/pulls/ultralytics/ultralytics?logo=docker" alt="Ultralytics Docker Pulls"></a>
|
| 100 |
+
</div>
|
| 101 |
|
| 102 |
</details>
|
| 103 |
|
|
|
|
| 120 |
|
| 121 |
```python
|
| 122 |
from ultralytics import YOLO
|
|
|
|
| 123 |
# Load a model
|
| 124 |
model = YOLO("yolo26n.pt")
|
|
|
|
| 125 |
# Train the model
|
| 126 |
train_results = model.train(
|
| 127 |
data="coco8.yaml", # path to dataset YAML
|
|
|
|
| 129 |
imgsz=640, # training image size
|
| 130 |
device="cpu", # device to run on, i.e. device=0 or device=0,1,2,3 or device=cpu
|
| 131 |
)
|
|
|
|
| 132 |
# Evaluate model performance on the validation set
|
| 133 |
metrics = model.val()
|
|
|
|
| 134 |
# Perform object detection on an image
|
| 135 |
results = model("path/to/image.jpg")
|
| 136 |
results[0].show()
|
|
|
|
| 137 |
# Export the model to ONNX format
|
| 138 |
path = model.export(format="onnx") # return path to exported model
|
| 139 |
```
|
|
|
|
| 270 |
For Ultralytics bug reports and feature requests please visit [GitHub Issues](https://github.com/ultralytics/ultralytics/issues). Become a member of the Ultralytics [Discord](https://discord.com/invite/ultralytics), [Reddit](https://www.reddit.com/r/ultralytics/), or [Forums](https://community.ultralytics.com/) for asking questions, sharing projects, learning discussions, or for help with all things Ultralytics!
|
| 271 |
|
| 272 |
<br>
|
| 273 |
+
<div align="center" style="display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px;">
|
| 274 |
+
<a href="https://github.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-github.png" width="24" alt="Ultralytics GitHub"></a>
|
| 275 |
+
<a href="https://www.linkedin.com/company/ultralytics/"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-linkedin.png" width="24" alt="Ultralytics LinkedIn"></a>
|
| 276 |
+
<a href="https://twitter.com/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-twitter.png" width="24" alt="Ultralytics Twitter"></a>
|
| 277 |
+
<a href="https://www.youtube.com/ultralytics?sub_confirmation=1"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-youtube.png" width="24" alt="Ultralytics YouTube"></a>
|
| 278 |
+
<a href="https://www.tiktok.com/@ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-tiktok.png" width="24" alt="Ultralytics TikTok"></a>
|
| 279 |
+
<a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="24" alt="Ultralytics BiliBili"></a>
|
| 280 |
+
<a href="https://discord.com/invite/ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="24" alt="Ultralytics Discord"></a>
|
| 281 |
</div>
|