qaihm-bot commited on
Commit
c027f62
·
verified ·
1 Parent(s): dfc8ff3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -48
README.md CHANGED
@@ -37,38 +37,38 @@ More details on model performance across various devices, can be found
37
 
38
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
39
  |---|---|---|---|---|---|---|---|---|
40
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.422 ms | 0 - 50 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
41
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.418 ms | 0 - 3 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.so](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.so) |
42
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 0.64 ms | 0 - 44 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.onnx) |
43
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.323 ms | 0 - 45 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
44
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.3 ms | 0 - 21 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.so](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.so) |
45
- | Facial-Attribute-Detection-Quantized | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 0.436 ms | 0 - 54 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.onnx) |
46
- | Facial-Attribute-Detection-Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.324 ms | 0 - 35 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
47
- | Facial-Attribute-Detection-Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.327 ms | 0 - 32 MB | INT8 | NPU | Use Export Script |
48
- | Facial-Attribute-Detection-Quantized | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.465 ms | 0 - 43 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.onnx) |
49
- | Facial-Attribute-Detection-Quantized | SA7255P ADP | SA7255P | TFLITE | 4.933 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
50
- | Facial-Attribute-Detection-Quantized | SA7255P ADP | SA7255P | QNN | 4.857 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
51
- | Facial-Attribute-Detection-Quantized | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.427 ms | 0 - 50 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
52
- | Facial-Attribute-Detection-Quantized | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.418 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
53
- | Facial-Attribute-Detection-Quantized | SA8295P ADP | SA8295P | TFLITE | 0.929 ms | 0 - 34 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
54
- | Facial-Attribute-Detection-Quantized | SA8295P ADP | SA8295P | QNN | 0.845 ms | 0 - 18 MB | INT8 | NPU | Use Export Script |
55
- | Facial-Attribute-Detection-Quantized | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.419 ms | 0 - 51 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
56
- | Facial-Attribute-Detection-Quantized | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.421 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
57
- | Facial-Attribute-Detection-Quantized | SA8775P ADP | SA8775P | TFLITE | 0.767 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
58
- | Facial-Attribute-Detection-Quantized | SA8775P ADP | SA8775P | QNN | 0.701 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
59
- | Facial-Attribute-Detection-Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 1.46 ms | 0 - 41 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
60
- | Facial-Attribute-Detection-Quantized | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 1.564 ms | 0 - 14 MB | INT8 | NPU | Use Export Script |
61
- | Facial-Attribute-Detection-Quantized | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 69.358 ms | 2 - 5 MB | FP32 | CPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
62
- | Facial-Attribute-Detection-Quantized | QCS8275 (Proxy) | QCS8275 Proxy | TFLITE | 4.933 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
63
- | Facial-Attribute-Detection-Quantized | QCS8275 (Proxy) | QCS8275 Proxy | QNN | 4.857 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
64
- | Facial-Attribute-Detection-Quantized | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.422 ms | 0 - 49 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
65
- | Facial-Attribute-Detection-Quantized | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.417 ms | 0 - 2 MB | INT8 | NPU | Use Export Script |
66
- | Facial-Attribute-Detection-Quantized | QCS9075 (Proxy) | QCS9075 Proxy | TFLITE | 0.767 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
67
- | Facial-Attribute-Detection-Quantized | QCS9075 (Proxy) | QCS9075 Proxy | QNN | 0.701 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
68
- | Facial-Attribute-Detection-Quantized | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.669 ms | 0 - 45 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.tflite) |
69
- | Facial-Attribute-Detection-Quantized | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.65 ms | 0 - 44 MB | INT8 | NPU | Use Export Script |
70
- | Facial-Attribute-Detection-Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.513 ms | 0 - 0 MB | INT8 | NPU | Use Export Script |
71
- | Facial-Attribute-Detection-Quantized | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.609 ms | 13 - 13 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection-Quantized.onnx) |
72
 
73
 
74
 
@@ -129,11 +129,11 @@ python -m qai_hub_models.models.face_attrib_net_quantized.export
129
  ```
130
  Profiling Results
131
  ------------------------------------------------------------
132
- Facial-Attribute-Detection-Quantized
133
  Device : Samsung Galaxy S23 (13)
134
  Runtime : TFLITE
135
  Estimated inference time (ms) : 0.4
136
- Estimated peak memory usage (MB): [0, 50]
137
  Total # Ops : 171
138
  Compute Unit(s) : NPU (171 ops)
139
  ```
@@ -217,20 +217,6 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
217
 
218
 
219
 
220
- ## Run demo on a cloud-hosted device
221
-
222
- You can also run the demo on-device.
223
-
224
- ```bash
225
- python -m qai_hub_models.models.face_attrib_net_quantized.demo --on-device
226
- ```
227
-
228
- **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
229
- environment, please add the following to your cell (instead of the above).
230
- ```
231
- %run -m qai_hub_models.models.face_attrib_net_quantized.demo -- --on-device
232
- ```
233
-
234
 
