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 12.158 ms 8 - 243 MB NPU
PidNet ONNX float Snapdragon® 8 Elite For Galaxy Mobile 16.363 ms 18 - 220 MB NPU
PidNet ONNX float Snapdragon® X2 Elite 12.811 ms 24 - 24 MB NPU
PidNet ONNX float Snapdragon® X Elite 29.734 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.329 ms 27 - 322 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-8275 38.605 ms 5 - 33 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 29.657 ms 24 - 46 MB NPU
PidNet ONNX float Qualcomm® QCS8450 44.329 ms 27 - 322 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-9075 38.944 ms 6 - 33 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ IQ-X7181 29.734 ms 24 - 24 MB NPU
PidNet ONNX float Qualcomm® Dragonwing™ Q-8750 16.363 ms 18 - 220 MB NPU
PidNet ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 10.843 ms 30 - 236 MB NPU
PidNet ONNX float Snapdragon® 8 Elite Gen 6 Mobile 13.271 ms 30 - 222 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 22.339 ms 22 - 245 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 41.231 ms 22 - 230 MB NPU
PidNet ONNX w8a8 Snapdragon® X2 Elite 22.681 ms 24 - 24 MB NPU
PidNet ONNX w8a8 Snapdragon® X Elite 54.081 ms 24 - 24 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.793 ms 7 - 263 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 117.146 ms 24 - 33 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 50.428 ms 24 - 34 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 51.596 ms 24 - 205 MB NPU
PidNet ONNX w8a8 Qualcomm® QCS8450 54.793 ms 7 - 263 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 53.611 ms 24 - 34 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 54.081 ms 24 - 24 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 210.885 ms 7 - 210 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 62.487 ms 7 - 226 MB NPU
PidNet ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 41.231 ms 22 - 230 MB NPU
PidNet ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 62.487 ms 7 - 226 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 74.092 ms 7 - 239 MB NPU
PidNet ONNX w8a8 Snapdragon® 8 Elite Gen 6 Mobile 41.751 ms 7 - 234 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 11.832 ms 0 - 252 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 16.246 ms 10 - 239 MB NPU
PidNet QNN_DLC float Snapdragon® X2 Elite 13.479 ms 0 - 0 MB NPU
PidNet QNN_DLC float Snapdragon® X Elite 32.002 ms 0 - 0 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 44.121 ms 0 - 294 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 39.279 ms 0 - 5 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 30.736 ms 0 - 2 MB NPU
PidNet QNN_DLC float Qualcomm® SA8775P 39.027 ms 0 - 208 MB NPU
PidNet QNN_DLC float Qualcomm® SA8650P 39.027 ms 0 - 208 MB NPU
PidNet QNN_DLC float Qualcomm® SA8255P 39.027 ms 0 - 208 MB NPU
PidNet QNN_DLC float Qualcomm® QCS8450 44.121 ms 0 - 294 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 40.658 ms 2 - 7 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 32.002 ms 0 - 0 MB NPU
PidNet QNN_DLC float Qualcomm® Dragonwing™ Q-8750 16.246 ms 10 - 239 MB NPU
PidNet QNN_DLC float Qualcomm® SA8295P 44.878 ms 0 - 217 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 9.11 ms 0 - 231 MB NPU
PidNet QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 14.597 ms 0 - 198 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 24.204 ms 0 - 246 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 44.132 ms 12 - 232 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® X2 Elite 24.988 ms 30 - 30 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® X Elite 59.45 ms 30 - 30 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 58.283 ms 6 - 257 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 121.181 ms 26 - 35 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 55.856 ms 24 - 34 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 56.763 ms 6 - 32 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 58.283 ms 6 - 257 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 58.911 ms 24 - 33 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 59.45 ms 30 - 30 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 229.196 ms 6 - 200 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 66.152 ms 6 - 226 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 44.132 ms 12 - 232 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA7255P 109.289 ms 20 - 221 MB NPU
PidNet QNN_DLC w8a8 Qualcomm® SA8295P 65.509 ms 0 - 204 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 66.152 ms 6 - 226 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 39.216 ms 6 - 133 MB NPU
PidNet QNN_DLC w8a8 Snapdragon® 8 Elite Gen 6 Mobile 44.05 ms 6 - 224 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 11.898 ms 2 - 257 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 16.078 ms 12 - 251 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 44.154 ms 2 - 311 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ IQ-8275 39.305 ms 2 - 48 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 30.748 ms 2 - 5 MB NPU
PidNet TFLITE float Qualcomm® QCS8450 44.154 ms 2 - 311 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ IQ-9075 40.589 ms 1 - 46 MB NPU
PidNet TFLITE float Qualcomm® Dragonwing™ Q-8750 16.078 ms 12 - 251 MB NPU
PidNet TFLITE float Qualcomm® SA7255P 108.149 ms 3 - 218 MB NPU
PidNet TFLITE float Qualcomm® SA8295P 46.573 ms 3 - 229 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 9.083 ms 2 - 241 MB NPU
PidNet TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 14.685 ms 2 - 208 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 22.192 ms 28 - 273 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 69.074 ms 14 - 237 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.402 ms 1 - 255 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 49.356 ms 31 - 49 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 49.843 ms 1 - 33 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.402 ms 1 - 255 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 51.065 ms 30 - 48 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-6690 204.256 ms 1 - 192 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 51.629 ms 1 - 218 MB NPU
PidNet TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 69.074 ms 14 - 237 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA7255P 97.503 ms 26 - 228 MB NPU
PidNet TFLITE w8a8 Qualcomm® SA8295P 57.312 ms 1 - 206 MB NPU
PidNet TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 51.629 ms 1 - 218 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Extreme Gen 6 Mobile 67.039 ms 0 - 125 MB NPU
PidNet TFLITE w8a8 Snapdragon® 8 Elite Gen 6 Mobile 70.067 ms 0 - 218 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