Update README.md
Browse files
README.md
CHANGED
|
@@ -1,74 +1,75 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: bsd-3-clause
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
-
|
| 6 |
-
pipeline_tag: depth-estimation
|
| 7 |
-
tags:
|
| 8 |
-
- IGEV++
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
-
# IGEV++
|
| 12 |
-
|
| 13 |
-
This version of RT IGEV has been converted to run on the Axera NPU using **w8a16** quantization.
|
| 14 |
-
|
| 15 |
-
Compatible with Pulsar2 version: 5.0-patch1
|
| 16 |
-
|
| 17 |
-
## Convert tools links:
|
| 18 |
-
|
| 19 |
-
For those who are interested in model conversion, you can try to export axmodel through
|
| 20 |
-
|
| 21 |
-
- [The repo of original](https://github.com/gangweiX/IGEV-plusplus)
|
| 22 |
-
|
| 23 |
-
- [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
## Support Platform
|
| 27 |
-
|
| 28 |
-
- AX650
|
| 29 |
-
- [M4N-Dock(爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: bsd-3-clause
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
|
| 6 |
+
pipeline_tag: depth-estimation
|
| 7 |
+
tags:
|
| 8 |
+
- IGEV++
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# IGEV++
|
| 12 |
+
|
| 13 |
+
This version of RT IGEV has been converted to run on the Axera NPU using **w8a16** quantization.
|
| 14 |
+
|
| 15 |
+
Compatible with Pulsar2 version: 5.0-patch1
|
| 16 |
+
|
| 17 |
+
## Convert tools links:
|
| 18 |
+
|
| 19 |
+
For those who are interested in model conversion, you can try to export axmodel through
|
| 20 |
+
|
| 21 |
+
- [The repo of original](https://github.com/gangweiX/IGEV-plusplus)
|
| 22 |
+
|
| 23 |
+
- [Pulsar2 Link, How to Convert ONNX to axmodel](https://pulsar2-docs.readthedocs.io/en/latest/pulsar2/introduction.html)
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
## Support Platform
|
| 27 |
+
|
| 28 |
+
- AX650
|
| 29 |
+
- [M4N-Dock(爱芯派Pro)](https://wiki.sipeed.com/hardware/zh/maixIV/m4ndock/m4ndock.html)
|
| 30 |
+
- AX8850
|
| 31 |
+
- [M.2 Accelerator card](https://docs.m5stack.com/en/ai_hardware/LLM-8850_Card)
|
| 32 |
+
|
| 33 |
+
|Chips|Models |Time|
|
| 34 |
+
|--|--|--|
|
| 35 |
+
|AX650|rt_sceneflow|142.0 ms |
|
| 36 |
+
|AX637|rt_sceneflow(分成三段 rt_p1 + rt_iterfn + rt_up)|123.0 + 29.3*18 + 9.1 = 659.5 ms|
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
## How to use
|
| 40 |
+
|
| 41 |
+
Download all files from this repository to the device
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
### python env requirement
|
| 45 |
+
|
| 46 |
+
#### pyaxengine
|
| 47 |
+
|
| 48 |
+
https://github.com/AXERA-TECH/pyaxengine
|
| 49 |
+
|
| 50 |
+
```
|
| 51 |
+
wget https://github.com/AXERA-TECH/pyaxengine/releases/download/0.1.3.rc2/axengine-0.1.3-py3-none-any.whl
|
| 52 |
+
pip install axengine-0.1.3-py3-none-any.whl
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
#### others
|
| 56 |
+
|
| 57 |
+
Maybe None.
|
| 58 |
+
|
| 59 |
+
#### Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)
|
| 60 |
+
|
| 61 |
+
Input image:
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+
run
|
| 66 |
+
```
|
| 67 |
+
python3 infer_ax.py
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
Output image:
|
| 71 |
+
ONNX result
|
| 72 |
+

|
| 73 |
+
|
| 74 |
+
AXmodel result
|
| 75 |
+

|