|
地板
楼主 |
发表于 2022-11-18 10:05:41
|
只看该作者
您好,我重新编译了一下,发现还是这样,求大佬指点迷津.
toybrick@debian10:~/rknn/rknn_yolov5_demo$ ./run_rk180x.sh
post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
Loading mode...
librknn_runtime version 1.7.1 (97198ce build: 2021-11-24 09:04:55 base: 1131)
sdk version: librknn_runtime version 1.7.1 (97198ce build: 2021-11-24 09:04:55 base: 1131) driver version: 6.4.6.5.351518
model input num: 1, output num: 3
index=0, name=images_165, n_dims=4, dims=[1, 3, 640, 640], n_elems=1228800, size=1228800, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=0, scale=0.003922
index=0, name=Conv_Conv_159/out0_0, n_dims=4, dims=[1, 255, 80, 80], n_elems=1632000, size=1632000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=187, scale=0.127843
index=1, name=Conv_Conv_160/out0_1, n_dims=4, dims=[1, 255, 40, 40], n_elems=408000, size=408000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=182, scale=0.113217
index=2, name=Conv_Conv_161/out0_2, n_dims=4, dims=[1, 255, 20, 20], n_elems=102000, size=102000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=172, scale=0.103272
model is NCHW input fmt
model input height=640, width=640, channel=3
failed to dlopen /usr/lib/libdrm.so
./run_rk180x.sh: line 4: 25349 Segmentation fault ./rknn_yolov5_demo model/${chip_dir}/yolov5s_relu_rk180x_out_opt.rknn model/bus.bmp
toybrick@debian10:~/rknn/rknn_yolov5_demo$ ./rknn_yolov5_demo
Usage: ./rknn_yolov5_demo <rknn model> <bmp>
toybrick@debian10:~/rknn/rknn_yolov5_demo$ ./rknn_yolov5_demo model/rk180x/yolov5s_relu_rk180x_out_opt.rknn model/bus.bmp
post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
Loading mode...
librknn_runtime version 1.7.1 (97198ce build: 2021-11-24 09:04:55 base: 1131)
sdk version: librknn_runtime version 1.7.1 (97198ce build: 2021-11-24 09:04:55 base: 1131) driver version: 6.4.6.5.351518
model input num: 1, output num: 3
index=0, name=images_165, n_dims=4, dims=[1, 3, 640, 640], n_elems=1228800, size=1228800, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=0, scale=0.003922
index=0, name=Conv_Conv_159/out0_0, n_dims=4, dims=[1, 255, 80, 80], n_elems=1632000, size=1632000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=187, scale=0.127843
index=1, name=Conv_Conv_160/out0_1, n_dims=4, dims=[1, 255, 40, 40], n_elems=408000, size=408000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=182, scale=0.113217
index=2, name=Conv_Conv_161/out0_2, n_dims=4, dims=[1, 255, 20, 20], n_elems=102000, size=102000, fmt=NCHW, type=UINT8, qnt_type=AFFINE, zp=172, scale=0.103272
model is NCHW input fmt
model input height=640, width=640, channel=3
failed to dlopen /usr/lib/libdrm.so
Segmentation fault
toybrick@debian10:~/rknn/rknn_yolov5_demo$ ls
lib model rknn_yolov5_demo run_rk180x.sh run_rv1109_rv1126.sh
toybrick@debian10:~/rknn/rknn_yolov5_demo$
|
|