You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| model | 3 years ago | |
| onnx_model | 3 years ago | |
| src | 3 years ago | |
| CMakeLists.txt | 3 years ago | |
| README.md | 3 years ago | |
| build-android_RK3562.sh | 3 years ago | |
| build-android_RK3566_RK3568.sh | 3 years ago | |
| build-android_RK3588.sh | 3 years ago | |
| build-linux_RK3562.sh | 3 years ago | |
| build-linux_RK3566_RK3568.sh | 3 years ago | |
| build-linux_RK3588.sh | 3 years ago | |
README.md
The following <TARGET_PLATFORM> represents RK356X or RK3588.
Aarch64 Linux Demo
Build
modify GCC_COMPILER on build-linux.sh for target platform, then execute
./build-linux.sh
Install
Copy install/rknn_multiple_input_demo_Linux to the devices under /userdata.
- If you use rockchip's evb board, you can use the following way:
Connect device and push the program and rknn model to /userdata
adb push install/rknn_multiple_input_demo_Linux /userdata/
- If your board has sshd service, you can use scp or other methods to copy the program and rknn model to the board.
Run
adb shell
cd /userdata/rknn_multiple_input_demo_Linux/
export LD_LIBRARY_PATH=./lib
./rknn_multiple_input_demo model/<TARGET_PLATFORM>/multiple_input_demo.rknn model/input1.bin#model/input2.bin
Android Demo
Build
modify ANDROID_NDK_PATH on build-android.sh for target platform, then execute
./build-android.sh
Install
connect device and push build output into /data
adb push install/rknn_multiple_input_demo_Android /data/
Run
adb shell
cd /data/rknn_multiple_input_demo_Android/
export LD_LIBRARY_PATH=./lib
./rknn_multiple_input_demo model/<TARGET_PLATFORM>/multiple_input_demo.rknn model/input1.bin#model/input2.bin