qaihm-bot commited on
Commit
13de429
·
verified ·
1 Parent(s): d182b62

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

Files changed (3) hide show
  1. Midas-V2_w8a8.onnx +2 -2
  2. Midas-V2_w8a8.tflite +1 -1
  3. README.md +65 -65
Midas-V2_w8a8.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:63436bba983cfb24876aa336ca3cd6aef886996f4a145aab2120a7833471e0b9
3
- size 66614116
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27cc2eec31535f5f95485a5ef16453b37ffa8a55190e4457597b782a23cb9153
3
+ size 66633543
Midas-V2_w8a8.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70255972167128039b88866a976ad8d32b97faf1c458fc0ef05780fa2775f2dc
3
  size 17749000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6984fa519ed753d9be4fac0cb43dc8a39bd51d826fa6f2ef2353294b9edd89dc
3
  size 17749000
README.md CHANGED
@@ -35,67 +35,67 @@ More details on model performance across various devices, can be found
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.861 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 | 83.89 ms | 1 - 11 MB | NPU | Use Export Script |
40
- | Midas-V2 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 4.967 ms | 0 - 49 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.389 ms | 0 - 36 MB | NPU | Use Export Script |
42
- | Midas-V2 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 3.233 ms | 0 - 284 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 | 3.005 ms | 1 - 3 MB | NPU | Use Export Script |
44
- | Midas-V2 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 4.544 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.237 ms | 1 - 15 MB | NPU | Use Export Script |
46
- | Midas-V2 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 12.861 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 | 83.89 ms | 1 - 11 MB | NPU | Use Export Script |
48
- | Midas-V2 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 3.24 ms | 0 - 272 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.01 ms | 1 - 3 MB | NPU | Use Export Script |
50
- | Midas-V2 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 5.746 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.375 ms | 1 - 19 MB | NPU | Use Export Script |
52
- | Midas-V2 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 3.241 ms | 0 - 247 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.011 ms | 0 - 2 MB | NPU | Use Export Script |
54
- | Midas-V2 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 4.544 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.237 ms | 1 - 15 MB | NPU | Use Export Script |
56
- | Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 3.23 ms | 0 - 248 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.034 ms | 0 - 16 MB | NPU | Use Export Script |
58
- | Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 2.961 ms | 0 - 73 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.288 ms | 0 - 66 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.187 ms | 1 - 38 MB | NPU | Use Export Script |
61
- | Midas-V2 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 2.068 ms | 0 - 44 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.127 ms | 0 - 44 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.92 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.213 ms | 1 - 1 MB | NPU | Use Export Script |
66
- | Midas-V2 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 3.068 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.45 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 | 11.558 ms | 0 - 10 MB | NPU | Use Export Script |
69
- | Midas-V2 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.56 ms | 0 - 43 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.944 ms | 0 - 45 MB | NPU | Use Export Script |
71
- | Midas-V2 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.066 ms | 0 - 133 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.279 ms | 0 - 3 MB | NPU | Use Export Script |
73
- | Midas-V2 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.346 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.572 ms | 0 - 15 MB | NPU | Use Export Script |
75
- | Midas-V2 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 3.774 ms | 0 - 44 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.582 ms | 0 - 15 MB | NPU | Use Export Script |
77
- | Midas-V2 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 16.121 ms | 0 - 2 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.45 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 | 11.558 ms | 0 - 10 MB | NPU | Use Export Script |
80
- | Midas-V2 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.067 ms | 0 - 134 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.294 ms | 0 - 2 MB | NPU | Use Export Script |
82
- | Midas-V2 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.877 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.184 ms | 0 - 16 MB | NPU | Use Export Script |
84
- | Midas-V2 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.072 ms | 0 - 132 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.28 ms | 0 - 2 MB | NPU | Use Export Script |
86
- | Midas-V2 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.346 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.572 ms | 0 - 15 MB | NPU | Use Export Script |
88
- | Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.069 ms | 0 - 133 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.296 ms | 0 - 124 MB | NPU | Use Export Script |
90
- | Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 120.558 ms | 0 - 106 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.763 ms | 0 - 57 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.905 ms | 0 - 55 MB | NPU | Use Export Script |
93
- | Midas-V2 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 93.185 ms | 16 - 349 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.681 ms | 0 - 32 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.786 ms | 0 - 34 MB | NPU | Use Export Script |
96
- | Midas-V2 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 82.77 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.418 ms | 0 - 0 MB | NPU | Use Export Script |
98
- | Midas-V2 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 142.945 ms | 68 - 68 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
99
 
100
 
101
 
@@ -159,8 +159,8 @@ Profiling Results
159
  Midas-V2
160
  Device : cs_8275 (ANDROID 14)
161
  Runtime : TFLITE
162
- Estimated inference time (ms) : 12.9
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
  ```
@@ -249,13 +249,13 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
249
  You can also run the demo on-device.
250
 
251
  ```bash
252
- python -m qai_hub_models.models.midas.demo --on-device
253
  ```
254
 
255
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
256
  environment, please add the following to your cell (instead of the above).
257
  ```
