官方文档和例子地址:https://github.com/rockchip-linux/rknpu2
根据文档编译里面任何例子,运行直接npu初始化就崩溃
镜像版本:rock3a_debian_buster_xfce4_arm64_20210914_0334-gpt.img.gz
操作步骤:
1.rk官方ubuntu18 docker上交叉编译/examples/rknn_ssd_demo
./build-linux.sh
2.把交叉编译好的install目录下的文件传到rock 3A上
3.运行命令
./rknn_ssd_demo model/ssd_inception_v2.rknn model/road.bmp
Loading model ...
rknn_init ...
E RKNN: [03:53:22.886] failed to allocate handle, ret: -1
请问例子要怎样才能跑起来?