qaihm-bot commited on
Commit
f320773
·
verified ·
1 Parent(s): 2286249

See https://github.com/quic/ai-hub-models/releases/v0.30.5 for changelog.

Facial-Attribute-Detection_w8a8.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22095ec6f58c35a0ec9528381b4fc7d56bf14bb311410ddc31019abb612c5172
3
- size 48874155
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86afd432956e005658b7ac13a27d63c713710f613b611bec49517c0c0a8d43cb
3
+ size 48899104
Facial-Attribute-Detection_w8a8.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4eb8849520fff78f4381239849ef0dd84b959abadc40a17f943b121a1dc56f69
3
  size 12885688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efa6a00ccc61f91a91f0fb25d2e0190a1942636245dd51c7840ee78a7e7d049b
3
  size 12885688
README.md CHANGED
@@ -13,11 +13,7 @@ pipeline_tag: object-detection
13
  # Facial-Attribute-Detection: Optimized for Mobile Deployment
14
  ## Comprehensive facial analysis by extracting face features
15
 
16
-
17
- Facial feature extraction and additional attributes including liveness, eyeclose, mask and glasses detection for face recognition.
18
-
19
- This model is an implementation of Facial-Attribute-Detection found [here](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/face_attrib_net/model.py).
20
-
21
 
22
  This repository provides scripts to run Facial-Attribute-Detection on Qualcomm® devices.
23
  More details on model performance across various devices, can be found
@@ -30,74 +26,73 @@ More details on model performance across various devices, can be found
30
  - **Model Stats:**
31
  - Model checkpoint: multitask_FR_state_dict.pt
32
  - Input resolution: 128x128
33
- - Input channel number: 1
34
  - Number of parameters: 11.6M
35
  - Model size (float): 47.6MB
36
  - Model size (w8a8): 47.6MB
37
 
38
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
39
  |---|---|---|---|---|---|---|---|---|
40
- | Facial-Attribute-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 4.372 ms | 0 - 33 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
41
- | Facial-Attribute-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 4.372 ms | 0 - 10 MB | NPU | Use Export Script |
42
- | Facial-Attribute-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.265 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
43
- | Facial-Attribute-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 1.554 ms | 0 - 31 MB | NPU | Use Export Script |
44
- | Facial-Attribute-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.879 ms | 0 - 120 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
45
- | Facial-Attribute-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.917 ms | 0 - 11 MB | NPU | Use Export Script |
46
- | Facial-Attribute-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.414 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
47
- | Facial-Attribute-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.432 ms | 0 - 15 MB | NPU | Use Export Script |
48
- | Facial-Attribute-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 4.372 ms | 0 - 33 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
49
- | Facial-Attribute-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 4.372 ms | 0 - 10 MB | NPU | Use Export Script |
50
- | Facial-Attribute-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.894 ms | 0 - 122 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
51
- | Facial-Attribute-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.925 ms | 0 - 2 MB | NPU | Use Export Script |
52
- | Facial-Attribute-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.527 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
53
- | Facial-Attribute-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 1.536 ms | 0 - 18 MB | NPU | Use Export Script |
54
- | Facial-Attribute-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.874 ms | 0 - 114 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
55
- | Facial-Attribute-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.92 ms | 0 - 2 MB | NPU | Use Export Script |
56
- | Facial-Attribute-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.414 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
57
- | Facial-Attribute-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.432 ms | 0 - 15 MB | NPU | Use Export Script |
58
- | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.871 ms | 0 - 118 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
59
- | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.913 ms | 0 - 11 MB | NPU | Use Export Script |
60
- | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.063 ms | 0 - 83 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
61
- | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.679 ms | 0 - 40 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
62
- | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.698 ms | 0 - 30 MB | NPU | Use Export Script |
63
- | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.783 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
64
- | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.604 ms | 0 - 36 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
65
- | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.565 ms | 0 - 26 MB | NPU | Use Export Script |
66
- | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.781 ms | 0 - 25 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
67
- | Facial-Attribute-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.027 ms | 0 - 0 MB | NPU | Use Export Script |
68
- | Facial-Attribute-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.057 ms | 25 - 25 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
69
- | Facial-Attribute-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 1.204 ms | 0 - 31 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
70
- | Facial-Attribute-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 1.123 ms | 0 - 9 MB | NPU | Use Export Script |
71
- | Facial-Attribute-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.662 ms | 0 - 51 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
72
- | Facial-Attribute-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.747 ms | 0 - 45 MB | NPU | Use Export Script |
73
- | Facial-Attribute-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.422 ms | 0 - 50 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
74
- | Facial-Attribute-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.409 ms | 0 - 2 MB | NPU | Use Export Script |
75
- | Facial-Attribute-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.657 ms | 0 - 34 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
76
- | Facial-Attribute-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.609 ms | 0 - 14 MB | NPU | Use Export Script |
77
- | Facial-Attribute-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 1.38 ms | 0 - 40 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
78
- | Facial-Attribute-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 1.639 ms | 0 - 11 MB | NPU | Use Export Script |
79
- | Facial-Attribute-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 72.884 ms | 2 - 4 MB | CPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
80
- | Facial-Attribute-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.204 ms | 0 - 31 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
81
- | Facial-Attribute-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 1.123 ms | 0 - 9 MB | NPU | Use Export Script |
82
- | Facial-Attribute-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.422 ms | 0 - 50 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
83
- | Facial-Attribute-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.409 ms | 0 - 11 MB | NPU | Use Export Script |
84
- | Facial-Attribute-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.894 ms | 0 - 34 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
85
- | Facial-Attribute-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.841 ms | 0 - 18 MB | NPU | Use Export Script |
86
- | Facial-Attribute-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.419 ms | 0 - 50 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
87
- | Facial-Attribute-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.414 ms | 0 - 2 MB | NPU | Use Export Script |
88
- | Facial-Attribute-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.657 ms | 0 - 34 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
89
- | Facial-Attribute-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.609 ms | 0 - 14 MB | NPU | Use Export Script |
90
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.422 ms | 0 - 50 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
91
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.409 ms | 0 - 39 MB | NPU | Use Export Script |
92
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.585 ms | 0 - 50 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
93
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.32 ms | 0 - 46 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
94
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.305 ms | 0 - 45 MB | NPU | Use Export Script |
95
- | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.437 ms | 0 - 52 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
96
- | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.278 ms | 0 - 32 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
97
- | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.307 ms | 0 - 39 MB | NPU | Use Export Script |
98
- | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.436 ms | 0 - 39 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
99
- | Facial-Attribute-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.51 ms | 1 - 1 MB | NPU | Use Export Script |
100
- | Facial-Attribute-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.601 ms | 13 - 13 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
101
 
