qaihm-bot commited on
Commit
2484f1b
·
verified ·
1 Parent(s): 81eb471

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +30 -29
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.303 ms | 0 - 46 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.35 ms | 0 - 26 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.467 ms | 0 - 39 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.234 ms | 0 - 23 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.285 ms | 0 - 20 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.386 ms | 0 - 19 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.209 ms | 0 - 16 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.268 ms | 0 - 16 MB | FP16 | NPU | Use Export Script |
45
- | Facial-Landmark-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.372 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.303 ms | 0 - 56 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.354 ms | 0 - 4 MB | FP16 | NPU | Use Export Script |
48
- | Facial-Landmark-Detection | SA7255P ADP | SA7255P | TFLITE | 6.472 ms | 0 - 10 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.759 ms | 0 - 9 MB | FP16 | NPU | Use Export Script |
50
- | Facial-Landmark-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.303 ms | 0 - 46 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.355 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
52
- | Facial-Landmark-Detection | SA8295P ADP | SA8295P | TFLITE | 0.697 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 | 1.015 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
54
- | Facial-Landmark-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.302 ms | 0 - 46 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.35 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
56
- | Facial-Landmark-Detection | SA8775P ADP | SA8775P | TFLITE | 0.62 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.832 ms | 0 - 10 MB | FP16 | NPU | Use Export Script |
58
- | Facial-Landmark-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.448 ms | 0 - 16 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.532 ms | 0 - 18 MB | FP16 | NPU | Use Export Script |
60
- | Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.433 ms | 0 - 0 MB | FP16 | NPU | Use Export Script |
61
- | Facial-Landmark-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.462 ms | 12 - 12 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
- 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, 46]
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 S23")
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 [here](https://github.com/qcom-ai-hub/ai-hub-models-internal/blob/main/LICENSE).
 
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