qaihm-bot commited on
Commit
3b4cd46
·
verified ·
1 Parent(s): 75b7620

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

Files changed (1) hide show
  1. README.md +33 -33
README.md CHANGED
@@ -36,35 +36,35 @@ More details on model performance across various devices, can be found
36
 
37
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
- | MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 6.136 ms | 0 - 12 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
40
- | MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 1.763 ms | 1 - 10 MB | NPU | Use Export Script |
41
- | MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.99 ms | 0 - 25 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
42
- | MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 1.039 ms | 1 - 25 MB | NPU | Use Export Script |
43
- | MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.701 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
44
- | MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.691 ms | 1 - 4 MB | NPU | Use Export Script |
45
- | MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.027 ms | 0 - 15 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
46
- | MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.982 ms | 1 - 15 MB | NPU | Use Export Script |
47
- | MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 6.136 ms | 0 - 12 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
48
- | MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 1.763 ms | 1 - 10 MB | NPU | Use Export Script |
49
- | MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.697 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
50
- | MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.697 ms | 1 - 3 MB | NPU | Use Export Script |
51
- | MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.303 ms | 0 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
52
- | MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 1.295 ms | 0 - 18 MB | NPU | Use Export Script |
53
- | MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.696 ms | 0 - 7 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
54
- | MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.699 ms | 1 - 3 MB | NPU | Use Export Script |
55
- | MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.027 ms | 0 - 15 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
56
- | MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.982 ms | 1 - 15 MB | NPU | Use Export Script |
57
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.687 ms | 0 - 9 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
58
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.695 ms | 1 - 7 MB | NPU | Use Export Script |
59
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.971 ms | 1 - 7 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
60
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.457 ms | 0 - 24 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
61
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.458 ms | 0 - 23 MB | NPU | Use Export Script |
62
- | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.651 ms | 0 - 30 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
63
- | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.511 ms | 0 - 19 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
64
- | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.435 ms | 1 - 19 MB | NPU | Use Export Script |
65
- | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.625 ms | 1 - 21 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
66
- | MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.825 ms | 1 - 1 MB | NPU | Use Export Script |
67
- | MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.138 ms | 2 - 2 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
68
 
69
 
70
 
@@ -128,8 +128,8 @@ Profiling Results
128
  MediaPipe-Selfie-Segmentation
129
  Device : cs_8275 (ANDROID 14)
130
  Runtime : TFLITE
131
- Estimated inference time (ms) : 6.1
132
- Estimated peak memory usage (MB): [0, 12]
133
  Total # Ops : 118
134
  Compute Unit(s) : npu (118 ops) gpu (0 ops) cpu (0 ops)
135
  ```
@@ -218,13 +218,13 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
218
  You can also run the demo on-device.
219
 
220
  ```bash
221
- python -m qai_hub_models.models.mediapipe_selfie.demo --on-device
222
  ```
223
 
224
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
225
  environment, please add the following to your cell (instead of the above).
226
  ```
227
- %run -m qai_hub_models.models.mediapipe_selfie.demo -- --on-device
228
  ```
229
 
230
 
 
36
 
37
  | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
+ | MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 6.153 ms | 0 - 13 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
40
+ | MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 6.006 ms | 1 - 10 MB | NPU | Use Export Script |
41
+ | MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.923 ms | 0 - 29 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
42
+ | MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 0.946 ms | 1 - 28 MB | NPU | Use Export Script |
43
+ | MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.696 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
44
+ | MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 0.688 ms | 1 - 3 MB | NPU | Use Export Script |
45
+ | MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 0.994 ms | 0 - 15 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
46
+ | MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 0.969 ms | 1 - 13 MB | NPU | Use Export Script |
47
+ | MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 6.153 ms | 0 - 13 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
48
+ | MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 6.006 ms | 1 - 10 MB | NPU | Use Export Script |
49
+ | MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.692 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
50
+ | MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 0.689 ms | 1 - 12 MB | NPU | Use Export Script |
51
+ | MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.294 ms | 0 - 23 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
52
+ | MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 1.293 ms | 0 - 16 MB | NPU | Use Export Script |
53
+ | MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.69 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
54
+ | MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 0.689 ms | 1 - 3 MB | NPU | Use Export Script |
55
+ | MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 0.994 ms | 0 - 15 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
56
+ | MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 0.969 ms | 1 - 13 MB | NPU | Use Export Script |
57
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.692 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
58
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 0.698 ms | 1 - 8 MB | NPU | Use Export Script |
59
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 1.002 ms | 0 - 6 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
60
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.455 ms | 0 - 28 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
61
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.453 ms | 1 - 28 MB | NPU | Use Export Script |
62
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.627 ms | 0 - 29 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
63
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.431 ms | 0 - 20 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
64
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.355 ms | 0 - 19 MB | NPU | Use Export Script |
65
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.65 ms | 1 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
66
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.822 ms | 1 - 1 MB | NPU | Use Export Script |
67
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.056 ms | 2 - 2 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
68
 
69
 
70
 
 
128
  MediaPipe-Selfie-Segmentation
129
  Device : cs_8275 (ANDROID 14)
130
  Runtime : TFLITE
131
+ Estimated inference time (ms) : 6.2
132
+ Estimated peak memory usage (MB): [0, 13]
133
  Total # Ops : 118
134
  Compute Unit(s) : npu (118 ops) gpu (0 ops) cpu (0 ops)
135
  ```
 
218
  You can also run the demo on-device.
219
 
220
  ```bash
221
+ python -m qai_hub_models.models.mediapipe_selfie.demo --eval-mode on-device
222
  ```
223
 
224
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
225
  environment, please add the following to your cell (instead of the above).
226
  ```
227
+ %run -m qai_hub_models.models.mediapipe_selfie.demo -- --eval-mode on-device
228
  ```
229
 
230