DDRNet23-Slim: Optimized for Qualcomm Devices

DDRNet23Slim is a machine learning model that segments an image into semantic classes, specifically designed for road-based scenes. It is designed for the application of self-driving cars.

This is based on the implementation of DDRNet23-Slim 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.45, ONNX Runtime 1.25.0 Download
ONNX w8a8 Universal QAIRT 2.45, ONNX Runtime 1.25.0 Download
QNN_DLC float Universal QAIRT 2.45 Download
QNN_DLC w8a8 Universal QAIRT 2.45 Download
TFLITE float Universal QAIRT 2.45 Download

For more device-specific assets and performance metrics, visit DDRNet23-Slim 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 DDRNet23-Slim on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.semantic_segmentation

Model Stats:

  • Model checkpoint: DDRNet23s_imagenet.pth
  • Inference latency: RealTime
  • Input resolution: 2048x1024
  • Number of output classes: 19
  • Number of parameters: 6.13M
  • Model size (float): 21.7 MB
  • Model size (w8a8): 6.11 MB

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
DDRNet23-Slim ONNX float Snapdragon® X2 Elite 11.686 ms 189 - 189 MB NPU
DDRNet23-Slim ONNX float Snapdragon® X Elite 28.144 ms 158 - 158 MB NPU
DDRNet23-Slim ONNX float Snapdragon® 8 Gen 3 Mobile 19.887 ms 15 - 272 MB NPU
DDRNet23-Slim ONNX float Snapdragon® 8 Gen 1 Mobile 45.671 ms 29 - 290 MB NPU
DDRNet23-Slim ONNX float Qualcomm® QCS8550 (Proxy) 28.482 ms 24 - 42 MB NPU
DDRNet23-Slim ONNX float Qualcomm® QCS8450 45.671 ms 29 - 290 MB NPU
DDRNet23-Slim ONNX float Snapdragon® 8 Elite Mobile 15.429 ms 7 - 192 MB NPU
DDRNet23-Slim ONNX float Snapdragon® 8 Elite Gen 5 Mobile 11.32 ms 5 - 214 MB NPU
DDRNet23-Slim ONNX float Qualcomm® QCS9075 39.086 ms 24 - 93 MB NPU
DDRNet23-Slim ONNX float Qualcomm® QCS8750 15.429 ms 7 - 192 MB NPU
DDRNet23-Slim ONNX float Qualcomm® QCS7181 28.144 ms 158 - 158 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® X2 Elite 43.739 ms 207 - 207 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® X Elite 56.024 ms 175 - 175 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 39.622 ms 7 - 242 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 55.088 ms 7 - 242 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS6490 126.957 ms 6 - 51 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS8550 (Proxy) 53.416 ms 6 - 10 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS8450 55.088 ms 7 - 242 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 43.32 ms 3 - 201 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCM6690 198.895 ms 7 - 205 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS9075 53.146 ms 6 - 51 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® 8 Elite Mobile 41.029 ms 1 - 201 MB NPU
DDRNet23-Slim ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 53.86 ms 7 - 204 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS7790 53.86 ms 7 - 204 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS8750 41.029 ms 1 - 201 MB NPU
DDRNet23-Slim ONNX w8a8 Qualcomm® QCS7181 56.024 ms 175 - 175 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® X2 Elite 11.842 ms 24 - 24 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® X Elite 34.088 ms 24 - 24 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® 8 Gen 3 Mobile 22.336 ms 21 - 290 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® 8 Gen 1 Mobile 66.849 ms 24 - 300 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS8275 98.398 ms 15 - 212 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS8550 (Proxy) 33.033 ms 24 - 27 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® SA8775P 40.43 ms 24 - 221 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® SA8650P 40.43 ms 24 - 221 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® SA8255P 40.43 ms 24 - 221 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS8450 66.849 ms 24 - 300 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® 8 Elite Mobile 15.511 ms 17 - 237 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® SA8295P 43.541 ms 24 - 229 MB NPU
DDRNet23-Slim QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 10.428 ms 10 - 244 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® SA7255P 98.398 ms 15 - 212 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS9075 53.896 ms 24 - 52 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS8750 15.511 ms 17 - 237 MB NPU
DDRNet23-Slim QNN_DLC float Qualcomm® QCS7181 34.088 ms 24 - 24 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® X2 Elite 29.394 ms 6 - 6 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® X Elite 58.941 ms 6 - 6 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 41.711 ms 6 - 254 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 80.162 ms 7 - 254 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS8275 107.919 ms 6 - 205 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 56.235 ms 6 - 8 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS8450 80.162 ms 7 - 254 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 28.639 ms 6 - 239 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS9075 59.707 ms 6 - 14 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® SA7255P 107.919 ms 6 - 205 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 39.574 ms 6 - 223 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® SA8295P 66.502 ms 6 - 209 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS8750 39.574 ms 6 - 223 MB NPU
DDRNet23-Slim QNN_DLC w8a8 Qualcomm® QCS7181 58.941 ms 6 - 6 MB NPU
DDRNet23-Slim TFLITE float Snapdragon® 8 Gen 3 Mobile 22.384 ms 2 - 283 MB NPU
DDRNet23-Slim TFLITE float Snapdragon® 8 Gen 1 Mobile 67.08 ms 3 - 286 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® QCS8275 98.327 ms 2 - 204 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® QCS8550 (Proxy) 32.793 ms 2 - 4 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® SA8775P 223.39 ms 1 - 32 MB GPU
DDRNet23-Slim TFLITE float Qualcomm® SA8650P 223.39 ms 1 - 32 MB GPU
DDRNet23-Slim TFLITE float Qualcomm® SA8255P 223.39 ms 1 - 32 MB GPU
DDRNet23-Slim TFLITE float Qualcomm® QCS8450 67.08 ms 3 - 286 MB NPU
DDRNet23-Slim TFLITE float Snapdragon® 8 Elite Mobile 15.376 ms 1 - 227 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® SA8295P 43.437 ms 2 - 216 MB NPU
DDRNet23-Slim TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 10.373 ms 2 - 243 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® SA7255P 98.327 ms 2 - 204 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® QCS9075 53.912 ms 0 - 41 MB NPU
DDRNet23-Slim TFLITE float Qualcomm® QCS8750 15.376 ms 1 - 227 MB NPU

License

  • The license for the original implementation of DDRNet23-Slim can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/DDRNet23-Slim