Downloads · 30 days
0
AMD-PAVS-AI/yolov12
yolov12 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 20, 2026
Repo size
81.7 MB
Likes
0
Public
Click a slice to open those files.
.onnx81 MB · 99%
From the Hugging Face model README

YOLO12 is a real-time object detection model that detects and localizes objects 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 YOLO12 found here. This repository contains configurations and scripts optimized for AMD® ROCm™ platforms. You can use the yolov12 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], Precision, Recall (AR@100), per-size mAP (small/medium/large)
Model variants: Default is m. Override with
MODEL_SIZE=s/m/l/x.
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) | — |
| ONNX Runtime | Auto | VitisAI Execution Provider | AMD Ryzen AI NPU | Auto-quantized internally; first run compiles in 5–10 minutes |
For setup instructions, evaluation scripts, and custom configuration options, see the yolov12 on GitHub.
Model Type: Object detection (single-pass CNN detector)
Base Model: YOLO12 (Ultralytics), size m default
Model Stats:
(1, 3, 640, 640) float32(1, 84, 8400) float32COCO quality evaluation is fully implemented — make eval-fulldataset-<device> runs inference across all 5,000 COCO val2017 images and computes official COCO metrics via pycocotools.
Higher mAP means the model's predicted boxes and classes agree more closely with ground truth across the dataset — 1.0 would be 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, so this is typically higher than [email protected]:0.95 and 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%, rewarding precise localization, not just correct detection. |
| Precision | Of all boxes the model predicted, what fraction were correct — high precision means few false positives. |
| Recall (AR@100) | Of all ground-truth objects, what fraction did the model find within its top 100 detections per image — high recall means few missed objects. |
| mAP-small/medium/large | [email protected]:0.95 broken down by object size — small objects are typically the hardest, exposing size-specific weaknesses a single aggregate score would hide. |
Full Dataset Evaluation (COCO val2017) — MODEL_SIZE=m:
| Device | Precision | [email protected]:0.95 | [email protected] | [email protected] | Precision | Recall |
|---|---|---|---|---|---|---|
| CPU | FP32 | 0.5141 | 0.6855 | 0.5568 | 0.4615 | 0.5623 |
| GPU | FP16 | 0.5137 | 0.6855 | 0.5555 | 0.4611 | 0.5616 |
| NPU | FP32 | 0.3164 | 0.4701 | 0.3458 | 0.2854 | 0.3582 |
Note: NPU quality may differ from CPU/GPU due to VitisAI's internal BF16 quantization. First NPU run takes 5–10 minutes for model compilation; subsequent runs use the cached compiled model.
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