qaihm-bot's picture
v0.67.0
82b6465 verified
|
Raw History Blame Contribute Delete
13.9 kB
---
library_name: pytorch
license: apache-2.0
tags:
- android
pipeline_tag: image-segmentation
---
![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/detectron2_panoptic_seg/web-assets/model_demo.png)
# Detectron2-Panoptic-Segmentation: Optimized for Qualcomm Devices
Detectron2-Panoptic-Segmentation is a machine learning model that performs panoptic segmentation (trained on COCO dataset), combining instance and semantic segmentation.
This is based on the implementation of Detectron2-Panoptic-Segmentation found [here](https://github.com/facebookresearch/detectron2/).
This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/detectron2_panoptic_seg) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) 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](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/detectron2_panoptic_seg/releases/v0.67.0/detectron2_panoptic_seg-onnx-float.zip)
| ONNX | mixed | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/detectron2_panoptic_seg/releases/v0.67.0/detectron2_panoptic_seg-onnx-mixed.zip)
| QNN_DLC | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/detectron2_panoptic_seg/releases/v0.67.0/detectron2_panoptic_seg-qnn_dlc-float.zip)
| TFLITE | float | Universal | QAIRT 2.51 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/detectron2_panoptic_seg/releases/v0.67.0/detectron2_panoptic_seg-tflite-float.zip)
For more device-specific assets and performance metrics, visit **[Detectron2-Panoptic-Segmentation on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/detectron2_panoptic_seg)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/detectron2_panoptic_seg) 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 [Detectron2-Panoptic-Segmentation on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.67.0/src/qai_hub_models/models/detectron2_panoptic_seg) for usage instructions.
## Model Details
**Model Type:** Model_use_case.semantic_segmentation
**Model Stats:**
- Input resolution: 800x800
- Model checkpoint: panoptic_fpn_R_50_1x
- Model size (float): 176 MB
- Number of parameters: 46.0M
## Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|---|---|---|---|---|---|---
| proposal_generator | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 59.247 ms | 132 - 1328 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 68.077 ms | 132 - 1376 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® X2 Elite | 57.786 ms | 264 - 264 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® X Elite | 109.038 ms | 268 - 268 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 159.37 ms | 136 - 1464 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 139.242 ms | 7 - 19 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 111.37 ms | 64 - 139 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® QCS8450 | 159.37 ms | 136 - 1464 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 136.879 ms | 7 - 18 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 109.038 ms | 268 - 268 MB | NPU
| proposal_generator | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 68.077 ms | 132 - 1376 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 45.654 ms | 134 - 1442 MB | NPU
| proposal_generator | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 60.994 ms | 36 - 1210 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 44.02 ms | 227 - 1350 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® 8 Elite For Galaxy Mobile | 50.082 ms | 185 - 1262 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® X2 Elite | 42.078 ms | 265 - 265 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® X Elite | 81.691 ms | 266 - 266 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® 8 Gen 1 Mobile | 104.411 ms | 210 - 1434 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® Dragonwing™ IQ-8275 | 87.974 ms | 79 - 91 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 82.297 ms | 211 - 214 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® QCS8450 | 104.411 ms | 210 - 1434 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® Dragonwing™ IQ-9075 | 87.273 ms | 7 - 18 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® Dragonwing™ IQ-X7181 | 81.691 ms | 266 - 266 MB | NPU
| proposal_generator | ONNX | mixed | Qualcomm® Dragonwing™ Q-8750 | 50.082 ms | 185 - 1262 MB | NPU
| proposal_generator | ONNX | mixed | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 67.558 ms | 225 - 1744 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 58.414 ms | 7 - 1189 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.517 ms | 7 - 1128 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® X2 Elite | 58.163 ms | 7 - 7 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® X Elite | 109.758 ms | 7 - 7 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 141.256 ms | 8 - 1391 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 137.051 ms | 7 - 78 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 111.202 ms | 7 - 10 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® QCS8450 | 141.256 ms | 8 - 1391 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 109.758 ms | 7 - 7 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 67.517 ms | 7 - 1128 MB | NPU
| proposal_generator | QNN_DLC | float | Qualcomm® SA8295P | 148.586 ms | 2 - 1183 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 44.628 ms | 7 - 1186 MB | NPU
| proposal_generator | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 58.16 ms | 7 - 1171 MB | NPU
| proposal_generator | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 54.851 ms | 52 - 1282 MB | NPU
| proposal_generator | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 64.955 ms | 45 - 1273 MB | NPU
| proposal_generator | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 134.852 ms | 68 - 1511 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 133.085 ms | 63 - 212 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 104.821 ms | 65 - 68 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® QCS8450 | 134.852 ms | 68 - 1511 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 130.333 ms | 16 - 165 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 64.955 ms | 45 - 1273 MB | NPU
| proposal_generator | TFLITE | float | Qualcomm® SA8295P | 141.566 ms | 67 - 1275 MB | NPU
| proposal_generator | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 44.425 ms | 66 - 1355 MB | NPU
| proposal_generator | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 58.317 ms | 66 - 1268 MB | NPU
| roi_head | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 68.427 ms | 101 - 1195 MB | NPU
| roi_head | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 88.674 ms | 104 - 972 MB | NPU
| roi_head | ONNX | float | Snapdragon® X2 Elite | 61.823 ms | 133 - 133 MB | NPU
| roi_head | ONNX | float | Snapdragon® X Elite | 127.546 ms | 133 - 133 MB | NPU
| roi_head | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 180.75 ms | 0 - 972 MB | NPU
| roi_head | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 172.223 ms | 52 - 108 MB | NPU
| roi_head | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 146.413 ms | 107 - 110 MB | NPU
| roi_head | ONNX | float | Qualcomm® QCS8450 | 180.75 ms | 0 - 972 MB | NPU
| roi_head | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 167.897 ms | 52 - 107 MB | NPU
| roi_head | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 127.546 ms | 133 - 133 MB | NPU
| roi_head | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 88.674 ms | 104 - 972 MB | NPU
| roi_head | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 49.099 ms | 116 - 965 MB | NPU
| roi_head | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 71.384 ms | 116 - 1226 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 31.616 ms | 126 - 959 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® 8 Elite For Galaxy Mobile | 41.473 ms | 158 - 986 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® X2 Elite | 35.31 ms | 266 - 266 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® X Elite | 107.312 ms | 266 - 266 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® 8 Gen 1 Mobile | 90.248 ms | 154 - 1088 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® Dragonwing™ IQ-8275 | 76.816 ms | 85 - 128 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 73.858 ms | 187 - 191 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® QCS8450 | 90.248 ms | 154 - 1088 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® Dragonwing™ IQ-9075 | 80.608 ms | 52 - 94 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® Dragonwing™ IQ-X7181 | 107.312 ms | 266 - 266 MB | NPU
| roi_head | ONNX | mixed | Qualcomm® Dragonwing™ Q-8750 | 41.473 ms | 158 - 986 MB | NPU
| roi_head | ONNX | mixed | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 31.622 ms | 102 - 1065 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 66.662 ms | 3 - 941 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 86.212 ms | 20 - 881 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® X2 Elite | 61.753 ms | 52 - 52 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® X Elite | 134.463 ms | 52 - 52 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 176.669 ms | 52 - 1020 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 171.062 ms | 52 - 155 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 149.269 ms | 52 - 664 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® QCS8450 | 176.669 ms | 52 - 1020 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 134.463 ms | 52 - 52 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 86.212 ms | 20 - 881 MB | NPU
| roi_head | QNN_DLC | float | Qualcomm® SA8295P | 188.269 ms | 52 - 898 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 49.884 ms | 3 - 844 MB | NPU
| roi_head | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 69.671 ms | 8 - 1113 MB | NPU
| roi_head | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 129.478 ms | 48 - 1444 MB | NPU
| roi_head | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 154.035 ms | 47 - 1285 MB | NPU
| roi_head | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 339.27 ms | 49 - 1538 MB | NPU
| roi_head | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 260.283 ms | 0 - 152 MB | NPU
| roi_head | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 252.93 ms | 48 - 53 MB | NPU
| roi_head | TFLITE | float | Qualcomm® QCS8450 | 339.27 ms | 49 - 1538 MB | NPU
| roi_head | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 285.016 ms | 0 - 151 MB | NPU
| roi_head | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 154.035 ms | 47 - 1285 MB | NPU
| roi_head | TFLITE | float | Qualcomm® SA8295P | 316.645 ms | 48 - 1346 MB | NPU
| roi_head | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 114.603 ms | 47 - 1296 MB | NPU
| roi_head | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 124.862 ms | 47 - 1201 MB | NPU
## License
* The license for the original implementation of Detectron2-Panoptic-Segmentation can be found
[here](https://github.com/facebookresearch/detectron2/blob/main/LICENSE).
## References
* [Source Model Implementation](https://github.com/facebookresearch/detectron2/)
## Community
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).