使用的开发板为:Luckfox-Pico-Plus
使用的摄像头为:SC3336 摄像头
使用的显示屏为:Pico-LCD-1.3
参考的wiki链接为:https://wiki.luckfox.com/zh/Luckfox-Pic ... F%E5%B9%95
使用的固件以及可执行文件均使用wiki链接内百度网盘内的预编译镜像和预编译demo
已经确定摄像头与显示屏能够正常输出查看与显示
但是运行官方yolov5实时推理例程 内存报错:
文本形式如下:
# ./rknn_yolov5_demo_test ./model/yolov5.rknn
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
this device is not whitelisted for capture cvi
E RKNN: failed to allocate fd, ret: -1, errno: 12, errstr: Cannot allocate memory
E RKNN: failed to allocate model memory!, size: 14364352, flags: #2
rknn_init fail! ret=-1
load lable ./model/coco_80_labels_list.txt
devpath = /dev/video11
driver = rkisp_v7
card = rkisp_mainpath
bus_info = platform:rkisp-vir0
version = 20000
capabilities = 84201000
device_caps = 4201000
fmt = UYVY 4:2:2 59565955
fmt = Y/CbCr 4:2:2 3631564e
fmt = Y/CrCb 4:2:2 3136564e
fmt = Y/CrCb 4:2:0 3132564e
size = 32 x 16 ~ 2304 x 1296 (+8 +8)
fmt = Y/CbCr 4:2:0 3231564e
fmt = Y/CrCb 4:2:0 (N-C) 31324d4e
fmt = Y/CbCr 4:2:0 (N-C) 32314d4e
rkaiq log level ff0
很奇怪,明明官方的wiki里面能够使用RV1103的Luckfox-Pico-Plus进行yolov5的实时推理,但是我使用一样的固件和可执行文件就是会爆内存,来论坛里看,官方工程师大大却说RV1103跑不了实时:
Luckfox-Pico-Plus运行官方yolov5实时推理例程 内存报错
您好,后续经过优化和内核更新在RV1103上已经可以使用Yolov5实时推理,只是受内存限制无法和RKMPI硬件编码同时使用。
网盘中的内容都比较旧且没有维护,wiki中的说明已经不能适用,建议使用https://wiki.luckfox.com/zh/Luckfox-Pico/Download网盘最新镜像(可以使用 luckfox-config 使能 FBTFT 以支持Pico-LCD-1.3)结合我们提供的 RKNN 例程仓库https://github.com/LuckfoxTECH/luckfox_ ... nn_example使用,实测是没有问题的
网盘中的内容都比较旧且没有维护,wiki中的说明已经不能适用,建议使用https://wiki.luckfox.com/zh/Luckfox-Pico/Download网盘最新镜像(可以使用 luckfox-config 使能 FBTFT 以支持Pico-LCD-1.3)结合我们提供的 RKNN 例程仓库https://github.com/LuckfoxTECH/luckfox_ ... nn_example使用,实测是没有问题的