PidNet: Optimized for Qualcomm Devices

PIDNet (Proportional-Integral-Derivative Network) is a real-time semantic segmentation model based on PID controllers

This is based on the implementation of PidNet 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.51, ONNX Runtime 1.30.0 Download
ONNX w8a8 Universal QAIRT 2.51, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.51 Download
QNN_DLC w8a8 Universal QAIRT 2.51 Download
TFLITE float Universal QAIRT 2.51 Download
TFLITE w8a8 Universal QAIRT 2.51 Download

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

Model Details

Model Type: Model_use_case.semantic_segmentation

Model Stats:

  • Inference latency: RealTime
  • Input resolution: 1024x2048
  • Model checkpoint: PIDNet_S_Cityscapes_val.pt
  • Model size (float): 29.1 MB
  • Model size (w8a8): 8.02 MB
  • Number of output classes: 19
  • Number of parameters: 8.06M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
PidNet ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 11.088 ms 5 - 244 MB NPU
PidNet ONNX float Snapdragon® 8 Elite For Galaxy Mobile 15.202 ms 6 - 211 MB NPU
PidNet ONNX float Snapdragon® X2 Elite 11.684 ms 24 - 24 MB NPU
PidNet ONNX float Snapdragon® X Elite 28.616 ms 24 - 24 MB NPU
PidNet ONNX float Snapdragon® 8 Gen 3 Mobile 22.111 ms 31 - 325 MB NPU
PidNet ONNX float Snapdragon® 8 Gen 1 Mobile 44.878 ms 9 - 304 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-8275 37.275 ms 24 - 52 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 29.061 ms 24 - 26 MB NPU
PidNet ONNX float Qualcomm® QCS8450 44.878 ms 9 - 304 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-9075 38.135 ms 24 - 51 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-X7181 28.616 ms 24 - 24 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ Q-8750 15.202 ms 6 - 211 MB NPU
PidNet ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 10.475 ms 29 - 236 MB NPU
PidNet ONNX float Snapdragon® 8 Elite Gen 6 Mobile 11.925 ms 29 - 224 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 22.31 ms 2 - 226 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 40.994 ms 1 - 210 MB NPU
PidNet ONNX w8a8 Snapdragon® X2 Elite 22.56 ms 7 - 7 MB NPU
PidNet ONNX w8a8 Snapdragon® X Elite 54.21 ms 7 - 7 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 39.078 ms 7 - 263 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 54.508 ms 8 - 263 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 116.17 ms 6 - 9 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 50.345 ms 6 - 10 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 51.85 ms 6 - 12 MB NPU
PidNet ONNX w8a8 Qualcomm® QCS8450 54.508 ms 8 - 263 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 53.529 ms 6 - 10 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 54.21 ms 7 - 7 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 231.434 ms 6 - 207 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 63.648 ms 7 - 225 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 40.994 ms 1 - 210 MB NPU
PidNet ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 63.648 ms 7 - 225 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 74.594 ms 7 - 239 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Gen 6 Mobile 42.125 ms 7 - 234 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 10.951 ms 5 - 260 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 15.113 ms 18 - 249 MB NPU
PidNet QNN_DLC float Snapdragon® X2 Elite 12.366 ms 24 - 24 MB NPU
PidNet QNN_DLC float Snapdragon® X Elite 31.133 ms 24 - 24 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Gen 3 Mobile 25.228 ms 18 - 313 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Gen 1 Mobile 43.756 ms 3 - 298 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 37.96 ms 24 - 53 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 29.654 ms 29 - 31 MB NPU
PidNet QNN_DLC float Qualcomm® QCS8450 43.756 ms 3 - 298 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 39.838 ms 26 - 55 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 31.133 ms 24 - 24 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ Q-8750 15.113 ms 18 - 249 MB NPU
PidNet QNN_DLC float Qualcomm® SA8295P 44.268 ms 24 - 242 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 8.788 ms 6 - 239 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 13.699 ms 7 - 205 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 24.292 ms 6 - 252 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 44.511 ms 6 - 226 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® X2 Elite 25.056 ms 6 - 6 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® X Elite 59.457 ms 6 - 6 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 43.06 ms 6 - 255 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 57.997 ms 6 - 259 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 120.838 ms 6 - 14 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 55.989 ms 3 - 13 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 56.539 ms 6 - 124 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA8775P 57.74 ms 6 - 206 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA8650P 57.74 ms 6 - 206 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA8255P 57.74 ms 6 - 206 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® QCS8450 57.997 ms 6 - 259 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 58.441 ms 8 - 17 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 59.457 ms 6 - 6 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 231.549 ms 6 - 200 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 66.654 ms 6 - 223 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 44.511 ms 6 - 226 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA8295P 65.527 ms 6 - 210 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 66.654 ms 6 - 223 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 39.332 ms 6 - 132 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 6 Mobile 43.926 ms 6 - 224 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 10.7 ms 2 - 258 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 15.569 ms 2 - 238 MB NPU
PidNet TFLITE float Snapdragon® 8 Gen 3 Mobile 25.623 ms 2 - 310 MB NPU
PidNet TFLITE float Snapdragon® 8 Gen 1 Mobile 42.137 ms 2 - 315 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ IQ-8275 37.999 ms 0 - 46 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 29.074 ms 3 - 5 MB NPU
PidNet TFLITE float Qualcomm® SA8775P 37.714 ms 2 - 217 MB NPU
PidNet TFLITE float Qualcomm® SA8650P 37.714 ms 2 - 217 MB NPU
PidNet TFLITE float Qualcomm® SA8255P 37.714 ms 2 - 217 MB NPU
PidNet TFLITE float Qualcomm® QCS8450 42.137 ms 2 - 315 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ IQ-9075 38.478 ms 0 - 46 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ Q-8750 15.569 ms 2 - 238 MB NPU
PidNet TFLITE float Qualcomm® SA7255P 105.324 ms 3 - 218 MB NPU
PidNet TFLITE float Qualcomm® SA8295P 44.765 ms 2 - 232 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 8.73 ms 2 - 240 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 13.809 ms 2 - 208 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 21.756 ms 1 - 245 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 68.92 ms 0 - 219 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 37.818 ms 0 - 251 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 50.224 ms 1 - 255 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ QCS6490 106.953 ms 1 - 18 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 49.068 ms 1 - 19 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 49.486 ms 1 - 30 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA8775P 50.211 ms 1 - 202 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA8650P 50.211 ms 1 - 202 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA8255P 50.211 ms 1 - 202 MB NPU
PidNet TFLITE w8a8 Qualcomm® QCS8450 50.224 ms 1 - 255 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 50.842 ms 1 - 18 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-6690 225.638 ms 0 - 192 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 51.879 ms 1 - 216 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 68.92 ms 0 - 219 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA7255P 96.645 ms 1 - 201 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA8295P 56.942 ms 1 - 204 MB NPU
PidNet TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 51.879 ms 1 - 216 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 66.703 ms 1 - 263 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Gen 6 Mobile 70.127 ms 0 - 228 MB NPU

License

  • The license for the original implementation of PidNet 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/PidNet