Mer0vin8ian shreyajn commited on
Commit
01ac007
·
0 Parent(s):

Duplicate from qualcomm/LiteHRNet

Browse files

Co-authored-by: Shreya Jain <shreyajn@users.noreply.huggingface.co>

Files changed (4) hide show
  1. .gitattributes +37 -0
  2. LICENSE +1 -0
  3. README.md +113 -0
  4. release_assets.json +28 -0
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ DEPLOYMENT_MODEL_LICENSE.pdf filter=lfs diff=lfs merge=lfs -text
37
+ LiteHRNet_float.dlc filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1 @@
 
 
1
+ The license of the original trained model can be found at https://github.com/HRNet/Lite-HRNet/blob/hrnet/LICENSE.
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ license: other
4
+ tags:
5
+ - android
6
+ pipeline_tag: keypoint-detection
7
+
8
+ ---
9
+
10
+ ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/litehrnet/web-assets/model_demo.png)
11
+
12
+ # LiteHRNet: Optimized for Qualcomm Devices
13
+
14
+ LiteHRNet is a machine learning model that detects human pose and returns a location and confidence for each of 17 joints.
15
+
16
+ This is based on the implementation of LiteHRNet found [here](https://github.com/HRNet/Lite-HRNet).
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/v0.59.0/src/qai_hub_models/models/litehrnet) 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.45, ONNX Runtime 1.27.1 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/litehrnet/releases/v0.59.0/litehrnet-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/litehrnet/releases/v0.59.0/litehrnet-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/litehrnet/releases/v0.59.0/litehrnet-tflite-float.zip)
33
+
34
+ For more device-specific assets and performance metrics, visit **[LiteHRNet on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/litehrnet)**.
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/v0.59.0/src/qai_hub_models/models/litehrnet) 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 [LiteHRNet on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.59.0/src/qai_hub_models/models/litehrnet) for usage instructions.
47
+
48
+ ## Model Details
49
+
50
+ **Model Type:** Model_use_case.pose_estimation
51
+
52
+ **Model Stats:**
53
+ - Input resolution: 256x192
54
+ - Number of parameters: 1.11M
55
+ - Model size (float): 4.49 MB
56
+
57
+ ## Performance Summary
58
+ | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
59
+ |---|---|---|---|---|---|---
60
+ | LiteHRNet | ONNX | float | Snapdragon® X2 Elite | 2.842 ms | 2 - 2 MB | NPU
61
+ | LiteHRNet | ONNX | float | Snapdragon® X Elite | 5.61 ms | 5 - 5 MB | NPU
62
+ | LiteHRNet | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 3.063 ms | 0 - 121 MB | NPU
63
+ | LiteHRNet | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 6.228 ms | 1 - 120 MB | NPU
64
+ | LiteHRNet | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 5.338 ms | 0 - 123 MB | NPU
65
+ | LiteHRNet | ONNX | float | Qualcomm® QCS8450 | 6.228 ms | 1 - 120 MB | NPU
66
+ | LiteHRNet | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 5.679 ms | 1 - 4 MB | NPU
67
+ | LiteHRNet | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 5.61 ms | 5 - 5 MB | NPU
68
+ | LiteHRNet | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2.835 ms | 0 - 95 MB | NPU
69
+ | LiteHRNet | ONNX | float | Snapdragon® 8 Elite Mobile | 2.835 ms | 0 - 95 MB | NPU
70
+ | LiteHRNet | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.738 ms | 0 - 96 MB | NPU
71
+ | LiteHRNet | QNN_DLC | float | Snapdragon® X2 Elite | 1.23 ms | 1 - 1 MB | NPU
72
+ | LiteHRNet | QNN_DLC | float | Snapdragon® X Elite | 2.365 ms | 1 - 1 MB | NPU
73
+ | LiteHRNet | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 1.346 ms | 0 - 105 MB | NPU
74
+ | LiteHRNet | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 2.859 ms | 0 - 103 MB | NPU
75
+ | LiteHRNet | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8275 | 4.96 ms | 1 - 78 MB | NPU
76
+ | LiteHRNet | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 2.062 ms | 1 - 2 MB | NPU
77
+ | LiteHRNet | QNN_DLC | float | Qualcomm® SA8775P | 2.651 ms | 1 - 80 MB | NPU
78
+ | LiteHRNet | QNN_DLC | float | Qualcomm® SA8650P | 2.651 ms | 1 - 80 MB | NPU
79
+ | LiteHRNet | QNN_DLC | float | Qualcomm® SA8255P | 2.651 ms | 1 - 80 MB | NPU
80
+ | LiteHRNet | QNN_DLC | float | Qualcomm® QCS8450 | 2.859 ms | 0 - 103 MB | NPU
81
+ | LiteHRNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 3.237 ms | 3 - 5 MB | NPU
82
+ | LiteHRNet | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 2.365 ms | 1 - 1 MB | NPU
83
+ | LiteHRNet | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 1.023 ms | 0 - 83 MB | NPU
84
+ | LiteHRNet | QNN_DLC | float | Qualcomm® SA7255P | 4.96 ms | 1 - 78 MB | NPU
85
+ | LiteHRNet | QNN_DLC | float | Qualcomm® SA8295P | 3.427 ms | 0 - 81 MB | NPU
86
+ | LiteHRNet | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 1.023 ms | 0 - 83 MB | NPU
87
+ | LiteHRNet | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.875 ms | 1 - 82 MB | NPU
88
+ | LiteHRNet | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 2.635 ms | 0 - 150 MB | NPU
89
+ | LiteHRNet | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 5.227 ms | 0 - 137 MB | NPU
90
+ | LiteHRNet | TFLITE | float | Qualcomm® Dragonwing™ QCS8275 | 8.495 ms | 0 - 115 MB | NPU
91
+ | LiteHRNet | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4.158 ms | 0 - 2 MB | NPU
92
+ | LiteHRNet | TFLITE | float | Qualcomm® SA8775P | 5.116 ms | 0 - 114 MB | NPU
93
+ | LiteHRNet | TFLITE | float | Qualcomm® SA8650P | 5.116 ms | 0 - 114 MB | NPU
94
+ | LiteHRNet | TFLITE | float | Qualcomm® SA8255P | 5.116 ms | 0 - 114 MB | NPU
95
+ | LiteHRNet | TFLITE | float | Qualcomm® QCS8450 | 5.227 ms | 0 - 137 MB | NPU
96
+ | LiteHRNet | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 4.702 ms | 0 - 10 MB | NPU
97
+ | LiteHRNet | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 2.196 ms | 0 - 117 MB | NPU
98
+ | LiteHRNet | TFLITE | float | Qualcomm® SA7255P | 8.495 ms | 0 - 115 MB | NPU
99
+ | LiteHRNet | TFLITE | float | Qualcomm® SA8295P | 6.207 ms | 0 - 112 MB | NPU
100
+ | LiteHRNet | TFLITE | float | Snapdragon® 8 Elite Mobile | 2.196 ms | 0 - 117 MB | NPU
101
+ | LiteHRNet | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 2.014 ms | 0 - 111 MB | NPU
102
+
103
+ ## License
104
+ * The license for the original implementation of LiteHRNet can be found
105
+ [here](https://github.com/HRNet/Lite-HRNet/blob/hrnet/LICENSE).
106
+
107
+ ## References
108
+ * [Lite-HRNet: A Lightweight High-Resolution Network](https://arxiv.org/abs/2104.06403)
109
+ * [Source Model Implementation](https://github.com/HRNet/Lite-HRNet)
110
+
111
+ ## Community
112
+ * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
113
+ * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
release_assets.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.59.0",
3
+ "precisions": {
4
+ "float": {
5
+ "universal_assets": {
6
+ "onnx": {
7
+ "tool_versions": {
8
+ "qairt": "2.45.0.260326154327",
9
+ "onnx_runtime": "1.27.1"
10
+ },
11
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/litehrnet/releases/v0.59.0/litehrnet-onnx-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/litehrnet/releases/v0.59.0/litehrnet-qnn_dlc-float.zip"
18
+ },
19
+ "tflite": {
20
+ "tool_versions": {
21
+ "qairt": "2.45.0.260326154327"
22
+ },
23
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/litehrnet/releases/v0.59.0/litehrnet-tflite-float.zip"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }