qaihm-bot commited on
Commit
6524a2d
·
verified ·
1 Parent(s): 679f641

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +38 -38
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  library_name: pytorch
3
- license: apache-2.0
4
  tags:
5
  - android
6
  pipeline_tag: image-segmentation
@@ -25,7 +25,7 @@ More details on model performance across various devices, can be found
25
 
26
  ### Model Details
27
 
28
- - **Model Type:** Semantic segmentation
29
  - **Model Stats:**
30
  - Model checkpoint: Square
31
  - Input resolution (Square): 256x256
@@ -34,37 +34,37 @@ More details on model performance across various devices, can be found
34
  - Model size: 454 KB
35
  - Number of output classes: 6
36
 
37
- | Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
38
  |---|---|---|---|---|---|---|---|---|
39
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 0.701 ms | 0 - 8 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
40
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | QNN | 0.683 ms | 1 - 9 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.so](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.so) |
41
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1.005 ms | 0 - 6 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
42
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 0.46 ms | 0 - 21 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
43
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 0.454 ms | 0 - 28 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.so](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.so) |
44
- | MediaPipe-Selfie-Segmentation | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 0.629 ms | 0 - 23 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
45
- | MediaPipe-Selfie-Segmentation | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 0.434 ms | 0 - 16 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
46
- | MediaPipe-Selfie-Segmentation | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 0.425 ms | 1 - 20 MB | FP16 | NPU | Use Export Script |
47
- | MediaPipe-Selfie-Segmentation | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 0.507 ms | 1 - 21 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
48
- | MediaPipe-Selfie-Segmentation | SA7255P ADP | SA7255P | TFLITE | 6.169 ms | 0 - 12 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
49
- | MediaPipe-Selfie-Segmentation | SA7255P ADP | SA7255P | QNN | 6.012 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
50
- | MediaPipe-Selfie-Segmentation | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 0.694 ms | 0 - 7 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
51
- | MediaPipe-Selfie-Segmentation | SA8255 (Proxy) | SA8255P Proxy | QNN | 0.689 ms | 1 - 4 MB | FP16 | NPU | Use Export Script |
52
- | MediaPipe-Selfie-Segmentation | SA8295P ADP | SA8295P | TFLITE | 1.295 ms | 0 - 18 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
53
- | MediaPipe-Selfie-Segmentation | SA8295P ADP | SA8295P | QNN | 1.29 ms | 0 - 18 MB | FP16 | NPU | Use Export Script |
54
- | MediaPipe-Selfie-Segmentation | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 0.695 ms | 0 - 7 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
55
- | MediaPipe-Selfie-Segmentation | SA8650 (Proxy) | SA8650P Proxy | QNN | 0.693 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
56
- | MediaPipe-Selfie-Segmentation | SA8775P ADP | SA8775P | TFLITE | 1.194 ms | 0 - 12 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
57
- | MediaPipe-Selfie-Segmentation | SA8775P ADP | SA8775P | QNN | 1.174 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
58
- | MediaPipe-Selfie-Segmentation | QCS8275 (Proxy) | QCS8275 Proxy | TFLITE | 6.169 ms | 0 - 12 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
59
- | MediaPipe-Selfie-Segmentation | QCS8275 (Proxy) | QCS8275 Proxy | QNN | 6.012 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
60
- | MediaPipe-Selfie-Segmentation | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 0.689 ms | 0 - 7 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
61
- | MediaPipe-Selfie-Segmentation | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 0.692 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
62
- | MediaPipe-Selfie-Segmentation | QCS9075 (Proxy) | QCS9075 Proxy | TFLITE | 1.194 ms | 0 - 12 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
63
- | MediaPipe-Selfie-Segmentation | QCS9075 (Proxy) | QCS9075 Proxy | QNN | 1.174 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
64
- | MediaPipe-Selfie-Segmentation | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1.0 ms | 0 - 22 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.tflite](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.tflite) |
65
- | MediaPipe-Selfie-Segmentation | QCS8450 (Proxy) | QCS8450 Proxy | QNN | 0.998 ms | 1 - 25 MB | FP16 | NPU | Use Export Script |
66
- | MediaPipe-Selfie-Segmentation | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 0.826 ms | 1 - 1 MB | FP16 | NPU | Use Export Script |
67
- | MediaPipe-Selfie-Segmentation | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.076 ms | 2 - 2 MB | FP16 | NPU | [MediaPipe-Selfie-Segmentation.onnx](https://huggingface.co/qualcomm/MediaPipe-Selfie-Segmentation/blob/main/MediaPipe-Selfie-Segmentation.onnx) |
68
 
69
 
70
 
@@ -126,12 +126,12 @@ python -m qai_hub_models.models.mediapipe_selfie.export
126
  Profiling Results
127
  ------------------------------------------------------------
128
  MediaPipe-Selfie-Segmentation
129
- Device : Samsung Galaxy S23 (13)
130
- Runtime : TFLITE
131
- Estimated inference time (ms) : 0.7
132
- Estimated peak memory usage (MB): [0, 8]
133
- Total # Ops : 118
134
- Compute Unit(s) : NPU (118 ops)
135
  ```
136
 
137
 
 
1
  ---
2
  library_name: pytorch
3
+ license: other
4
  tags:
5
  - android
6
  pipeline_tag: image-segmentation
 
25
 
26
  ### Model Details
27
 
28
+ - **Model Type:** Model_use_case.semantic_segmentation
29
  - **Model Stats:**
30
  - Model checkpoint: Square
31
  - Input resolution (Square): 256x256
 
34
  - Model size: 454 KB
35
  - Number of output classes: 6
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 | 1.855 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.749 ms | 1 - 10 MB | NPU | Use Export Script |
41
+ | MediaPipe-Selfie-Segmentation | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 0.993 ms | 0 - 20 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.056 ms | 1 - 23 MB | NPU | Use Export Script |
43
+ | MediaPipe-Selfie-Segmentation | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 0.694 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.692 ms | 1 - 3 MB | NPU | Use Export Script |
45
+ | MediaPipe-Selfie-Segmentation | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.025 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.978 ms | 1 - 16 MB | NPU | Use Export Script |
47
+ | MediaPipe-Selfie-Segmentation | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 1.855 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.749 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.704 ms | 1 - 3 MB | NPU | Use Export Script |
51
+ | MediaPipe-Selfie-Segmentation | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.273 ms | 0 - 16 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.265 ms | 0 - 6 MB | NPU | Use Export Script |
53
+ | MediaPipe-Selfie-Segmentation | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 0.693 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.696 ms | 2 - 4 MB | NPU | Use Export Script |
55
+ | MediaPipe-Selfie-Segmentation | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.025 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.978 ms | 1 - 16 MB | NPU | Use Export Script |
57
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 0.692 ms | 0 - 7 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.691 ms | 1 - 9 MB | NPU | Use Export Script |
59
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 0.976 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 - 27 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.457 ms | 0 - 26 MB | NPU | Use Export Script |
62
+ | MediaPipe-Selfie-Segmentation | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 0.64 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.43 ms | 0 - 18 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.438 ms | 0 - 18 MB | NPU | Use Export Script |
65
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 0.628 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.835 ms | 1 - 1 MB | NPU | Use Export Script |
67
+ | MediaPipe-Selfie-Segmentation | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1.079 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
 
 
126
  Profiling Results
127
  ------------------------------------------------------------
128
  MediaPipe-Selfie-Segmentation
129
+ Device : cs_8275 (ANDROID 14)
130
+ Runtime : TFLITE
131
+ Estimated inference time (ms) : 1.9
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
  ```
136
 
137