Crocodile wrote: ↑2024-03-08 12:01
ExcitedFrog wrote: ↑2024-03-08 11:32
虚拟机ubuntu22.04, 开发板pico pro max, 花屏-清屏功能正常但输入命令时会报没有储存空间;
在虚拟机按照例程luckfox_yolov5的说明进行编译后cpp/luckfox_yolov5_demo路径下没有名为luckfox_yolov5_demo_test的文件,只有rknn_yolov5_demo_test及lib和model文件夹。拷贝至板端后用rknn_yolov5_demo_test替换命令中的luckfox_yolov5_demo_test,可以正常配置权限,但在输入./rknn_yolov5_demo_test ./model/yolov5.rknn运行时会报错:
-bash: ./luckfox_yolov5_demo_test: No such file or directory
尝试在虚拟机下运行时报错:
arm-binfmt-P: Could not open '/lib/ld-uClibc.so.0': No such file or directory
您好,花屏和清屏运行时输入命令报cat: write error: No space left on device 是正常现象,cat /dev/zero > /dev/fb0 no left 就是把清零数据不断写入/dev/fb0 直到设备的空间被占满报错No space left on device ,主要用来测试屏幕是否正常工作。
make install 编译后没有生成 luckfox_yolov5_demo_test 是我在进行整理工作时的疏忽,正确的可执行文件应该是rknn_yolov5_demo_test
这个例程是基于buildroot镜像开发的,其他镜像(如 ubuntu)缺少相关的摄像头驱动和动态链接库无法运行,报错-bash: ./luckfox_yolov5_demo_test: No such file or directory 的原因可能是您使用的是ubuntu系统。
在虚拟机上报错是因为该程序是运行在arm平台上(基于uclibc)的,虚拟机的架构与arm不同是无法正确运行的。
我换到了buildroot镜像,运行时出现以下信息并卡住,没有响应:
# ./luckfox_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
index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
index=0, name=output0, n_dims=4, dims=[1, 80, 80, 255], n_elems=1632000, size=1632000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
index=1, name=286, n_dims=4, dims=[1, 40, 40, 255], n_elems=408000, size=408000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
index=2, name=288, n_dims=4, dims=[1, 20, 20, 255], n_elems=102000, size=102000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
model is NHWC input fmt
model input height=640, width=640, channel=3
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