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.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| model | 1 year ago | |
| src | 2 years ago | |
| CMakeLists.txt | 1 year ago | |
| README.md | 1 year ago | |
| README_CN.md | 1 year ago | |
| build-linux.sh | 1 year ago | |
README.md
The following <TARGET_PLATFORM> is RV1106, RV1106B RV1103 or RV1103B
Arm Linux Demo
build
The 'build-linux.sh' can be used for compiling demo for target including RV1106 and RV1103.
Changing the cross compiler path via the setting the RK_RV1106_TOOLCHAIN, shown as below:
export RK_RV1106_TOOLCHAIN=~/opts/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf
then, run the script:
./build-linux.sh -t <TARGET_PLATFORM> -b Release
install
connect device and push build output into /userdata
adb push install/rknn_mobilenet_demo_Linux /userdata/
run
adb shell
cd /userdata/rknn_mobilenet_demo_Linux/
export LD_LIBRARY_PATH=./lib
./rknn_mobilenet_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
Note: RV1103B and RV1106B do not support NHWC output yet, so main_nhwc.c only supports RV1103 and RV1106.