Downloads · 30 days
0
AMD-PAVS-AI/yolo26_detect
yolo26_detect is a object detection model from AMD-PAVS-AI. Use it when you need objects located in an image. It is set up for onnx. The card lists the license as agpl-3.0.
Downloads · 30 days
0
Access
Public
Updated Aug 4, 2026
Repo size
281 KB
Likes
0
Public
Click a slice to open those files.
.jpg281 KB · 97%
From the Hugging Face model README

YOLO26 is a real-time object detection model that detects and localizes axis-aligned bounding boxes across 80 COCO categories in a single forward pass. This repository packages inference for object detection using ONNX Runtime, exported and validated for AMD ROCm so it runs efficiently on AMD GPUs, CPUs, and NPUs.
This is based on the implementation of YOLO26 found here. This repository contains configurations and scripts optimized for AMD® ROCm™ platforms. You can use the yolo26_detect AMD scripts to reproduce results or export with custom configurations. More details on model performance can be found here.
Task: Object detection
Dataset: COCO val2017 (5,000 images, 80 categories)
Output metrics: [email protected]:0.95, [email protected], [email protected], AR@100, per-size mAP/AR (small/medium/large)
Model variants: Default is n. Override with
MODEL_SIZE=n/s/m/l/x.
GPU/NPU note: MIGraphX runtime-quantizes a single FP32 ONNX model to cover all GPU precisions. NPU execution requires BF16 — VitisAI quantizes the FP32 ONNX internally at runtime using
configs/vitisai/detect_bf16.json.
This model export has been adapted and validated for AMD Instinct™ / Radeon™ GPUs running ROCm, as well as AMD CPUs and AMD Ryzen AI NPUs. Key points:
| Runtime | Precision | Backend | Hardware | Notes |
|---|---|---|---|---|
| ONNX Runtime | FP32 | CPU Execution Provider | AMD CPU | — |
| ONNX Runtime | FP32 / FP16 / BF16 / INT8 | MIGraphX Execution Provider | AMD Instinct™ / Radeon™ GPU (ROCm) | First run pays a 30+ minute graph-compilation cost |
| ONNX Runtime | BF16 | VitisAI Execution Provider | AMD Ryzen AI NPU | Auto-quantized internally |
For setup instructions, evaluation scripts, and custom configuration options, see the yolo26_detect on GitHub.
Model Type: Object detection (single-pass CNN detector)
Base Model: YOLO26 (Ultralytics), size n default
Model Stats:
(1, 3, 640, 640) float32(1, 300, 6) float32COCO quality evaluation is fully implemented — make eval-<device> runs inference across all 5,000 COCO val2017 images and scores predictions with pycocotools, the reference implementation for axis-aligned boxes.
Higher mAP means the model's predicted boxes and classes agree more closely with ground truth across the dataset — 1.0 is perfect detection, 0.0 means no correct detections. In practice, values above ~0.5 for [email protected]:0.95 are considered strong for COCO-scale object detection.
| Metric | Description |
|---|---|
| [email protected]:0.95 | Primary COCO metric — mean AP averaged across IoU thresholds 0.5–0.95. The strictest, most holistic accuracy number: higher means boxes are both correctly classified and tightly localized across a range of overlap thresholds. |
| [email protected] | AP at a single, looser IoU threshold of 0.5 (VOC-style) — a prediction only needs to overlap the ground-truth box by 50% to count as correct. Typically higher than [email protected]:0.95; reflects "did it find the object" more than "how precisely." |
| [email protected] | AP at a stricter IoU threshold of 0.75 — the predicted box must overlap ground truth by 75%. Rewards precise localization, not just correct detection. |
| AR@100 | Average recall with up to 100 detections per image — of all ground-truth objects, what fraction did the model find. High AR means few missed objects; low AR means the model is overlooking objects regardless of precision. |
| mAP/AR-small/medium/large | [email protected]:0.95 and AR@100 broken down by object size. Small objects are typically the hardest; this breakdown exposes size-specific weaknesses a single aggregate score would hide. |
Full Dataset Evaluation (COCO val2017) — MODEL_SIZE=n:
| Device | Precision | [email protected]:0.95 | [email protected] | [email protected] | AR@100 |
|---|---|---|---|---|---|
| CPU | FP32 | 0.4024 | 0.5578 | 0.4356 | 0.6142 |
| GPU | FP32 | 0.4024 | 0.5578 | 0.4356 | 0.6142 |
| NPU | BF16 | 0.0020 | 0.0029 | 0.0020 | 0.0052 |
NPU accuracy anomaly: the NPU BF16 run above reports near-zero mAP despite running genuinely on-device (execution_provider: VitisAIExecutionProvider, device_fell_back_to_cpu: False — not a silent CPU fallback). This is well outside the normal BF16-quantization delta and looks like a broken NPU accuracy path (e.g. a postprocessing/decode mismatch specific to the NPU export) rather than expected precision loss, and needs investigation before treating this number as representative.
Want to explore the full evaluation scripts, config options, and other AMD-optimized model examples?
📂 View the full project on GitHub
The GitHub repository includes:
pycocotools