vision
image-detection
File size: 6,429 Bytes
6ec52b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659f84b
6ec52b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
license: agpl-3.0
tags:
- vision
- image-detection
datasets:
- COCO
---

<div align="center">

# YOLO26 for TI EdgeAI

### Native End-to-End Object Detector for Real-Time Edge Deployment

[![License](https://img.shields.io/badge/License-AGPL%203.0-blue?style=for-the-badge)](https://opensource.org/licenses/AGPL-3.0)
[![Framework](https://img.shields.io/badge/Framework-ONNX-orange?style=for-the-badge)](https://onnx.ai/)
[![Task](https://img.shields.io/badge/Task-Object%20Detection-green?style=for-the-badge)](https://github.com/TexasInstruments/edgeai)
[![Dataset](https://img.shields.io/badge/Dataset-COCO-blueviolet?style=for-the-badge)](https://cocodataset.org/)

</div>

---

## Overview

**YOLO26** is the newest generation of the Ultralytics YOLO family, released in January 2026. Its detection head is natively end-to-end: by default it predicts final boxes directly, without a separate non-maximum suppression (NMS) post-processing step, which simplifies deployment and reduces post-processing latency. The head also removes Distribution Focal Loss (DFL) from box regression, lowering head complexity while keeping an unconstrained regression range.

The training recipe pairs these architectural changes with **MuSGD** (a hybrid Muon + SGD optimizer), **Progressive Loss** (which shifts supervision emphasis toward the inference-time head), and **STAL**, a Small-Target-Aware Label Assignment scheme that preserves positive label coverage for small objects. Together these updates improve the accuracy/latency trade-off over YOLO11 across all five model scales and give YOLO26n notably faster CPU ONNX inference, making the family well suited to power- and latency-constrained edge deployments.

These ONNX models cover the five COCO-pretrained detection scales (n/s/m/l/x, 80 classes), exported and shape-fixed to a static `640×640` input for TIDL compilation on TI edge SoCs.

> See [YOLO11](../YOLO11/) for the previous-generation, NMS-based YOLO models.

---

## Model Variants

| Model | Input Size | Reference mAP[.5:.95]% | Validated Devices | Config |
|-------|-----------|--------------|--------------------|--------|
| `yolo26n` | 640×640 | 40.9 | TDA4VH, TDA4VL | [yolo26n_model_config.yaml](yolo26n_model_config.yaml) |
| `yolo26s` | 640×640 | 48.6 | TDA4VH, TDA4VL | [yolo26s_model_config.yaml](yolo26s_model_config.yaml) |
| `yolo26m` | 640×640 | 53.1 | TDA4VH, TDA4VL | [yolo26m_model_config.yaml](yolo26m_model_config.yaml) |
| `yolo26l` | 640×640 | 55.0 | TDA4VH, TDA4VL | [yolo26l_model_config.yaml](yolo26l_model_config.yaml) |
| `yolo26x` | 640×640 | 57.5 | TDA4VH, TDA4VL | [yolo26x_model_config.yaml](yolo26x_model_config.yaml) |

**Recommended for edge deployment:** `yolo26n` (best accuracy/compute trade-off)

---

## Quick Start

### Prerequisites

```bash
pip install onnx>=1.22.0 onnxruntime>=1.23.2
```

### Export the Model

```bash
# Prepare the default model (yolo26n)
python prepare_model.py

# Prepare a specific model variant
python prepare_model.py --model yolo26s

# Prepare multiple variants in one run
python prepare_model.py --model yolo26n yolo26s yolo26m

# Prepare every supported variant
python prepare_model.py --model all

# List all supported variants and their local download/conversion status
python prepare_model.py --list-models

# Re-run shape fixing on an already-downloaded ONNX
python prepare_model.py --model yolo26n --skip-download
```

The script automatically:
- Parses the variant's `.link` file to get the HuggingFace download URL
- Downloads the model with `curl` if it isn't already present locally
- Fixes dynamic input dimensions to a static shape (default `[1, 3, 640, 640]`)
- Runs ONNX shape inference and optional `onnx-simplifier` optimization
- Validates the resulting ONNX model structure

### Compile and Infer uing edgeai-tidlrunner

> **Note:** Run the commands below from inside the `tidlrunner` directory (the cloned [edgeai-tidlrunner](https://github.com/TexasInstruments/edgeai-tidlrunner) repository), with `--config_path` pointing to this model's config file.

**Compile using edgeai-tidlrunner - on PC**

```bash
cd /path/to/edgeai-tidlrunner
tidlrunner-cli compile --target_device J784S4 \
  --config_path /path/to/yolo26n_model_config.yaml
```

**Run Inference Benchmark - on device**

```bash
cd /path/to/edgeai-tidlrunner
tidlrunner-cli infer --target_device J784S4 \
  --config_path /path/to/yolo26n_model_config.yaml
```

### Compile and Infer using edgeai-tidl-tools (Advanced):

Follow the instructions at https://github.com/TexasInstruments/edgeai-tidl-tools

### Deploy using edgeai-tidl-tools:

Deplyment can be done using **[edgeai-tidl-tools](https://github.com/TexasInstruments/edgeai-tidl-tools)**. For ONNX models, onnxruntime-tidl with TIDL acceleration can be used. Consult the documentation of edgeai-tidl-tools for more details.

---

## Citation

If you use these models, please cite:

```bibtex
@article{jocher2026yolo26,
  title={Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models},
  author={Jocher, Glenn and Qiu, Jing and Liu, Mengyu and Lyu, Shuai and
          Akyon, Fatih Cagatay and Kalfaoglu, Muhammet Esat},
  journal={arXiv preprint arXiv:2606.03748},
  year={2026}
}
```

---

## 🔗 Resources

| Resource | Link |
|----------|------|
| **Paper** | [arXiv:2606.03748](https://arxiv.org/abs/2606.03748) |
| **Source Code** | [ultralytics/ultralytics](https://github.com/ultralytics/ultralytics) |
| **Model Docs** | [YOLO26 Documentation](https://docs.ultralytics.com/models/yolo26/) |
| **edgeai-tidl-tools** | [GitHub](https://github.com/TexasInstruments/edgeai-tidl-tools) |
| **edgeai-tidlrunner** | [GitHub](https://github.com/TexasInstruments/edgeai-tidlrunner) |
| **EdgeAI SDK** | [Documentation](https://github.com/TexasInstruments/edgeai/blob/main/edgeai-mpu/readme_sdk.md) |
| **EdgeAI Ecosystem** | [GitHub](https://github.com/TexasInstruments/edgeai) |

---

## Related Models

<table>
<tr>
<td align="center">

**YOLO11**
Predecessor generation
NMS-based detection

</td>
<td align="center">

**YOLOv8**
Earlier YOLO generation
Widely adopted baseline

</td>
<td align="center">

**YOLOX**
Anchor-free detector
Decoupled head design

</td>
<td align="center">

**RT-DETRv2**
Transformer-based detector
Real-time DETR variant

</td>
</tr>
</table>

---

<div align="center">

**Maintained by:** Texas Instruments EdgeAI Team  
**Last Updated:** August 2026

</div>