Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -34,39 +34,39 @@ More details on model performance across various devices, can be found
|
|
34 |
|
35 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
36 |
|---|---|---|---|---|---|---|---|---|
|
37 |
-
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.
|
38 |
-
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.
|
39 |
-
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 0.
|
40 |
-
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.
|
41 |
-
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.
|
42 |
-
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 0.
|
43 |
-
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.
|
44 |
-
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.
|
45 |
-
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.
|
46 |
-
| Facial-Landmark-Detection | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.
|
47 |
-
| Facial-Landmark-Detection | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.
|
48 |
-
| Facial-Landmark-Detection | SA7255P ADP | SA7255P | TFLITE | 6.
|
49 |
-
| Facial-Landmark-Detection | SA7255P ADP | SA7255P | QNN | 6.
|
50 |
-
| Facial-Landmark-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.
|
51 |
-
| Facial-Landmark-Detection | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.
|
52 |
-
| Facial-Landmark-Detection | SA8295P ADP | SA8295P | TFLITE | 0.
|
53 |
-
| Facial-Landmark-Detection | SA8295P ADP | SA8295P | QNN |
|
54 |
-
| Facial-Landmark-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.
|
55 |
-
| Facial-Landmark-Detection | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.
|
56 |
-
| Facial-Landmark-Detection | SA8775P ADP | SA8775P | TFLITE | 0.
|
57 |
-
| Facial-Landmark-Detection | SA8775P ADP | SA8775P | QNN | 0.
|
58 |
-
| Facial-Landmark-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.
|
59 |
-
| Facial-Landmark-Detection | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.
|
60 |
-
| Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.
|
61 |
-
| Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
## Installation
|
67 |
|
68 |
-
This model can be installed as a Python package via pip.
|
69 |
|
|
|
70 |
```bash
|
71 |
pip install qai-hub-models
|
72 |
```
|
@@ -123,7 +123,7 @@ Facial-Landmark-Detection
|
|
123 |
Device : Samsung Galaxy S23 (13)
|
124 |
Runtime : TFLITE
|
125 |
Estimated inference time (ms) : 0.3
|
126 |
-
Estimated peak memory usage (MB): [0,
|
127 |
Total # Ops : 38
|
128 |
Compute Unit(s) : NPU (38 ops)
|
129 |
```
|
@@ -150,7 +150,7 @@ from qai_hub_models.models.facemap_3dmm import Model
|
|
150 |
torch_model = Model.from_pretrained()
|
151 |
|
152 |
# Device
|
153 |
-
device = hub.Device("Samsung Galaxy
|
154 |
|
155 |
# Trace model
|
156 |
input_shape = torch_model.get_input_spec()
|
@@ -242,7 +242,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
242 |
|
243 |
|
244 |
## License
|
245 |
-
* The license for the original implementation of Facial-Landmark-Detection can be found
|
|
|
246 |
* 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)
|
247 |
|
248 |
|
|
|
34 |
|
35 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
36 |
|---|---|---|---|---|---|---|---|---|
|
37 |
+
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.305 ms | 0 - 56 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
38 |
+
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.362 ms | 0 - 3 MB | FP16 | NPU | [Facial-Landmark-Detection.so](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.so) |
|
39 |
+
| Facial-Landmark-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 0.468 ms | 0 - 36 MB | FP16 | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
40 |
+
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.233 ms | 0 - 24 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
41 |
+
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.277 ms | 0 - 23 MB | FP16 | NPU | [Facial-Landmark-Detection.so](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.so) |
|
42 |
+
| Facial-Landmark-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 0.383 ms | 0 - 21 MB | FP16 | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
43 |
+
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.251 ms | 0 - 15 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
44 |
+
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.238 ms | 0 - 16 MB | FP16 | NPU | Use Export Script |
|
45 |
+
| Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.322 ms | 0 - 17 MB | FP16 | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
46 |
+
| Facial-Landmark-Detection | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.299 ms | 0 - 36 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
47 |
+
| Facial-Landmark-Detection | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.35 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
48 |
+
| Facial-Landmark-Detection | SA7255P ADP | SA7255P | TFLITE | 6.332 ms | 0 - 11 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
49 |
+
| Facial-Landmark-Detection | SA7255P ADP | SA7255P | QNN | 6.55 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
|
50 |
+
| Facial-Landmark-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.293 ms | 0 - 45 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
51 |
+
| Facial-Landmark-Detection | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.35 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
52 |
+
| Facial-Landmark-Detection | SA8295P ADP | SA8295P | TFLITE | 0.699 ms | 0 - 16 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
53 |
+
| Facial-Landmark-Detection | SA8295P ADP | SA8295P | QNN | 0.951 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
|
54 |
+
| Facial-Landmark-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.301 ms | 0 - 45 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
55 |
+
| Facial-Landmark-Detection | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.348 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
56 |
+
| Facial-Landmark-Detection | SA8775P ADP | SA8775P | TFLITE | 0.615 ms | 0 - 11 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
57 |
+
| Facial-Landmark-Detection | SA8775P ADP | SA8775P | QNN | 0.889 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
|
58 |
+
| Facial-Landmark-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.427 ms | 0 - 20 MB | FP16 | NPU | [Facial-Landmark-Detection.tflite](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.tflite) |
|
59 |
+
| Facial-Landmark-Detection | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.512 ms | 0 - 19 MB | FP16 | NPU | Use Export Script |
|
60 |
+
| Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.434 ms | 0 - 0 MB | FP16 | NPU | Use Export Script |
|
61 |
+
| Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.457 ms | 13 - 13 MB | FP16 | NPU | [Facial-Landmark-Detection.onnx](https://huggingface.co/qualcomm/Facial-Landmark-Detection/blob/main/Facial-Landmark-Detection.onnx) |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
## Installation
|
67 |
|
|
|
68 |
|
69 |
+
Install the package via pip:
|
70 |
```bash
|
71 |
pip install qai-hub-models
|
72 |
```
|
|
|
123 |
Device : Samsung Galaxy S23 (13)
|
124 |
Runtime : TFLITE
|
125 |
Estimated inference time (ms) : 0.3
|
126 |
+
Estimated peak memory usage (MB): [0, 56]
|
127 |
Total # Ops : 38
|
128 |
Compute Unit(s) : NPU (38 ops)
|
129 |
```
|
|
|
150 |
torch_model = Model.from_pretrained()
|
151 |
|
152 |
# Device
|
153 |
+
device = hub.Device("Samsung Galaxy S24")
|
154 |
|
155 |
# Trace model
|
156 |
input_shape = torch_model.get_input_spec()
|
|
|
242 |
|
243 |
|
244 |
## License
|
245 |
+
* The license for the original implementation of Facial-Landmark-Detection can be found
|
246 |
+
[here](https://github.com/qcom-ai-hub/ai-hub-models-internal/blob/main/LICENSE).
|
247 |
* 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)
|
248 |
|
249 |
|