Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
|
| 15 |
HRNet performs pose estimation in high-resolution representations.
|
| 16 |
|
| 17 |
-
This model is an implementation of HRNetPose found [here](
|
| 18 |
This repository provides scripts to run HRNetPose on Qualcomm® devices.
|
| 19 |
More details on model performance across various devices, can be found
|
| 20 |
[here](https://aihub.qualcomm.com/models/hrnet_pose).
|
|
@@ -29,15 +29,32 @@ More details on model performance across various devices, can be found
|
|
| 29 |
- Number of parameters: 28.5M
|
| 30 |
- Model size: 109 MB
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
-
| Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
| 36 |
-
| ---|---|---|---|---|---|---|---|
|
| 37 |
-
| Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 2.886 ms | 0 - 356 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite)
|
| 38 |
-
| Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | QNN Model Library | 2.964 ms | 1 - 16 MB | FP16 | NPU | [HRNetPose.so](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.so)
|
| 39 |
-
|
| 40 |
-
|
| 41 |
|
| 42 |
## Installation
|
| 43 |
|
|
@@ -93,16 +110,16 @@ device. This script does the following:
|
|
| 93 |
```bash
|
| 94 |
python -m qai_hub_models.models.hrnet_pose.export
|
| 95 |
```
|
| 96 |
-
|
| 97 |
```
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
| 106 |
```
|
| 107 |
|
| 108 |
|
|
@@ -201,15 +218,19 @@ provides instructions on how to use the `.so` shared library in an Android appl
|
|
| 201 |
Get more details on HRNetPose's performance across various devices [here](https://aihub.qualcomm.com/models/hrnet_pose).
|
| 202 |
Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
| 203 |
|
|
|
|
| 204 |
## License
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
|
|
|
| 208 |
|
| 209 |
## References
|
| 210 |
* [Deep High-Resolution Representation Learning for Human Pose Estimation](https://arxiv.org/abs/1902.09212)
|
| 211 |
* [Source Model Implementation](https://github.com/quic/aimet-model-zoo/tree/develop/aimet_zoo_torch/hrnet_posenet)
|
| 212 |
|
|
|
|
|
|
|
| 213 |
## Community
|
| 214 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 215 |
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|
|
|
|
| 14 |
|
| 15 |
HRNet performs pose estimation in high-resolution representations.
|
| 16 |
|
| 17 |
+
This model is an implementation of HRNetPose found [here]({source_repo}).
|
| 18 |
This repository provides scripts to run HRNetPose on Qualcomm® devices.
|
| 19 |
More details on model performance across various devices, can be found
|
| 20 |
[here](https://aihub.qualcomm.com/models/hrnet_pose).
|
|
|
|
| 29 |
- Number of parameters: 28.5M
|
| 30 |
- Model size: 109 MB
|
| 31 |
|
| 32 |
+
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
| 33 |
+
|---|---|---|---|---|---|---|---|---|
|
| 34 |
+
| HRNetPose | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 2.847 ms | 0 - 2 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 35 |
+
| HRNetPose | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 2.906 ms | 0 - 14 MB | FP16 | NPU | [HRNetPose.so](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.so) |
|
| 36 |
+
| HRNetPose | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.91 ms | 0 - 677 MB | FP16 | NPU | [HRNetPose.onnx](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.onnx) |
|
| 37 |
+
| HRNetPose | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 2.292 ms | 0 - 121 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 38 |
+
| HRNetPose | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 2.517 ms | 1 - 36 MB | FP16 | NPU | [HRNetPose.so](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.so) |
|
| 39 |
+
| HRNetPose | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 2.455 ms | 0 - 148 MB | FP16 | NPU | [HRNetPose.onnx](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.onnx) |
|
| 40 |
+
| HRNetPose | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 2.838 ms | 0 - 2 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 41 |
+
| HRNetPose | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 2.709 ms | 1 - 2 MB | FP16 | NPU | Use Export Script |
|
| 42 |
+
| HRNetPose | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 2.835 ms | 0 - 2 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 43 |
+
| HRNetPose | SA8255 (Proxy) | SA8255P Proxy | QNN | 2.717 ms | 1 - 2 MB | FP16 | NPU | Use Export Script |
|
| 44 |
+
| HRNetPose | SA8775 (Proxy) | SA8775P Proxy | TFLITE | 2.815 ms | 0 - 2 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 45 |
+
| HRNetPose | SA8775 (Proxy) | SA8775P Proxy | QNN | 2.758 ms | 1 - 2 MB | FP16 | NPU | Use Export Script |
|
| 46 |
+
| HRNetPose | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 2.843 ms | 0 - 2 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 47 |
+
| HRNetPose | SA8650 (Proxy) | SA8650P Proxy | QNN | 2.748 ms | 1 - 2 MB | FP16 | NPU | Use Export Script |
|
| 48 |
+
| HRNetPose | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 3.758 ms | 0 - 107 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 49 |
+
| HRNetPose | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 3.885 ms | 1 - 27 MB | FP16 | NPU | Use Export Script |
|
| 50 |
+
| HRNetPose | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 1.97 ms | 0 - 59 MB | FP16 | NPU | [HRNetPose.tflite](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.tflite) |
|
| 51 |
+
| HRNetPose | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 2.035 ms | 1 - 34 MB | FP16 | NPU | Use Export Script |
|
| 52 |
+
| HRNetPose | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.866 ms | 0 - 72 MB | FP16 | NPU | [HRNetPose.onnx](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.onnx) |
|
| 53 |
+
| HRNetPose | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 2.978 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
|
| 54 |
+
| HRNetPose | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.972 ms | 57 - 57 MB | FP16 | NPU | [HRNetPose.onnx](https://huggingface.co/qualcomm/HRNetPose/blob/main/HRNetPose.onnx) |
|
| 55 |
|
| 56 |
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
## Installation
|
| 60 |
|
|
|
|
| 110 |
```bash
|
| 111 |
python -m qai_hub_models.models.hrnet_pose.export
|
| 112 |
```
|
|
|
|
| 113 |
```
|
| 114 |
+
Profiling Results
|
| 115 |
+
------------------------------------------------------------
|
| 116 |
+
HRNetPose
|
| 117 |
+
Device : Samsung Galaxy S23 (13)
|
| 118 |
+
Runtime : TFLITE
|
| 119 |
+
Estimated inference time (ms) : 2.8
|
| 120 |
+
Estimated peak memory usage (MB): [0, 2]
|
| 121 |
+
Total # Ops : 516
|
| 122 |
+
Compute Unit(s) : NPU (516 ops)
|
| 123 |
```
|
| 124 |
|
| 125 |
|
|
|
|
| 218 |
Get more details on HRNetPose's performance across various devices [here](https://aihub.qualcomm.com/models/hrnet_pose).
|
| 219 |
Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
| 220 |
|
| 221 |
+
|
| 222 |
## License
|
| 223 |
+
* The license for the original implementation of HRNetPose can be found [here](https://github.com/quic/aimet-model-zoo/blob/develop/LICENSE.pdf).
|
| 224 |
+
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
| 225 |
+
|
| 226 |
+
|
| 227 |
|
| 228 |
## References
|
| 229 |
* [Deep High-Resolution Representation Learning for Human Pose Estimation](https://arxiv.org/abs/1902.09212)
|
| 230 |
* [Source Model Implementation](https://github.com/quic/aimet-model-zoo/tree/develop/aimet_zoo_torch/hrnet_posenet)
|
| 231 |
|
| 232 |
+
|
| 233 |
+
|
| 234 |
## Community
|
| 235 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 236 |
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|