---
title: yolo26
canonical_url: "https://www.modelscope.cn/models/AXERA-TECH/yolo26"
md_url: "https://www.modelscope.cn/models/AXERA-TECH/yolo26.md"
repository: AXERA-TECH/yolo26
last_updated: 2026-11-18
license: agpl-3.0
model_type:
  - ONNX
base_model:
  - YOLO26
base_model_relation: finetune
library_name:
  - onnx
  - pytorch
frameworks:
  - pytorch
language:
  - en
downloads: 108
stars: 0
tags:
  - Axera
  - YOLO26
  - NPU
  - Ultralytics
---

# yolo26

> yolo26 - AXERA-TECH 在 ModelScope 开源的模型。This version of YOLOv26 has been converted to run on the Axera NPU using u8 (INT8) quantization.

AXERA-TECH/yolo26 是 ModelScope 魔搭社区上的机器学习模型，采用 agpl-3.0 许可，基于 YOLO26 构建。

- **Repository**: AXERA-TECH/yolo26
- **License**: agpl-3.0
- **Base model**: YOLO26
- **Tags**: Axera, YOLO26, NPU, Ultralytics
- **Downloads**: 108
- **Stars**: 0
- **Last updated**: 2026-11-18

Source: https://www.modelscope.cn/models/AXERA-TECH/yolo26

---

# YOLO26

This version of YOLOv26 has been converted to run on the Axera NPU using **u8** (INT8) quantization.

Compatible with Pulsar2 version: 4.2.

## Convert tools links:

