固件类型:官方提供的固件
固件文件名称:ROC-RK3576-PC_Ubuntu22.04-Xfce-r31157_v1.0.1f_2505
固件下载地址:百度网盘
Log日志:log.zip
使用非Firyfly提供交叉编译器成功编译且在rk3568(buildroot系统)上成功运行的可执行文件在rk3576(Ubuntu22系统)上报错Illegal instruction
具体报错代码如下:
firefly@firefly:~/Desktop$ ./yolov8_seg
load lable SAFE.txt
model input num: 1, output num: 13
input tensors:
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
output tensors:
index=0, name=318, n_dims=4, dims=[1, 64, 80, 80], n_elems=409600, size=409600, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-49, scale=0.093813
index=1, name=onnx::ReduceSum_324, n_dims=4, dims=[1, 1, 80, 80], n_elems=6400, size=6400, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.001961
index=2, name=330, n_dims=4, dims=[1, 1, 80, 80], n_elems=6400, size=6400, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.000048
index=3, name=303, n_dims=4, dims=[1, 32, 80, 80], n_elems=204800, size=204800, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=35, scale=0.018830
index=4, name=335, n_dims=4, dims=[1, 64, 40, 40], n_elems=102400, size=102400, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-61, scale=0.083797
index=5, name=onnx::ReduceSum_341, n_dims=4, dims=[1, 1, 40, 40], n_elems=1600, size=1600, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.001961
index=6, name=347, n_dims=4, dims=[1, 1, 40, 40], n_elems=1600, size=1600, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.000270
index=7, name=308, n_dims=4, dims=[1, 32, 40, 40], n_elems=51200, size=51200, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=33, scale=0.016181
index=8, name=352, n_dims=4, dims=[1, 64, 20, 20], n_elems=25600, size=25600, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-73, scale=0.080116
index=9, name=onnx::ReduceSum_358, n_dims=4, dims=[1, 1, 20, 20], n_elems=400, size=400, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003801
index=10, name=364, n_dims=4, dims=[1, 1, 20, 20], n_elems=400, size=400, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003801
index=11, name=313, n_dims=4, dims=[1, 32, 20, 20], n_elems=12800, size=12800, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-5, scale=0.012397
index=12, name=298, n_dims=4, dims=[1, 32, 160, 160], n_elems=819200, size=819200, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.039006
model is NHWC input fmt
model input height=640, width=640, channel=3
start processImagesInFolder
scale=1.000000 dst_box=(0 0 639 639) allow_slight_change=1 _left_offset=0 top_offset=0 padding_w=0 padding_h=0
src width=640 height=640 fmt=0x1 virAddr=0x0x3e7dcb70 fd=0
dst width=640 height=640 fmt=0x1 virAddr=0x0x3e62f8c0 fd=0
src_box=(0 0 639 639)
dst_box=(0 0 639 639)
color=0x72
rga_api version 1.10.1[0]
rknn_run
– matmul_by_cpu_uint8 use: 16.349001 ms
Illegal instruction
后续尝试了仅运行hello world输出语句,依旧报错Illegal instructiontchip_askquestions
log.zip (1.01 KB)