235
  ## Deploying compiled model to Android
236
 
 
37
 
38
  | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
39
  |---|---|---|---|---|---|---|---|---|
40
+ | Facial-Attribute-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.427 ms | 0 - 49 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
41
+ | Facial-Attribute-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.41 ms | 0 - 3 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.so](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.so) |
42
+ | Facial-Attribute-Detection | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 0.584 ms | 0 - 50 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.onnx) |
43
+ | Facial-Attribute-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.33 ms | 0 - 44 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
44
+ | Facial-Attribute-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.318 ms | 0 - 19 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.so](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.so) |
45
+ | Facial-Attribute-Detection | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 0.433 ms | 0 - 52 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.onnx) |
46
+ | Facial-Attribute-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.319 ms | 0 - 34 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
47
+ | Facial-Attribute-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.32 ms | 0 - 32 MB | INT8 | NPU | Use Export Script |
48
+ | Facial-Attribute-Detection | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.448 ms | 0 - 40 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.onnx) |
49
+ | Facial-Attribute-Detection | SA7255P ADP | SA7255P | TFLITE | 4.913 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
50
+ | Facial-Attribute-Detection | SA7255P ADP | SA7255P | QNN | 4.841 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
51
+ | Facial-Attribute-Detection | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.422 ms | 0 - 51 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
52
+ | Facial-Attribute-Detection | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.42 ms | 0 - 2 MB | INT8 | NPU | Use Export Script |
53
+ | Facial-Attribute-Detection | SA8295P ADP | SA8295P | TFLITE | 0.897 ms | 0 - 34 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
54
+ | Facial-Attribute-Detection | SA8295P ADP | SA8295P | QNN | 0.834 ms | 0 - 18 MB | INT8 | NPU | Use Export Script |
55
+ | Facial-Attribute-Detection | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.432 ms | 0 - 49 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
56
+ | Facial-Attribute-Detection | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.413 ms | 0 - 2 MB | INT8 | NPU | Use Export Script |
57
+ | Facial-Attribute-Detection | SA8775P ADP | SA8775P | TFLITE | 0.761 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
58
+ | Facial-Attribute-Detection | SA8775P ADP | SA8775P | QNN | 0.698 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
59
+ | Facial-Attribute-Detection | RB3 Gen 2 (Proxy) | QCS6490 Proxy | TFLITE | 1.418 ms | 0 - 40 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
60
+ | Facial-Attribute-Detection | RB3 Gen 2 (Proxy) | QCS6490 Proxy | QNN | 1.574 ms | 0 - 15 MB | INT8 | NPU | Use Export Script |
61
+ | Facial-Attribute-Detection | RB5 (Proxy) | QCS8250 Proxy | TFLITE | 62.564 ms | 2 - 5 MB | INT8 | CPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
62
+ | Facial-Attribute-Detection | QCS8275 (Proxy) | QCS8275 Proxy | TFLITE | 4.913 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
63
+ | Facial-Attribute-Detection | QCS8275 (Proxy) | QCS8275 Proxy | QNN | 4.841 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
64
+ | Facial-Attribute-Detection | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.42 ms | 0 - 50 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
65
+ | Facial-Attribute-Detection | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.419 ms | 0 - 3 MB | INT8 | NPU | Use Export Script |
66
+ | Facial-Attribute-Detection | QCS9075 (Proxy) | QCS9075 Proxy | TFLITE | 0.761 ms | 0 - 31 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
67
+ | Facial-Attribute-Detection | QCS9075 (Proxy) | QCS9075 Proxy | QNN | 0.698 ms | 0 - 10 MB | INT8 | NPU | Use Export Script |
68
+ | Facial-Attribute-Detection | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 0.655 ms | 0 - 50 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.tflite) |
69
+ | Facial-Attribute-Detection | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.633 ms | 0 - 44 MB | INT8 | NPU | Use Export Script |
70
+ | Facial-Attribute-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.524 ms | 0 - 0 MB | INT8 | NPU | Use Export Script |
71
+ | Facial-Attribute-Detection | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.604 ms | 14 - 14 MB | INT8 | NPU | [Facial-Attribute-Detection-Quantized.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection-Quantized/blob/main/Facial-Attribute-Detection.onnx) |
72
 
73
 
74
 
 
129
  ```
130
  Profiling Results
131
  ------------------------------------------------------------
132
+ Facial-Attribute-Detection
133
  Device : Samsung Galaxy S23 (13)
134
  Runtime : TFLITE
135
  Estimated inference time (ms) : 0.4
136
+ Estimated peak memory usage (MB): [0, 49]
137
  Total # Ops : 171
138
  Compute Unit(s) : NPU (171 ops)
139
  ```
 
217
 
218
 
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
 
221
  ## Deploying compiled model to Android
222