102
 
103
 
@@ -161,8 +156,8 @@ Profiling Results
161
  Facial-Attribute-Detection
162
  Device : cs_8275 (ANDROID 14)
163
  Runtime : TFLITE
164
- Estimated inference time (ms) : 4.4
165
- Estimated peak memory usage (MB): [0, 33]
166
  Total # Ops : 158
167
  Compute Unit(s) : npu (158 ops) gpu (0 ops) cpu (0 ops)
168
  ```
@@ -251,13 +246,13 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
251
  You can also run the demo on-device.
252
 
253
  ```bash
254
- python -m qai_hub_models.models.face_attrib_net.demo --on-device
255
  ```
256
 
257
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
258
  environment, please add the following to your cell (instead of the above).
259
  ```
260
- %run -m qai_hub_models.models.face_attrib_net.demo -- --on-device
261
  ```
262
 
263
 
@@ -287,10 +282,6 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
287
 
288
 
289
 
290
- ## References
291
- * [Source Model Implementation](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/face_attrib_net/model.py)
292
-
293
-
294
 
295
  ## Community
296
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
 
13
  # Facial-Attribute-Detection: Optimized for Mobile Deployment
14
  ## Comprehensive facial analysis by extracting face features
15
 
16
+ Detects attributes (liveness, eye closeness, mask presence, glasses presence, sunglasses presence) that apply to a given face. This model's architecture was developed by Qualcomm. The model was trained by Qualcomm on a proprietary dataset of faces, but can be used on any image.
 
 
 
 
17
 
18
  This repository provides scripts to run Facial-Attribute-Detection on Qualcomm® devices.
19
  More details on model performance across various devices, can be found
 
26
  - **Model Stats:**
27
  - Model checkpoint: multitask_FR_state_dict.pt
28
  - Input resolution: 128x128
 
29
  - Number of parameters: 11.6M
30
  - Model size (float): 47.6MB
31
  - Model size (w8a8): 47.6MB
32
 
33
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
34
  |---|---|---|---|---|---|---|---|---|
35
+ | Facial-Attribute-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 29.692 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
36
+ | Facial-Attribute-Detection | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 29.649 ms | 0 - 10 MB | NPU | Use Export Script |
37
+ | Facial-Attribute-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.197 ms | 0 - 46 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
38
+ | Facial-Attribute-Detection | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 1.399 ms | 0 - 32 MB | NPU | Use Export Script |
39
+ | Facial-Attribute-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.885 ms | 0 - 140 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
40
+ | Facial-Attribute-Detection | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.923 ms | 0 - 3 MB | NPU | Use Export Script |
41
+ | Facial-Attribute-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.404 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
42
+ | Facial-Attribute-Detection | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.426 ms | 0 - 11 MB | NPU | Use Export Script |
43
+ | Facial-Attribute-Detection | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 29.692 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
44
+ | Facial-Attribute-Detection | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 29.649 ms | 0 - 10 MB | NPU | Use Export Script |
45
+ | Facial-Attribute-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.89 ms | 0 - 146 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
46
+ | Facial-Attribute-Detection | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.908 ms | 0 - 3 MB | NPU | Use Export Script |
47
+ | Facial-Attribute-Detection | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.574 ms | 0 - 37 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
48
+ | Facial-Attribute-Detection | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 1.575 ms | 0 - 17 MB | NPU | Use Export Script |
49
+ | Facial-Attribute-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.873 ms | 0 - 146 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
50
+ | Facial-Attribute-Detection | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.925 ms | 0 - 2 MB | NPU | Use Export Script |
51
+ | Facial-Attribute-Detection | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.404 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
52
+ | Facial-Attribute-Detection | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.426 ms | 0 - 11 MB | NPU | Use Export Script |
53
+ | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.894 ms | 0 - 145 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
54
+ | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.932 ms | 0 - 10 MB | NPU | Use Export Script |
55
+ | Facial-Attribute-Detection | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.056 ms | 0 - 97 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
56
+ | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.662 ms | 0 - 47 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
57
+ | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.704 ms | 0 - 32 MB | NPU | Use Export Script |
58
+ | Facial-Attribute-Detection | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.77 ms | 0 - 38 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
59
+ | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.55 ms | 0 - 46 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.tflite) |
60
+ | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.639 ms | 0 - 27 MB | NPU | Use Export Script |
61
+ | Facial-Attribute-Detection | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.763 ms | 0 - 27 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
62
+ | Facial-Attribute-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.025 ms | 0 - 0 MB | NPU | Use Export Script |
63
+ | Facial-Attribute-Detection | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.03 ms | 25 - 25 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection.onnx) |
64
+ | Facial-Attribute-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 4.803 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
65
+ | Facial-Attribute-Detection | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 4.7 ms | 0 - 9 MB | NPU | Use Export Script |
66
+ | Facial-Attribute-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.556 ms | 0 - 54 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
67
+ | Facial-Attribute-Detection | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.665 ms | 0 - 45 MB | NPU | Use Export Script |
68
+ | Facial-Attribute-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.418 ms | 0 - 61 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
69
+ | Facial-Attribute-Detection | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.398 ms | 0 - 3 MB | NPU | Use Export Script |
70
+ | Facial-Attribute-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.64 ms | 0 - 36 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
71
+ | Facial-Attribute-Detection | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.623 ms | 0 - 12 MB | NPU | Use Export Script |
72
+ | Facial-Attribute-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 1.472 ms | 0 - 44 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
73
+ | Facial-Attribute-Detection | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 1.627 ms | 0 - 14 MB | NPU | Use Export Script |
74
+ | Facial-Attribute-Detection | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 57.368 ms | 2 - 5 MB | CPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
75
+ | Facial-Attribute-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 4.803 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
76
+ | Facial-Attribute-Detection | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 4.7 ms | 0 - 9 MB | NPU | Use Export Script |
77
+ | Facial-Attribute-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.423 ms | 0 - 62 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
78
+ | Facial-Attribute-Detection | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.399 ms | 0 - 3 MB | NPU | Use Export Script |
79
+ | Facial-Attribute-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 0.905 ms | 0 - 37 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
80
+ | Facial-Attribute-Detection | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 0.814 ms | 0 - 17 MB | NPU | Use Export Script |
81
+ | Facial-Attribute-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.431 ms | 0 - 63 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
82
+ | Facial-Attribute-Detection | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.404 ms | 0 - 2 MB | NPU | Use Export Script |
83
+ | Facial-Attribute-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.64 ms | 0 - 36 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
84
+ | Facial-Attribute-Detection | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.623 ms | 0 - 12 MB | NPU | Use Export Script |
85
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.425 ms | 0 - 61 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
86
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.41 ms | 0 - 62 MB | NPU | Use Export Script |
87
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.59 ms | 0 - 35 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
88
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.317 ms | 0 - 51 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
89
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.296 ms | 0 - 47 MB | NPU | Use Export Script |
90
+ | Facial-Attribute-Detection | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.393 ms | 0 - 58 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
91
+ | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.292 ms | 0 - 40 MB | NPU | [Facial-Attribute-Detection.tflite](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.tflite) |
92
+ | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.303 ms | 0 - 33 MB | NPU | Use Export Script |
93
+ | Facial-Attribute-Detection | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.396 ms | 0 - 42 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
94
+ | Facial-Attribute-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.527 ms | 0 - 0 MB | NPU | Use Export Script |
95
+ | Facial-Attribute-Detection | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.606 ms | 14 - 14 MB | NPU | [Facial-Attribute-Detection.onnx](https://huggingface.co/qualcomm/Facial-Attribute-Detection/blob/main/Facial-Attribute-Detection_w8a8.onnx) |
96
 
97
 
98
 
 
156
  Facial-Attribute-Detection
157
  Device : cs_8275 (ANDROID 14)
158
  Runtime : TFLITE
159
+ Estimated inference time (ms) : 29.7
160
+ Estimated peak memory usage (MB): [0, 42]
161
  Total # Ops : 158
162
  Compute Unit(s) : npu (158 ops) gpu (0 ops) cpu (0 ops)
163
  ```
 
246
  You can also run the demo on-device.
247
 
248
  ```bash
249
+ python -m qai_hub_models.models.face_attrib_net.demo --eval-mode on-device
250
  ```
251
 
252
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
253
  environment, please add the following to your cell (instead of the above).
254
  ```
255
+ %run -m qai_hub_models.models.face_attrib_net.demo -- --eval-mode on-device
256
  ```
257
 
258
 
 
282
 
283
 
284
 
 
 
 
 
285
 
286
  ## Community
287
  * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.