For those who are interested in model conversion, you can try to export axmodel through 
- [The repo of AXera Platform](https://github.com/AXERA-TECH/ax-samples), which you can get the detial of guide
- [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html) 

## Support Platform

- AX650N/AX8850
  - [M4N-Dock(爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
  - [M.2 Accelerator card](https://docs.m5stack.com/en/ai_hardware/LLM-8850_Card)
- AX630C
  - [爱芯派2](https://axera-pi-2-docs-cn.readthedocs.io/zh-cn/latest/index.html)
  - [Module-LLM](https://docs.m5stack.com/zh_CN/module/Module-LLM)
  - [LLM630 Compute Kit](https://docs.m5stack.com/zh_CN/core/LLM630%20Compute%20Kit)
- AX637
- AX615

### Performance Statistics

#### AX650N (NPU3 Mode)
Tip: The official ONNX (mAP50) data is sourced from the official web(https://platform.ultralytics.com/ultralytics/yolo26/). Actual measurements on coco-val2017 show that the real ONNX accuracy is about 0.4%–0.9% lower, indicating that AXModel's actual quantization loss is even smaller.
| Model | ONNX (mAP50) | AXModel (mAP50) | FPS | CMM(MB) | Latency(ms) |
| :--- | :---: | :---: | :---: | :---: | :---: |
| **yolo26n** | 0.557 | 0.533 | 726 | 3.26 | 1.378 |
| **yolo26s** | 0.646 | 0.619 | 316 | 10.2 | 3.166 |
| **yolo26m** | 0.698 | 0.684 | 116 | 27.6 | 8.644 |
| **yolo26l** | 0.715 | 0.698 | 90 | 33.88 | 11.174 |
| **yolo26x** | 0.741 | 0.730 | 41.0 | 70.4 | 20.405 |

#### AX630C

| Model | Latency(ms) |
| :--- | :---: |
| **yolo26n_npu1.axmodel**| 10.706 |
| **yolo26s_npu1.axmodel**| 23.188 |
| **yolo26n_npu2.axmodel**| 6.309 |
| **yolo26s_npu2.axmodel**| 16.347 |

#### AX637
| Model | Latency(ms) |
| :--- | :---: |
| **yolo26n**| 4.059 |
| **yolo26s**| 10.933 |


#### AX615

| Model | Latency(ms) |
| :--- | :---: |
| **yolo26n_npu1.axmodel**| 26.995 |
| **yolo26s_npu1.axmodel**| 55.200 |
| **yolo26n_npu2.axmodel**| 10.599 |
| **yolo26s_npu2.axmodel**| 18.600 |

## How to use

Download all files from this repository to the device

```bash
root@ax650:~/YOLO26# tree .
|-- ax650
|   |-- yolo26n.axmodel
|   |-- yolo26s.axmodel
|   |-- yolo26m.axmodel
|   |-- yolo26l.axmodel
|   `-- yolo26x.axmodel
|-- ax630c
|   |-- yolo26n_npu1.axmodel
|   |-- yolo26s_npu1.axmodel
|   |-- yolo26n_npu2.axmodel
|   |-- yolo26s_npu2.axmodel
|-- ax637
|   |-- yolo26n.axmodel
|   |-- yolo26s.axmodel
|-- install_650
|   |-- ax_yolo26
|-- bus.jpg
|-- yolo26_out.jpg
```

Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)

```bash
(base) root@ax650:~# ./ax_yolo26 -m ./ax650/yolo26n.axmodel -i BUS.JPG
--------------------------------------
model file : ./ax650/yolo26n.axmodel
image file : BUS.JPG
img_h, img_w : 640 640
--------------------------------------
Engine creating handle is done.
Engine creating context is done.
Engine get io info is done.
Engine alloc io is done.
Engine push input is done.
------------------------------------
Repeat 1 times, avg time 1.38 ms, max_time 1.38 ms, min_time 1.38 ms
--------------------------------------
detection num: 5
 5:  94%, [   6,  233,  801,  752], bus
 0:  94%, [  51,  396,  241,  904], person
 0:  91%, [ 227,  406,  345,  861], person
 0:  80%, [ 670,  389,  809,  876], person
 0:  50%, [   0,  556,   64,  872], person
--------------------------------------
```

Output image:
![](./yolo26_out.jpg)

## ONNX / axmodel inference and COCO bbox evaluation

The scripts under `src/` are standalone. Run ONNX inference on the development
machine with the project virtual environment. Single-image mode prints each
class, score and box, saves a visualization, and can compare dense output tensors.
Dataset mode shows progress and writes timing only unless `--full-output` is set.

```bash
# Single-image FP32 ONNX check and dense tensor diagnostics.
../../../venv/bin/python src/infer/yolo26_infer_onnx.py \
  --model yolo26n_640x640.onnx --image bus.jpg \
  --output-dir results/onnx-n-image --debug --dump-npz results/onnx-n-image/dense.npz

# Fast dataset timing: no COCO evaluation files are generated.
../../../venv/bin/python src/infer/yolo26_infer_onnx.py \
  --model yolo26n_640x640.onnx --dataset ../../../datasets/val2017 \
  --output-dir results/onnx-n-speed

# Export one indexed raw candidate archive for COCO evaluation.
../../../venv/bin/python src/infer/yolo26_infer_onnx.py \
  --model yolo26n_640x640.onnx --dataset ../../../datasets/val2017 \
  --output-dir results/onnx-n-eval --full-output

# ONNX-only COCO bbox evaluation; use --subset for an intentional partial set.
../../../venv/bin/python src/tool/evaluate_yolo26.py \
  --onnx-results results/onnx-n-eval \
  --annotations ../../../datasets/annotations_val2017/annotations/instances_val2017.json \
  --output-dir results/onnx-n-metrics
```

On a compatible board, copy the AX script, selected axmodel, and images as a
standalone bundle. AX full output writes the same indexed `raw_outputs.npz`,
`manifest.json`, and `image_ids.json` contract as ONNX, so the archive can be
copied back to the development machine.

```bash
# Single-image AX check with tensor diagnostics.
python3 src/infer/yolo26_infer_axmodel.py \
  --axmodel ax650/yolo26n.axmodel --image bus.jpg \
  --output-dir results/ax-n-image --debug --dump-npz results/ax-n-image/dense.npz

# AX timing and full-output export.
python3 src/infer/yolo26_infer_axmodel.py \
  --axmodel ax650/yolo26n.axmodel --dataset val2017 \
  --output-dir results/ax-n-eval --full-output

# Compare ONNX and AX bbox metrics plus per-image one-to-one consistency.
../../../venv/bin/python src/tool/evaluate_yolo26.py \
  --onnx-results results/onnx-n-eval --ax-results results/ax-n-eval \
  --annotations ../../../datasets/annotations_val2017/annotations/instances_val2017.json \
  --output-dir results/onnx-vs-ax-n
```

Use `--score-thresh` for single-image display filtering and `--conf` for raw
candidate export/evaluation filtering. `--max-det` limits decoded detections
per image. `--debug`, `--dump-npz`, and `--ref-npz` are single-image diagnostics;
`--ref-npz` checks tensor names, shape, dtype, and absolute differences.
Full-output timing includes candidate selection and archive writes; model loading
and warmup are excluded. Evaluation validates model metadata, preprocessing
contracts, COCO-80 category IDs, image IDs, filenames, and archive ranges.
