/ Модель

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

Лицензия
Apache 2.0
Библиотека
onnxruntime
Опубликована
4 авг 2026

deeplabv3

Сегментация изображенийИзображение → mask3 профессии

Экспорт DeepLabV3 на MobileNetV3-Large для попиксельной сегментации изображений на 21 класс Pascal VOC через ONNX Runtime.

0скачиваний за 30 дней1лайквеса обновлены23 окт 2026

Бенчмарки

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

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

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

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

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

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

AMD-PAVS-AI подготовила экспорт DeepLabV3 для семантической сегментации изображений с запуском через ONNX Runtime на AMD CPU, GPU и NPU. Модель использует архитектуру DeepLabV3 с backbone MobileNetV3-Large и весами для Pascal VOC; она относит каждый пиксель к одной из 21 категорий, включая фон. Размер входного тензора — 1×3×513×513, выходного — 1×21×513×513.

Репозиторий ориентирован на воспроизведение оценки и инференс на платформах AMD с ROCm, а также поддерживает CPU-выполнение. Для GPU заявлены FP32, FP16, BF16 и INT8 через MIGraphX; для NPU используется внутренняя квантизация VitisAI. На валидационном наборе Pascal VOC 2012 авторы приводят mIoU 0,6748 для CPU и GPU в FP32. Лицензия — Apache-2.0.

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

  • сегментация объектов на изображениях Pascal VOC
  • попиксельная классификация объектов и фона
  • оценка качества семантической сегментации по mIoU
  • инференс сегментации на AMD CPU и GPU
  • запуск сегментации на AMD NPU через VitisAI

Ограничения

Модель предсказывает только 21 категорию Pascal VOC и принимает вход фиксированного размера 513×513 согласно описанию. Качество на NPU может отличаться от CPU и GPU из-за внутренней квантизации VitisAI.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

DeepLabV3: Optimized for AMD ROCm

DeepLabV3 is a semantic segmentation model that classifies every pixel in an image into one of 21 Pascal VOC categories. This repository packages evaluation/inference for semantic segmentation using ONNX Runtime, exported and validated for AMD ROCm so it runs efficiently on AMD GPUs and CPUs.

This is based on the implementation of DeepLabV3 found here. This repository contains configurations and scripts optimized for AMD® ROCm™ platforms. You can use the DeepLabV3 AMD scripts to reproduce results or export with custom configurations. More details on model performance can be found here.


Task Overview

Task: Semantic segmentation

Dataset: Pascal VOC 2012 val (1,449 images, 21 classes including background)

Output metrics: mIoU, Pixel Accuracy, Mean Pixel Accuracy, FW-IoU, Precision, Recall, F1, Dice

NPU note: VitisAI auto-quantizes internally, so NPU runs omit an explicit precision selection.


AMD ROCm Optimization

This model export has been adapted and validated for AMD Instinct™ / Radeon™ GPUs running ROCm, as well as AMD CPUs. Key points:

  • Runs via ONNX Runtime across CPU (FP32), GPU (MIGraphX — FP32/FP16/BF16/INT8), and NPU (VitisAI — auto-quantized internally).
  • The FP32 model is exported from torchvision (DeepLabV3 MobileNetV3-Large, PASCAL VOC weights); the INT8 QDQ model is produced by vai_q_onnx static quantization for NPU.
  • No code changes required versus the upstream DeepLabV3 implementation — only environment/runtime configuration differs.
  • CPU fallback path supported for environments without a ROCm-capable GPU.
RuntimePrecisionBackendHardwareNotes
ONNX RuntimeFP32CPUAMD CPUDefault CPU path
ONNX RuntimeFP32 / FP16 / BF16 / INT8MIGraphXAMD GPUIndividually or all at once
ONNX RuntimeAuto (VitisAI-quantized)VitisAIAMD NPUAuto-quantized internally

Getting Started

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


Model Details

Model Type: Semantic segmentation (DeepLabV3 with MobileNetV3-Large backbone)

Base Model: torchvision DeepLabV3 MobileNetV3-Large (PASCAL VOC weights)

Model Stats:

  • Input tensor: (1, 3, 513, 513), float32
  • Output tensor: (1, 21, 513, 513), float32
  • Precision tested: FP32, FP16, BF16, INT8

Accuracy Pipeline

Higher mIoU means the model's per-pixel class predictions agree more closely with ground truth across all 21 categories — 1.0 would be perfect segmentation, 0.0 means no overlap between predicted and true regions. In practice, values above ~0.6 for mIoU are considered strong for VOC-scale semantic segmentation.

Metrics Explained

MetricDescription
mIoUMean Intersection over Union — the primary segmentation metric, averaged across all 21 classes. Higher means predicted regions overlap ground truth more precisely; it penalizes both missed regions and false predictions equally, making it the most balanced single number.
Pixel AccuracyFraction of all pixels classified correctly. Easy to saturate when background dominates — a model that predicts "background everywhere" can score high, so use mIoU as the primary metric instead.
Mean Pixel AccuracyPer-class pixel accuracy averaged across classes. Gives equal weight to rare and common classes, exposing weaknesses on small/infrequent categories that Pixel Accuracy would hide.
FW-IoUFrequency-weighted IoU — weights each class's IoU by its pixel frequency. Closer to Pixel Accuracy than mIoU; useful when you care more about getting large regions right than small ones.
PrecisionMean per-class precision — of all pixels the model assigned to a class, what fraction actually belong to it. High precision means few false positives (less "hallucinated" segmentation).
RecallMean per-class recall — of all ground-truth pixels for a class, what fraction did the model correctly label. High recall means few missed regions (false negatives).
F1Mean per-class F1 score — harmonic mean of precision and recall. Balances the two failure modes; useful when neither false positives nor false negatives are clearly more costly.
DiceMean per-class Dice coefficient — numerically equivalent to F1 for binary masks, included for compatibility with medical/biomedical segmentation conventions.

Accuracy Results

Full Dataset Evaluation (Pascal VOC 2012 val):

DevicePrecisionmIoUPixel AccuracyMean Pixel AccuracyFW-IoUPrecisionRecallF1Dice
CPUFP320.67480.91710.78570.85410.81110.78570.79310.7931
GPUFP320.67480.91710.78570.85410.81110.78570.79310.7931

Note: NPU quality may differ from CPU/GPU due to VitisAI's internal BF16 quantization.


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
  • Benchmark, profile, and evaluation scripts for CPU, GPU, and NPU
  • Sample input/output images and annotated prediction outputs
  • Full-dataset accuracy pipeline and metrics aggregation

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

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

GPU в ailist

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

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

Модель выложена только в формате ONNX.

Ревизия весов
2abc7bc

0 моделей