258
- %run -m qai_hub_models.models.midas.demo -- --on-device
259
  ```
260
 
261
 
 
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 | 84.275 ms | 0 - 42 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 | 83.718 ms | 1 - 10 MB | NPU | Use Export Script |
40
+ | Midas-V2 | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 5.034 ms | 0 - 51 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 | 6.475 ms | 0 - 39 MB | NPU | Use Export Script |
42
+ | Midas-V2 | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 3.241 ms | 0 - 232 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.963 ms | 1 - 4 MB | NPU | Use Export Script |
44
+ | Midas-V2 | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 4.481 ms | 0 - 42 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.138 ms | 1 - 11 MB | NPU | Use Export Script |
46
+ | Midas-V2 | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 84.275 ms | 0 - 42 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 | 83.718 ms | 1 - 10 MB | NPU | Use Export Script |
48
+ | Midas-V2 | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 3.23 ms | 0 - 170 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 | 2.959 ms | 1 - 4 MB | NPU | Use Export Script |
50
+ | Midas-V2 | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 5.881 ms | 0 - 27 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.301 ms | 1 - 18 MB | NPU | Use Export Script |
52
+ | Midas-V2 | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 3.229 ms | 0 - 303 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 | 2.97 ms | 1 - 8 MB | NPU | Use Export Script |
54
+ | Midas-V2 | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 4.481 ms | 0 - 42 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.138 ms | 1 - 11 MB | NPU | Use Export Script |
56
+ | Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 3.226 ms | 0 - 306 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 | 2.979 ms | 0 - 24 MB | NPU | Use Export Script |
58
+ | Midas-V2 | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 2.906 ms | 0 - 103 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.285 ms | 0 - 69 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.075 ms | 1 - 41 MB | NPU | Use Export Script |
61
+ | Midas-V2 | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 2.072 ms | 0 - 48 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.11 ms | 0 - 46 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.605 ms | 1 - 34 MB | NPU | Use Export Script |
64
+ | Midas-V2 | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 1.669 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.186 ms | 1 - 1 MB | NPU | Use Export Script |
66
+ | Midas-V2 | float | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 3.056 ms | 35 - 35 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 | 10.39 ms | 0 - 28 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 | 11.575 ms | 0 - 10 MB | NPU | Use Export Script |
69
+ | Midas-V2 | w8a8 | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 1.413 ms | 0 - 49 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.834 ms | 0 - 47 MB | NPU | Use Export Script |
71
+ | Midas-V2 | w8a8 | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 1.064 ms | 0 - 149 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.289 ms | 0 - 3 MB | NPU | Use Export Script |
73
+ | Midas-V2 | w8a8 | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 1.375 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.576 ms | 0 - 11 MB | NPU | Use Export Script |
75
+ | Midas-V2 | w8a8 | RB3 Gen 2 (Proxy) | Qualcomm® QCS6490 (Proxy) | TFLITE | 3.708 ms | 0 - 48 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.616 ms | 0 - 11 MB | NPU | Use Export Script |
77
+ | Midas-V2 | w8a8 | RB5 (Proxy) | Qualcomm® QCS8250 (Proxy) | TFLITE | 15.657 ms | 0 - 2 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 | 10.39 ms | 0 - 28 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 | 11.575 ms | 0 - 10 MB | NPU | Use Export Script |
80
+ | Midas-V2 | w8a8 | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 1.067 ms | 0 - 150 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.285 ms | 0 - 3 MB | NPU | Use Export Script |
82
+ | Midas-V2 | w8a8 | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 1.885 ms | 0 - 32 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.184 ms | 0 - 17 MB | NPU | Use Export Script |
84
+ | Midas-V2 | w8a8 | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 1.071 ms | 0 - 147 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.275 ms | 0 - 2 MB | NPU | Use Export Script |
86
+ | Midas-V2 | w8a8 | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 1.375 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.576 ms | 0 - 11 MB | NPU | Use Export Script |
88
+ | Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 1.065 ms | 0 - 148 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.288 ms | 0 - 133 MB | NPU | Use Export Script |
90
+ | Midas-V2 | w8a8 | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | ONNX | 121.636 ms | 13 - 131 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.755 ms | 0 - 55 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.908 ms | 0 - 54 MB | NPU | Use Export Script |
93
+ | Midas-V2 | w8a8 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | ONNX | 97.795 ms | 131 - 586 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.596 ms | 0 - 36 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.678 ms | 0 - 36 MB | NPU | Use Export Script |
96
+ | Midas-V2 | w8a8 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | ONNX | 103.391 ms | 22 - 464 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.406 ms | 0 - 0 MB | NPU | Use Export Script |
98
+ | Midas-V2 | w8a8 | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 144.704 ms | 69 - 69 MB | NPU | [Midas-V2.onnx](https://huggingface.co/qualcomm/Midas-V2/blob/main/Midas-V2_w8a8.onnx) |
99
 
100
 
101
 
 
159
  Midas-V2
160
  Device : cs_8275 (ANDROID 14)
161
  Runtime : TFLITE
162
+ Estimated inference time (ms) : 84.3
163
+ Estimated peak memory usage (MB): [0, 42]
164
  Total # Ops : 138
165
  Compute Unit(s) : npu (138 ops) gpu (0 ops) cpu (0 ops)
166
  ```
 
249
  You can also run the demo on-device.
250
 
251
  ```bash
252
+ python -m qai_hub_models.models.midas.demo --eval-mode on-device
253
  ```
254
 
255
  **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
256
  environment, please add the following to your cell (instead of the above).
257
  ```
258
+ %run -m qai_hub_models.models.midas.demo -- --eval-mode on-device
259
  ```
260
 
261