PSPNet: Optimized for Qualcomm Devices
PSPNet (Pyramid Scene Parsing Network) is a semantic segmentation model that captures global context information by applying pyramid pooling modules. It is designed to improve scene understanding by aggregating contextual features at multiple scales.
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 |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit PSPNet 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 PSPNet on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.semantic_segmentation
Model Stats:
- Input resolution: 1x3x473x473
- Model checkpoint: pspnet101_ade20k.pth
- Model size (float): 251 MB
- Number of parameters: 65.7M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| PSPNet | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 571.265 ms | 134 - 1778 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 567.163 ms | 119 - 1703 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® X2 Elite | 549.737 ms | 528 - 528 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® X Elite | 787.081 ms | 532 - 532 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 593.617 ms | 142 - 2936 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 1266.165 ms | 116 - 769 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 955.479 ms | 54 - 61 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 784.323 ms | 85 - 245 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® QCS8450 | 1266.165 ms | 116 - 769 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 867.736 ms | 157 - 163 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 787.081 ms | 532 - 532 MB | NPU |
| PSPNet | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 567.163 ms | 119 - 1703 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 372.308 ms | 275 - 1525 MB | NPU |
| PSPNet | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 667.927 ms | 108 - 1727 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 347.158 ms | 0 - 1142 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 408.448 ms | 0 - 1075 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® X2 Elite | 345.18 ms | 0 - 0 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® X Elite | 762.239 ms | 0 - 0 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 621.508 ms | 3 - 2801 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 1370.189 ms | 0 - 618 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 846.528 ms | 0 - 131 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 751.281 ms | 0 - 2 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® QCS8450 | 1370.189 ms | 0 - 618 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 853.985 ms | 0 - 130 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 762.239 ms | 0 - 0 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 408.448 ms | 0 - 1075 MB | NPU |
| PSPNet | QNN_DLC | float | Qualcomm® SA8295P | 961.365 ms | 0 - 477 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 328.984 ms | 0 - 1181 MB | NPU |
| PSPNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 560.311 ms | 0 - 1124 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 554.411 ms | 128 - 1821 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 579.931 ms | 127 - 1760 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 605.29 ms | 134 - 3020 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 1450.914 ms | 108 - 1032 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 904.543 ms | 128 - 408 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 782.227 ms | 128 - 131 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® SA8775P | 7805.509 ms | 514 - 524 MB | CPU |
| PSPNet | TFLITE | float | Qualcomm® SA8650P | 7805.509 ms | 514 - 524 MB | CPU |
| PSPNet | TFLITE | float | Qualcomm® SA8255P | 7805.509 ms | 514 - 524 MB | CPU |
| PSPNet | TFLITE | float | Qualcomm® QCS8450 | 1450.914 ms | 108 - 1032 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 866.467 ms | 128 - 407 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 579.931 ms | 127 - 1760 MB | NPU |
| PSPNet | TFLITE | float | Qualcomm® SA8295P | 883.186 ms | 128 - 843 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 380.788 ms | 128 - 1468 MB | NPU |
| PSPNet | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 660.879 ms | 79 - 1748 MB | NPU |
License
- The license for the original implementation of PSPNet can be found here.
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
