未验证 提交 3dcc9565 编写于 作者: B BUG1989 提交者: GitHub

fix the compile error of TIM-VX (#560)

上级 f00c31f9
......@@ -52,6 +52,8 @@ jobs:
run: sudo apt-get update
- name: protobuf
run: sudo apt-get install libopencv-dev
- name: gtest
run: sudo apt-get install libgtest-dev
- name: lcov
run: sudo apt-get install lcov
- name: tim-vx
......
......@@ -141,6 +141,8 @@ jobs:
run: sudo apt-get update
- name: protobuf
run: sudo apt-get install libopencv-dev
- name: gtest
run: sudo apt-get install libgtest-dev
- name: tim-vx
run: |
git clone https://github.com/VeriSilicon/TIM-VX.git
......
......@@ -150,7 +150,7 @@ make
make install
```
## 4. GPU 版本
## 4. 异构计算 版本
#### 4.1 ACL
......@@ -168,6 +168,10 @@ make install
请参考 [Tengine Lite TensorRT GPU 使用说明](gpu_trt_user_manual.md)
#### 4.5 TIM-VX
请参考 [Tengine Lite VeriSilicon NPU 使用说明](npu_tim-vx_user_manual.md)
## 5. 交叉编译 Arm64 OHOS(鸿蒙系统) 版本
### 5.1 安装 DevEco Studio 和 OHOS NDK
......
......@@ -2,9 +2,9 @@
## 1. Brief
TIM-VX is a software integration module provided by VeriSilicon to facilitate deployment of Neural-Networks on OpenVX enabled ML accelerators.
[TIM-VX](https://github.com/VeriSilicon/TIM-VX.git) is a software integration module provided by VeriSilicon to facilitate deployment of Neural-Networks on OpenVX enabled ML accelerators.
Tengine Lite has supported to integrate with TIM-VX Library of Verisilicon to inference CNN by Khadas VIM3(Amlogic A311D).
Tengine Lite has supported to integrate with TIM-VX Library of Verisilicon to inference CNN by [Khadas VIM3](https://www.khadas.cn/product-page/vim3)(Amlogic A311D).
## 2. How to Build
......@@ -14,6 +14,7 @@ For some special reasons, only supported on Khadas VIM3 or x86_64 simulator to w
```bash
$ git clone https://github.com/VeriSilicon/TIM-VX.git
$ sudo apt-get install libgtest-dev
```
##### Download Tengine Lite
......@@ -86,7 +87,17 @@ build-tim-vx-arm64/install/lib/
└── libtengine-lite.so
```
On the Khadas VIM3, it need to replace those libraries in the /lib/ path
On the Khadas VIM3, it need to replace those libraries in the /lib/
#### 3.2 Replace the kernel module on the board if necessary
- Q: Why?
- A: Because the firmware of Khadas VIM3 maybe pre-install old version kernel module of NPU
- Q: How to?
- A: Remove the old kernel module and replace it with the new version(in the /prebuild-sdk-a311d/lib/galcore.ko)
```
$ rmmod galcore
$ ismod galcore
```
#### 3.2 Set uint8 Inference mode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册