Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
| 3 |
-
license:
|
| 4 |
tags:
|
| 5 |
- android
|
| 6 |
pipeline_tag: depth-estimation
|
|
@@ -25,44 +25,77 @@ More details on model performance across various devices, can be found
|
|
| 25 |
|
| 26 |
### Model Details
|
| 27 |
|
| 28 |
-
- **Model Type:**
|
| 29 |
- **Model Stats:**
|
| 30 |
- Model checkpoint: MiDaS_small
|
| 31 |
- Input resolution: 256x256
|
| 32 |
- Number of parameters: 16.6M
|
| 33 |
-
- Model size: 63.2 MB
|
|
|
|
| 34 |
|
| 35 |
-
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) |
|
| 36 |
|---|---|---|---|---|---|---|---|---|
|
| 37 |
-
| Midas-V2 |
|
| 38 |
-
| Midas-V2 |
|
| 39 |
-
| Midas-V2 |
|
| 40 |
-
| Midas-V2 |
|
| 41 |
-
| Midas-V2 |
|
| 42 |
-
| Midas-V2 |
|
| 43 |
-
| Midas-V2 |
|
| 44 |
-
| Midas-V2 |
|
| 45 |
-
| Midas-V2 |
|
| 46 |
-
| Midas-V2 | SA7255P ADP | SA7255P |
|
| 47 |
-
| Midas-V2 |
|
| 48 |
-
| Midas-V2 | SA8255 (Proxy) | SA8255P Proxy |
|
| 49 |
-
| Midas-V2 |
|
| 50 |
-
| Midas-V2 | SA8295P ADP | SA8295P |
|
| 51 |
-
| Midas-V2 |
|
| 52 |
-
| Midas-V2 | SA8650 (Proxy) | SA8650P Proxy |
|
| 53 |
-
| Midas-V2 |
|
| 54 |
-
| Midas-V2 | SA8775P ADP | SA8775P |
|
| 55 |
-
| Midas-V2 |
|
| 56 |
-
| Midas-V2 |
|
| 57 |
-
| Midas-V2 |
|
| 58 |
-
| Midas-V2 |
|
| 59 |
-
| Midas-V2 |
|
| 60 |
-
| Midas-V2 |
|
| 61 |
-
| Midas-V2 |
|
| 62 |
-
| Midas-V2 |
|
| 63 |
-
| Midas-V2 |
|
| 64 |
-
| Midas-V2 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 3.
|
| 65 |
-
| Midas-V2 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
|
| 68 |
|
|
@@ -124,12 +157,12 @@ python -m qai_hub_models.models.midas.export
|
|
| 124 |
Profiling Results
|
| 125 |
------------------------------------------------------------
|
| 126 |
Midas-V2
|
| 127 |
-
Device :
|
| 128 |
-
Runtime : TFLITE
|
| 129 |
-
Estimated inference time (ms) :
|
| 130 |
-
Estimated peak memory usage (MB): [0,
|
| 131 |
-
Total # Ops : 138
|
| 132 |
-
Compute Unit(s) :
|
| 133 |
```
|
| 134 |
|
| 135 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
| 3 |
+
license: other
|
| 4 |
tags:
|
| 5 |
- android
|
| 6 |
pipeline_tag: depth-estimation
|
|
|
|
| 25 |
|
| 26 |
### Model Details
|
| 27 |
|
| 28 |
+
- **Model Type:** Model_use_case.depth_estimation
|
| 29 |
- **Model Stats:**
|
| 30 |
- Model checkpoint: MiDaS_small
|
| 31 |
- Input resolution: 256x256
|
| 32 |
- Number of parameters: 16.6M
|
| 33 |
+
- Model size (float): 63.2 MB
|
| 34 |
+
- Model size (w8a8): 16.6 MB
|
| 35 |
|
| 36 |
+
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 37 |
|---|---|---|---|---|---|---|---|---|
|
| 38 |
+
| Midas-V2 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 12.818 ms | 0 - 39 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 39 |
+
| Midas-V2 | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 12.404 ms | 1 - 10 MB | NPU | Use Export Script |
|
| 40 |
+
| Midas-V2 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 5.038 ms | 0 - 50 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 41 |
+
| Midas-V2 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 7.415 ms | 0 - 36 MB | NPU | Use Export Script |
|
| 42 |
+
| Midas-V2 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 3.242 ms | 0 - 274 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 43 |
+
| Midas-V2 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 2.996 ms | 1 - 5 MB | NPU | Use Export Script |
|
| 44 |
+
| Midas-V2 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 4.553 ms | 0 - 40 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 45 |
+
| Midas-V2 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 4.229 ms | 1 - 15 MB | NPU | Use Export Script |
|
| 46 |
+
| Midas-V2 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 12.818 ms | 0 - 39 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 47 |
+
| Midas-V2 | float | SA7255P ADP | Qualcomm® SA7255P | QNN | 12.404 ms | 1 - 10 MB | NPU | Use Export Script |
|
| 48 |
+
| Midas-V2 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 3.224 ms | 0 - 267 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 49 |
+
| Midas-V2 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 3.015 ms | 1 - 3 MB | NPU | Use Export Script |
|
| 50 |
+
| Midas-V2 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 5.776 ms | 0 - 25 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 51 |
+
| Midas-V2 | float | SA8295P ADP | Qualcomm® SA8295P | QNN | 5.426 ms | 1 - 19 MB | NPU | Use Export Script |
|
| 52 |
+
| Midas-V2 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 3.237 ms | 0 - 281 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 53 |
+
| Midas-V2 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 3.006 ms | 1 - 3 MB | NPU | Use Export Script |
|
| 54 |
+
| Midas-V2 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 4.553 ms | 0 - 40 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 55 |
+
| Midas-V2 | float | SA8775P ADP | Qualcomm® SA8775P | QNN | 4.229 ms | 1 - 15 MB | NPU | Use Export Script |
|
| 56 |
+
| Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 3.233 ms | 0 - 268 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 57 |
+
| Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 3.024 ms | 1 - 15 MB | NPU | Use Export Script |
|
| 58 |
+
| Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 2.998 ms | 0 - 86 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.onnx) |
|
| 59 |
+
| Midas-V2 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 2.297 ms | 0 - 67 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 60 |
+
| Midas-V2 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 2.19 ms | 1 - 42 MB | NPU | Use Export Script |
|
| 61 |
+
| Midas-V2 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 2.105 ms | 0 - 50 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.onnx) |
|
| 62 |
+
| Midas-V2 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 2.128 ms | 0 - 43 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.tflite) |
|
| 63 |
+
| Midas-V2 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 1.909 ms | 1 - 30 MB | NPU | Use Export Script |
|
| 64 |
+
| Midas-V2 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 1.672 ms | 1 - 31 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.onnx) |
|
| 65 |
+
| Midas-V2 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 3.216 ms | 1 - 1 MB | NPU | Use Export Script |
|
| 66 |
+
| Midas-V2 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 3.073 ms | 36 - 36 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2.onnx) |
|
| 67 |
+
| Midas-V2 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 2.48 ms | 0 - 27 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 68 |
+
| Midas-V2 | w8a8 | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN | 2.851 ms | 0 - 10 MB | NPU | Use Export Script |
|
| 69 |
+
| Midas-V2 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.507 ms | 0 - 46 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 70 |
+
| Midas-V2 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN | 1.96 ms | 0 - 47 MB | NPU | Use Export Script |
|
| 71 |
+
| Midas-V2 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.065 ms | 0 - 134 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 72 |
+
| Midas-V2 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN | 1.27 ms | 0 - 3 MB | NPU | Use Export Script |
|
| 73 |
+
| Midas-V2 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.358 ms | 0 - 30 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 74 |
+
| Midas-V2 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN | 1.575 ms | 0 - 15 MB | NPU | Use Export Script |
|
| 75 |
+
| Midas-V2 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 3.675 ms | 0 - 45 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 76 |
+
| Midas-V2 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | QNN | 5.631 ms | 0 - 14 MB | NPU | Use Export Script |
|
| 77 |
+
| Midas-V2 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 15.554 ms | 0 - 3 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 78 |
+
| Midas-V2 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 2.48 ms | 0 - 27 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 79 |
+
| Midas-V2 | w8a8 | SA7255P ADP | Qualcomm® SA7255P | QNN | 2.851 ms | 0 - 10 MB | NPU | Use Export Script |
|
| 80 |
+
| Midas-V2 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.068 ms | 0 - 133 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 81 |
+
| Midas-V2 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN | 1.278 ms | 0 - 2 MB | NPU | Use Export Script |
|
| 82 |
+
| Midas-V2 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.899 ms | 0 - 30 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 83 |
+
| Midas-V2 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | QNN | 2.194 ms | 0 - 18 MB | NPU | Use Export Script |
|
| 84 |
+
| Midas-V2 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.063 ms | 0 - 7 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 85 |
+
| Midas-V2 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN | 1.293 ms | 0 - 2 MB | NPU | Use Export Script |
|
| 86 |
+
| Midas-V2 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.358 ms | 0 - 30 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 87 |
+
| Midas-V2 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | QNN | 1.575 ms | 0 - 15 MB | NPU | Use Export Script |
|
| 88 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.064 ms | 0 - 134 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 89 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN | 1.292 ms | 0 - 124 MB | NPU | Use Export Script |
|
| 90 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 116.988 ms | 22 - 101 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
|
| 91 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 0.765 ms | 0 - 53 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 92 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN | 0.911 ms | 0 - 56 MB | NPU | Use Export Script |
|
| 93 |
+
| Midas-V2 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 94.343 ms | 20 - 354 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
|
| 94 |
+
| Midas-V2 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 0.678 ms | 0 - 34 MB | NPU | [Midas-V2.tflite](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.tflite) |
|
| 95 |
+
| Midas-V2 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN | 0.781 ms | 0 - 35 MB | NPU | Use Export Script |
|
| 96 |
+
| Midas-V2 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 95.044 ms | 25 - 346 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
|
| 97 |
+
| Midas-V2 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 1.412 ms | 0 - 0 MB | NPU | Use Export Script |
|
| 98 |
+
| Midas-V2 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 124.227 ms | 69 - 69 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
|
| 99 |
|
| 100 |
|
| 101 |
|
|
|
|
| 157 |
Profiling Results
|
| 158 |
------------------------------------------------------------
|
| 159 |
Midas-V2
|
| 160 |
+
Device : cs_8275 (ANDROID 14)
|
| 161 |
+
Runtime : TFLITE
|
| 162 |
+
Estimated inference time (ms) : 12.8
|
| 163 |
+
Estimated peak memory usage (MB): [0, 39]
|
| 164 |
+
Total # Ops : 138
|
| 165 |
+
Compute Unit(s) : npu (138 ops) gpu (0 ops) cpu (0 ops)
|
| 166 |
```
|
| 167 |
|
| 168 |
|