/ Модель

Характеристики

Лицензия
AGPL 3.0
Библиотека
onnx
Опубликована
4 авг 2026

yolov12

Поиск объектовИзображение → bounding_boxes

YOLO12 — ONNX-модель обнаружения объектов 80 категорий COCO, оптимизированная для запуска через ONNX Runtime на оборудовании AMD.

0скачиваний за 30 дней0лайковвеса обновлены20 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

YOLO12 — модель компьютерного зрения для обнаружения и локализации объектов, представленная в репозитории AMD-PAVS-AI и основанная на реализации YOLO12 от Ultralytics. Это однопроходный CNN-детектор; вариант m используется по умолчанию, доступны размеры s, l и x. Модель принимает изображения размером 640 × 640 и распознаёт объекты 80 категорий COCO.

Репозиторий содержит экспорт в ONNX и настройки для запуска через ONNX Runtime на процессорах AMD, GPU с ROCm и Ryzen AI NPU. Для GPU описана работа с FP32, FP16, BF16 и INT8; NPU применяет внутреннюю квантизацию, которая может снижать точность. Качество оценивалось на COCO val2017. Лицензия репозитория — AGPL-3.0.

Сценарии применения

  • обнаружение объектов на изображениях COCO
  • локализация людей и предметов в кадре
  • инференс детектора на AMD GPU с ROCm
  • запуск детектора на AMD CPU
  • обнаружение объектов на AMD Ryzen AI NPU

Ограничения

Оценка качества приведена для COCO val2017; результаты на других данных могут отличаться. На Ryzen AI NPU внутренняя квантизация VitisAI может снижать качество, а первая компиляция модели занимает 5–10 минут.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

YOLO12: Optimized for AMD ROCm

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 Overview

Task: Object detection

Dataset: COCO val2017 (5,000 images, 80 categories)

Output metrics: mAP@0.5:0.95, mAP@0.5, mAP@0.75, Precision, Recall (AR@100), per-size mAP (small/medium/large)

Model variants: Default is m. Override with MODEL_SIZE=s/m/l/x.


AMD ROCm Optimization

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:

  • Validated backends: ONNX Runtime across CPU (FP32), GPU (MIGraphX Execution Provider — FP32/FP16/BF16/INT8), and NPU (VitisAI Execution Provider, auto-quantized internally).
  • No code changes required versus the upstream Ultralytics YOLO12 implementation — only environment/runtime configuration differs.
  • First NPU run takes 5–10 minutes for model compilation; subsequent runs use the cached compiled model.
RuntimePrecisionBackendHardwareNotes
ONNX RuntimeFP32CPU Execution ProviderAMD CPU—
ONNX RuntimeFP32 / FP16 / BF16 / INT8MIGraphX Execution ProviderAMD Instinct™ / Radeon™ GPU (ROCm)—
ONNX RuntimeAutoVitisAI Execution ProviderAMD Ryzen AI NPUAuto-quantized internally; first run compiles in 5–10 minutes

Getting Started

For setup instructions, evaluation scripts, and custom configuration options, see the yolov12 on GitHub.


Model Details

Model Type: Object detection (single-pass CNN detector)

Base Model: YOLO12 (Ultralytics), size m default

Model Stats:

  • Input: (1, 3, 640, 640) float32
  • Output: (1, 84, 8400) float32
  • Precision tested: FP32 (CPU); FP32, FP16, BF16, INT8 (GPU); auto-quantized (NPU)

Accuracy Pipeline

COCO 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 mAP@0.5:0.95 are considered strong for COCO-scale object detection.

Metrics Explained

MetricDescription
mAP@0.5:0.95Primary 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.
mAP@0.5AP 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 mAP@0.5:0.95 and reflects "did it find the object" more than "how precisely."
mAP@0.75AP at a stricter IoU threshold of 0.75 — the predicted box must overlap ground truth by 75%, rewarding precise localization, not just correct detection.
PrecisionOf 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/largemAP@0.5:0.95 broken down by object size — small objects are typically the hardest, exposing size-specific weaknesses a single aggregate score would hide.

Accuracy Results

Full Dataset Evaluation (COCO val2017) — MODEL_SIZE=m:

DevicePrecisionmAP@0.5:0.95mAP@0.5mAP@0.75PrecisionRecall
CPUFP320.51410.68550.55680.46150.5623
GPUFP160.51370.68550.55550.46110.5616
NPUFP320.31640.47010.34580.28540.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.


Dig Deeper

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:

  • Setup and prerequisites for ROCm environments
  • Full COCO val2017 evaluation pipeline via pycocotools
  • Per-operator latency profiling scripts (including NPU AI Analyzer integration)
  • Benchmarking and reproduction instructions across CPU, GPU, and NPU

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · onnx

Нельзя запустить

В репозитории нет весов в формате PyTorch/safetensors.

Ревизия весов
ff55d9d

0 моделей