qaihm-bot commited on
Commit
e8e9946
·
verified ·
1 Parent(s): 0eee0cd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +28 -27
README.md CHANGED
@@ -37,38 +37,38 @@ More details on model performance across various devices, can be found
37
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
  | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.032 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
40
- | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.109 ms | 1 - 5 MB | FP16 | NPU | [Lightweight-Face-Detection.so](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.so) |
41
- | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.384 ms | 1 - 5 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
42
- | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.684 ms | 0 - 23 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
43
- | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.735 ms | 1 - 23 MB | FP16 | NPU | [Lightweight-Face-Detection.so](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.so) |
44
- | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.453 ms | 1 - 26 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
45
- | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.716 ms | 0 - 17 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
46
- | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.762 ms | 0 - 18 MB | FP16 | NPU | Use Export Script |
47
- | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.414 ms | 0 - 24 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
48
- | Lightweight-Face-Detection | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.032 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
49
- | Lightweight-Face-Detection | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.084 ms | 1 - 5 MB | FP16 | NPU | Use Export Script |
50
- | Lightweight-Face-Detection | SA7255P ADP | SA7255P | TFLITE | 22.495 ms | 0 - 12 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
51
- | Lightweight-Face-Detection | SA7255P ADP | SA7255P | QNN | 22.599 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
52
- | Lightweight-Face-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.026 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
53
- | Lightweight-Face-Detection | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.092 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
54
- | Lightweight-Face-Detection | SA8295P ADP | SA8295P | TFLITE | 1.757 ms | 0 - 17 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
55
- | Lightweight-Face-Detection | SA8295P ADP | SA8295P | QNN | 2.481 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
56
- | Lightweight-Face-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.029 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
57
- | Lightweight-Face-Detection | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.097 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
58
- | Lightweight-Face-Detection | SA8775P ADP | SA8775P | TFLITE | 1.93 ms | 0 - 12 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
59
- | Lightweight-Face-Detection | SA8775P ADP | SA8775P | QNN | 2.135 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
60
- | Lightweight-Face-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1.344 ms | 0 - 21 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
61
- | Lightweight-Face-Detection | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.36 ms | 1 - 24 MB | FP16 | NPU | Use Export Script |
62
- | Lightweight-Face-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.228 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
63
- | Lightweight-Face-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.189 ms | 2 - 2 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
64
 
65
 
66
 
67
 
68
  ## Installation
69
 
70
- This model can be installed as a Python package via pip.
71
 
 
72
  ```bash
73
  pip install qai-hub-models
74
  ```
@@ -152,7 +152,7 @@ from qai_hub_models.models.face_det_lite import Model
152
  torch_model = Model.from_pretrained()
153
 
154
  # Device
155
- device = hub.Device("Samsung Galaxy S23")
156
 
157
  # Trace model
158
  input_shape = torch_model.get_input_spec()
@@ -230,7 +230,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
230
 
231
 
232
  ## License
233
- * The license for the original implementation of Lightweight-Face-Detection can be found [here](https://github.com/qcom-ai-hub/ai-hub-models-internal/blob/main/LICENSE).
 
234
  * 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)
235
 
236
 
 
37
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
  | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 1.032 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
40
+ | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 1.096 ms | 1 - 5 MB | FP16 | NPU | [Lightweight-Face-Detection.so](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.so) |
41
+ | Lightweight-Face-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 2.409 ms | 0 - 9 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
42
+ | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.683 ms | 0 - 26 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
43
+ | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.732 ms | 0 - 21 MB | FP16 | NPU | [Lightweight-Face-Detection.so](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.so) |
44
+ | Lightweight-Face-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 1.502 ms | 0 - 29 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
45
+ | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.717 ms | 0 - 18 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
46
+ | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.773 ms | 1 - 19 MB | FP16 | NPU | Use Export Script |
47
+ | Lightweight-Face-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 1.565 ms | 1 - 25 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
48
+ | Lightweight-Face-Detection | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1.029 ms | 0 - 5 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
49
+ | Lightweight-Face-Detection | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 1.098 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
50
+ | Lightweight-Face-Detection | SA7255P ADP | SA7255P | TFLITE | 22.358 ms | 0 - 13 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
51
+ | Lightweight-Face-Detection | SA7255P ADP | SA7255P | QNN | 22.459 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
52
+ | Lightweight-Face-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1.035 ms | 0 - 4 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
53
+ | Lightweight-Face-Detection | SA8255 (Proxy) | SA8255P Proxy | QNN | 1.085 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
54
+ | Lightweight-Face-Detection | SA8295P ADP | SA8295P | TFLITE | 1.736 ms | 0 - 16 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
55
+ | Lightweight-Face-Detection | SA8295P ADP | SA8295P | QNN | 2.084 ms | 0 - 14 MB | FP16 | NPU | Use Export Script |
56
+ | Lightweight-Face-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 1.025 ms | 0 - 5 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
57
+ | Lightweight-Face-Detection | SA8650 (Proxy) | SA8650P Proxy | QNN | 1.086 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
58
+ | Lightweight-Face-Detection | SA8775P ADP | SA8775P | TFLITE | 1.925 ms | 0 - 11 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
59
+ | Lightweight-Face-Detection | SA8775P ADP | SA8775P | QNN | 2.209 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
60
+ | Lightweight-Face-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1.274 ms | 0 - 17 MB | FP16 | NPU | [Lightweight-Face-Detection.tflite](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.tflite) |
61
+ | Lightweight-Face-Detection | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 1.34 ms | 1 - 24 MB | FP16 | NPU | Use Export Script |
62
+ | Lightweight-Face-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.242 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
63
+ | Lightweight-Face-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 2.177 ms | 2 - 2 MB | FP16 | NPU | [Lightweight-Face-Detection.onnx](https://huggingface.co/qualcomm/Lightweight-Face-Detection/blob/main/Lightweight-Face-Detection.onnx) |
64
 
65
 
66
 
67
 
68
  ## Installation
69
 
 
70
 
71
+ Install the package via pip:
72
  ```bash
73
  pip install qai-hub-models
74
  ```
 
152
  torch_model = Model.from_pretrained()
153
 
154
  # Device
155
+ device = hub.Device("Samsung Galaxy S24")
156
 
157
  # Trace model
158
  input_shape = torch_model.get_input_spec()
 
230
 
231
 
232
  ## License
233
+ * The license for the original implementation of Lightweight-Face-Detection can be found
234
+ [here](https://github.com/qcom-ai-hub/ai-hub-models-internal/blob/main/LICENSE).
235
  * 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)
236
 
237