DeepLabXception / README.md
qaihm-bot's picture
v0.50.2
1ea85e6 verified
|
raw
history blame
10.5 kB
metadata
library_name: pytorch
license: other
tags:
  - bu_auto
  - android
pipeline_tag: image-segmentation

DeepLabXception: Optimized for Qualcomm Devices

DeepLabXception is a semantic segmentation model supporting multiple backbones like ResNet-101 and Xception, with flexible dataset compatibility including COCO, VOC, and Cityscapes.

This is based on the implementation of DeepLabXception found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

Runtime Precision Chipset SDK Versions Download
ONNX float Universal QAIRT 2.42, ONNX Runtime 1.24.3 Download
ONNX w8a8 Universal QAIRT 2.42, ONNX Runtime 1.24.3 Download
QNN_DLC float Universal QAIRT 2.43 Download
QNN_DLC w8a8 Universal QAIRT 2.43 Download
TFLITE float Universal QAIRT 2.43, TFLite 2.19.1 Download
TFLITE w8a8 Universal QAIRT 2.43, TFLite 2.19.1 Download

For more device-specific assets and performance metrics, visit DeepLabXception on Qualcomm® AI Hub.

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:

  • Custom weights (e.g., fine-tuned checkpoints)
  • Custom input shapes
  • Target device and runtime configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for DeepLabXception on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.semantic_segmentation

Model Stats:

  • Model checkpoint: COCO_WITH_VOC_LABELS_V1
  • Input resolution: 480x520
  • Number of output classes: 21
  • Number of parameters: 41.26M
  • Model size (float): 158 MB

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
DeepLabXception ONNX float Snapdragon® 8 Elite Gen 5 Mobile 8.881 ms 3 - 255 MB NPU
DeepLabXception ONNX float Snapdragon® X2 Elite 10.453 ms 86 - 86 MB NPU
DeepLabXception ONNX float Snapdragon® X Elite 22.956 ms 85 - 85 MB NPU
DeepLabXception ONNX float Snapdragon® 8 Gen 3 Mobile 17.0 ms 0 - 367 MB NPU
DeepLabXception ONNX float Qualcomm® QCS8550 (Proxy) 22.43 ms 0 - 96 MB NPU
DeepLabXception ONNX float Qualcomm® QCS9075 33.553 ms 3 - 8 MB NPU
DeepLabXception ONNX float Snapdragon® 8 Elite For Galaxy Mobile 13.26 ms 1 - 242 MB NPU
DeepLabXception ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 3.058 ms 0 - 293 MB NPU
DeepLabXception ONNX w8a8 Snapdragon® X2 Elite 3.348 ms 44 - 44 MB NPU
DeepLabXception ONNX w8a8 Snapdragon® X Elite 7.998 ms 44 - 44 MB NPU
DeepLabXception ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 5.275 ms 0 - 389 MB NPU
DeepLabXception ONNX w8a8 Qualcomm® QCS6490 318.533 ms 92 - 119 MB CPU
DeepLabXception ONNX w8a8 Qualcomm® QCS8550 (Proxy) 7.438 ms 0 - 51 MB NPU
DeepLabXception ONNX w8a8 Qualcomm® QCS9075 7.628 ms 0 - 4 MB NPU
DeepLabXception ONNX w8a8 Qualcomm® QCM6690 244.569 ms 59 - 73 MB CPU
DeepLabXception ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 4.211 ms 0 - 283 MB NPU
DeepLabXception ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 229.761 ms 91 - 105 MB CPU
DeepLabXception QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 9.525 ms 3 - 258 MB NPU
DeepLabXception QNN_DLC float Snapdragon® X2 Elite 11.481 ms 3 - 3 MB NPU
DeepLabXception QNN_DLC float Snapdragon® X Elite 22.739 ms 3 - 3 MB NPU
DeepLabXception QNN_DLC float Snapdragon® 8 Gen 3 Mobile 16.008 ms 2 - 367 MB NPU
DeepLabXception QNN_DLC float Qualcomm® QCS8550 (Proxy) 21.914 ms 3 - 5 MB NPU
DeepLabXception QNN_DLC float Qualcomm® SA8775P 30.623 ms 0 - 244 MB NPU
DeepLabXception QNN_DLC float Qualcomm® QCS9075 36.016 ms 5 - 10 MB NPU
DeepLabXception QNN_DLC float Qualcomm® QCS8450 (Proxy) 46.323 ms 3 - 363 MB NPU
DeepLabXception QNN_DLC float Qualcomm® SA8295P 39.001 ms 0 - 241 MB NPU
DeepLabXception QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 12.179 ms 3 - 254 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 3.26 ms 1 - 271 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® X2 Elite 3.869 ms 1 - 1 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® X Elite 8.53 ms 1 - 1 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 5.55 ms 1 - 373 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCS6490 33.811 ms 1 - 3 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCS8275 (Proxy) 20.336 ms 1 - 282 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 7.888 ms 1 - 3 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® SA8775P 8.085 ms 1 - 285 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCS9075 8.711 ms 1 - 3 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCM6690 93.454 ms 1 - 303 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® QCS8450 (Proxy) 13.82 ms 1 - 367 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® SA7255P 20.336 ms 1 - 282 MB NPU
DeepLabXception QNN_DLC w8a8 Qualcomm® SA8295P 12.624 ms 1 - 277 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 4.377 ms 1 - 287 MB NPU
DeepLabXception QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 12.101 ms 1 - 277 MB NPU
DeepLabXception TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 9.204 ms 0 - 369 MB NPU
DeepLabXception TFLITE float Snapdragon® 8 Gen 3 Mobile 16.148 ms 0 - 482 MB NPU
DeepLabXception TFLITE float Qualcomm® QCS8275 (Proxy) 113.261 ms 0 - 358 MB NPU
DeepLabXception TFLITE float Qualcomm® QCS8550 (Proxy) 21.316 ms 0 - 8 MB NPU
DeepLabXception TFLITE float Qualcomm® SA8775P 30.584 ms 0 - 358 MB NPU
DeepLabXception TFLITE float Qualcomm® QCS9075 35.556 ms 0 - 93 MB NPU
DeepLabXception TFLITE float Qualcomm® QCS8450 (Proxy) 45.665 ms 0 - 473 MB NPU
DeepLabXception TFLITE float Qualcomm® SA7255P 113.261 ms 0 - 358 MB NPU
DeepLabXception TFLITE float Qualcomm® SA8295P 38.684 ms 0 - 349 MB NPU
DeepLabXception TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 12.244 ms 0 - 364 MB NPU
DeepLabXception TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 2.897 ms 0 - 267 MB NPU
DeepLabXception TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 4.952 ms 0 - 373 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCS6490 31.564 ms 0 - 58 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCS8275 (Proxy) 18.929 ms 0 - 285 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCS8550 (Proxy) 6.935 ms 0 - 3 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® SA8775P 7.234 ms 0 - 284 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCS9075 7.499 ms 0 - 47 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCM6690 90.917 ms 0 - 295 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® QCS8450 (Proxy) 12.237 ms 0 - 361 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® SA7255P 18.929 ms 0 - 285 MB NPU
DeepLabXception TFLITE w8a8 Qualcomm® SA8295P 11.612 ms 0 - 273 MB NPU
DeepLabXception TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 3.905 ms 0 - 273 MB NPU
DeepLabXception TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 11.136 ms 0 - 268 MB NPU

License

  • The license for the original implementation of DeepLabXception can be found here.

References

Community