v0.52.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.52.0 for changelog.
- LICENSE +1 -0
- README.md +94 -0
- release_assets.json +29 -0
LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
The license of the original trained model can be found at https://github.com/mlcommons/inference/blob/33894a19c4af6207f7cfdda75f84570f04836de5/LICENSE.md.
|
README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
license: other
|
| 4 |
+
tags:
|
| 5 |
+
- android
|
| 6 |
+
pipeline_tag: object-detection
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+

|
| 11 |
+
|
| 12 |
+
# ResNet34-SSD: Optimized for Qualcomm Devices
|
| 13 |
+
|
| 14 |
+
ResNet34-SSD is a single-stage object detection model that integrates the ResNet34 backbone with the SSD (Single Shot MultiBox Detector) framework. It is optimized for real-time detection tasks and supports multiple deployment backends including PyTorch, TensorFlow, and ONNX.
|
| 15 |
+
|
| 16 |
+
This is based on the implementation of ResNet34-SSD found [here](https://github.com/mlcommons/inference/tree/33894a19c4af6207f7cfdda75f84570f04836de5/vision/classification_and_detection).
|
| 17 |
+
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/main/src/qai_hub_models/models/resnet34_ssd1200) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 18 |
+
|
| 19 |
+
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.
|
| 20 |
+
|
| 21 |
+
## Getting Started
|
| 22 |
+
There are two ways to deploy this model on your device:
|
| 23 |
+
|
| 24 |
+
### Option 1: Download Pre-Exported Models
|
| 25 |
+
|
| 26 |
+
Below are pre-exported model assets ready for deployment.
|
| 27 |
+
|
| 28 |
+
| Runtime | Precision | Chipset | SDK Versions | Download |
|
| 29 |
+
|---|---|---|---|---|
|
| 30 |
+
| ONNX | float | Universal | QAIRT 2.42, ONNX Runtime 1.24.3 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-onnx-float.zip)
|
| 31 |
+
| QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-qnn_dlc-float.zip)
|
| 32 |
+
| TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-tflite-float.zip)
|
| 33 |
+
|
| 34 |
+
For more device-specific assets and performance metrics, visit **[ResNet34-SSD on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/resnet34_ssd1200)**.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
### Option 2: Export with Custom Configurations
|
| 38 |
+
|
| 39 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/main/src/qai_hub_models/models/resnet34_ssd1200) Python library to compile and export the model with your own:
|
| 40 |
+
- Custom weights (e.g., fine-tuned checkpoints)
|
| 41 |
+
- Custom input shapes
|
| 42 |
+
- Target device and runtime configurations
|
| 43 |
+
|
| 44 |
+
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 45 |
+
|
| 46 |
+
See our repository for [ResNet34-SSD on GitHub](https://github.com/qualcomm/ai-hub-models/blob/main/src/qai_hub_models/models/resnet34_ssd1200) for usage instructions.
|
| 47 |
+
|
| 48 |
+
## Model Details
|
| 49 |
+
|
| 50 |
+
**Model Type:** Model_use_case.object_detection
|
| 51 |
+
|
| 52 |
+
**Model Stats:**
|
| 53 |
+
- Model checkpoint: resnet34-ssd1200
|
| 54 |
+
- Input resolution: 1x3x1200x1200
|
| 55 |
+
- Number of parameters: 20.0M
|
| 56 |
+
- Model size (float): 76.2 MB
|
| 57 |
+
|
| 58 |
+
## Performance Summary
|
| 59 |
+
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
|
| 60 |
+
|---|---|---|---|---|---|---
|
| 61 |
+
| ResNet34-SSD | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 38.083 ms | 0 - 503 MB | NPU
|
| 62 |
+
| ResNet34-SSD | ONNX | float | Snapdragon® X2 Elite | 42.948 ms | 30 - 30 MB | NPU
|
| 63 |
+
| ResNet34-SSD | ONNX | float | Snapdragon® X Elite | 91.439 ms | 29 - 29 MB | NPU
|
| 64 |
+
| ResNet34-SSD | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 62.737 ms | 2 - 515 MB | NPU
|
| 65 |
+
| ResNet34-SSD | ONNX | float | Qualcomm® QCS8550 (Proxy) | 90.435 ms | 0 - 32 MB | NPU
|
| 66 |
+
| ResNet34-SSD | ONNX | float | Qualcomm® QCS9075 | 152.805 ms | 16 - 36 MB | NPU
|
| 67 |
+
| ResNet34-SSD | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 50.221 ms | 1 - 431 MB | NPU
|
| 68 |
+
| ResNet34-SSD | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 52.144 ms | 16 - 551 MB | NPU
|
| 69 |
+
| ResNet34-SSD | QNN_DLC | float | Snapdragon® X2 Elite | 61.954 ms | 17 - 17 MB | NPU
|
| 70 |
+
| ResNet34-SSD | QNN_DLC | float | Snapdragon® X Elite | 129.337 ms | 17 - 17 MB | NPU
|
| 71 |
+
| ResNet34-SSD | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 84.716 ms | 16 - 607 MB | NPU
|
| 72 |
+
| ResNet34-SSD | QNN_DLC | float | Qualcomm® QCS8275 (Proxy) | 481.457 ms | 16 - 385 MB | NPU
|
| 73 |
+
| ResNet34-SSD | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 129.514 ms | 17 - 20 MB | NPU
|
| 74 |
+
| ResNet34-SSD | QNN_DLC | float | Qualcomm® QCS9075 | 194.011 ms | 17 - 35 MB | NPU
|
| 75 |
+
| ResNet34-SSD | QNN_DLC | float | Qualcomm® QCS8450 (Proxy) | 260.877 ms | 4 - 508 MB | NPU
|
| 76 |
+
| ResNet34-SSD | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 67.232 ms | 16 - 394 MB | NPU
|
| 77 |
+
| ResNet34-SSD | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 74.9 ms | 0 - 564 MB | NPU
|
| 78 |
+
| ResNet34-SSD | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 108.177 ms | 0 - 547 MB | NPU
|
| 79 |
+
| ResNet34-SSD | TFLITE | float | Qualcomm® QCS8275 (Proxy) | 513.551 ms | 0 - 377 MB | NPU
|
| 80 |
+
| ResNet34-SSD | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 143.313 ms | 0 - 4 MB | NPU
|
| 81 |
+
| ResNet34-SSD | TFLITE | float | Qualcomm® QCS9075 | 199.657 ms | 0 - 64 MB | NPU
|
| 82 |
+
| ResNet34-SSD | TFLITE | float | Qualcomm® QCS8450 (Proxy) | 232.566 ms | 1 - 616 MB | NPU
|
| 83 |
+
| ResNet34-SSD | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 86.771 ms | 19 - 421 MB | NPU
|
| 84 |
+
|
| 85 |
+
## License
|
| 86 |
+
* The license for the original implementation of ResNet34-SSD can be found
|
| 87 |
+
[here](https://github.com/mlcommons/inference/blob/33894a19c4af6207f7cfdda75f84570f04836de5/LICENSE.md).
|
| 88 |
+
|
| 89 |
+
## References
|
| 90 |
+
* [Source Model Implementation](https://github.com/mlcommons/inference/tree/33894a19c4af6207f7cfdda75f84570f04836de5/vision/classification_and_detection)
|
| 91 |
+
|
| 92 |
+
## Community
|
| 93 |
+
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 94 |
+
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|
release_assets.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.52.0",
|
| 3 |
+
"precisions": {
|
| 4 |
+
"float": {
|
| 5 |
+
"universal_assets": {
|
| 6 |
+
"tflite": {
|
| 7 |
+
"tool_versions": {
|
| 8 |
+
"qairt": "2.45.0.260326154327",
|
| 9 |
+
"litert": "1.4.2"
|
| 10 |
+
},
|
| 11 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-tflite-float.zip"
|
| 12 |
+
},
|
| 13 |
+
"qnn_dlc": {
|
| 14 |
+
"tool_versions": {
|
| 15 |
+
"qairt": "2.45.0.260326154327"
|
| 16 |
+
},
|
| 17 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-qnn_dlc-float.zip"
|
| 18 |
+
},
|
| 19 |
+
"onnx": {
|
| 20 |
+
"tool_versions": {
|
| 21 |
+
"qairt": "2.42.0.251225135753_193295",
|
| 22 |
+
"onnx_runtime": "1.24.3"
|
| 23 |
+
},
|
| 24 |
+
"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/resnet34_ssd1200/releases/v0.52.0/resnet34_ssd1200-onnx-float.zip"
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
}
|