v0.38.0
Browse filesSee https://github.com/quic/ai-hub-models/releases/v0.38.0 for changelog.
- MediaPipe-Selfie-Segmentation_float.dlc +2 -2
- MediaPipe-Selfie-Segmentation_float.onnx.zip +2 -2
- README.md +28 -31
- precompiled/qualcomm-snapdragon-x-elite/MediaPipe-Selfie-Segmentation_float.bin +0 -3
- precompiled/qualcomm-snapdragon-x-elite/MediaPipe-Selfie-Segmentation_float.onnx.zip +0 -3
- precompiled/qualcomm-snapdragon-x-elite/tool-versions.yaml +0 -3
- tool-versions.yaml +2 -2
MediaPipe-Selfie-Segmentation_float.dlc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bfc4715233c22fa692b08ea2b28f5397b4703289b594e83a1552a86aeeee268
|
| 3 |
+
size 567892
|
MediaPipe-Selfie-Segmentation_float.onnx.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35bb908718e4e2510dcd39ba9d2861eb545b1c1faf735244bf34dd2e2fda4cd9
|
| 3 |
+
size 277699
|
README.md
CHANGED
|
@@ -37,36 +37,33 @@ More details on model performance across various devices, can be found
|
|
| 37 |
|
| 38 |
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 39 |
|---|---|---|---|---|---|---|---|---|
|
| 40 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 1.
|
| 41 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 1.
|
| 42 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.
|
| 43 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 0.
|
| 44 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.
|
| 45 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 0.
|
| 46 |
-
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | ONNX |
|
| 47 |
-
| MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.
|
| 48 |
-
| MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 0.
|
| 49 |
-
| MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.
|
| 50 |
-
| MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 1.
|
| 51 |
-
| MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.
|
| 52 |
-
| MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 0.
|
| 53 |
-
| MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.
|
| 54 |
-
| MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 1.
|
| 55 |
-
| MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.
|
| 56 |
-
| MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 0.
|
| 57 |
-
| MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.
|
| 58 |
-
| MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 0.
|
| 59 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 60 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 61 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 62 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 63 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 64 |
-
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy
|
| 65 |
-
| MediaPipe-Selfie-Segmentation | float | Snapdragon
|
| 66 |
-
| MediaPipe-Selfie-Segmentation | float | Snapdragon
|
| 67 |
-
| MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.623 ms | 1 - 21 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
| 68 |
-
| MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 0.847 ms | 0 - 0 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 69 |
-
| MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.03 ms | 2 - 2 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
| 70 |
|
| 71 |
|
| 72 |
|
|
@@ -148,7 +145,7 @@ from qai_hub_models.models.mediapipe_selfie import Model
|
|
| 148 |
torch_model = Model.from_pretrained()
|
| 149 |
|
| 150 |
# Device
|
| 151 |
-
device = hub.Device("Samsung Galaxy
|
| 152 |
|
| 153 |
# Trace model
|
| 154 |
input_shape = torch_model.get_input_spec()
|
|
|
|
| 37 |
|
| 38 |
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 39 |
|---|---|---|---|---|---|---|---|---|
|
| 40 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 1.816 ms | 0 - 16 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 41 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 1.729 ms | 1 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 42 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.916 ms | 0 - 30 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 43 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 0.953 ms | 1 - 28 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 44 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.696 ms | 0 - 9 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 45 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 0.693 ms | 1 - 9 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 46 |
+
| MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | ONNX | 1.052 ms | 1 - 7 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
| 47 |
+
| MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.002 ms | 0 - 17 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 48 |
+
| MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 0.996 ms | 1 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 49 |
+
| MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.816 ms | 0 - 16 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 50 |
+
| MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 1.729 ms | 1 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 51 |
+
| MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 0.698 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 52 |
+
| MediaPipe-Selfie-Segmentation | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 0.7 ms | 1 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 53 |
+
| MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.328 ms | 0 - 23 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 54 |
+
| MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 1.291 ms | 0 - 24 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 55 |
+
| MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.697 ms | 0 - 9 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 56 |
+
| MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 0.692 ms | 0 - 8 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 57 |
+
| MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.002 ms | 0 - 17 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 58 |
+
| MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 0.996 ms | 1 - 18 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 59 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.454 ms | 0 - 27 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 60 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 0.453 ms | 1 - 31 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 61 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.67 ms | 0 - 29 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
| 62 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | TFLITE | 0.355 ms | 0 - 25 MB | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
|
| 63 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | QNN_DLC | 0.353 ms | 1 - 21 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 64 |
+
| MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S25 | Snapdragon® 8 Elite For Galaxy Mobile | ONNX | 0.53 ms | 0 - 23 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
| 65 |
+
| MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 0.829 ms | 1 - 1 MB | NPU | [MediaPipe-Selfie-Segmentation.dlc](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.dlc) |
|
| 66 |
+
| MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 0.999 ms | 2 - 2 MB | NPU | [MediaPipe-Selfie-Segmentation.onnx.zip](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx.zip) |
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
|
|
|
|
| 145 |
torch_model = Model.from_pretrained()
|
| 146 |
|
| 147 |
# Device
|
| 148 |
+
device = hub.Device("Samsung Galaxy S25")
|
| 149 |
|
| 150 |
# Trace model
|
| 151 |
input_shape = torch_model.get_input_spec()
|
precompiled/qualcomm-snapdragon-x-elite/MediaPipe-Selfie-Segmentation_float.bin
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:86b5660cdba9d363c2d9deb8c8f8a54e86a64c6106be93f5daf63e6096916f04
|
| 3 |
-
size 712704
|
|
|
|
|
|
|
|
|
|
|
|
precompiled/qualcomm-snapdragon-x-elite/MediaPipe-Selfie-Segmentation_float.onnx.zip
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c58c5e24072bfc77b0fe5b9a998ac88636ea7d23bba4ec4951a2927ed90722aa
|
| 3 |
-
size 280961
|
|
|
|
|
|
|
|
|
|
|
|
precompiled/qualcomm-snapdragon-x-elite/tool-versions.yaml
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
tool_versions:
|
| 2 |
-
precompiled_qnn_onnx:
|
| 3 |
-
qairt: 2.36.4.250725200057_123280
|
|
|
|
|
|
|
|
|
|
|
|
tool-versions.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
tool_versions:
|
| 2 |
onnx:
|
| 3 |
-
qairt: 2.
|
| 4 |
-
onnx_runtime: 1.22.
|
|
|
|
| 1 |
tool_versions:
|
| 2 |
onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.22.2
|