问题定位:板端部署
问题描述:
开发机上使用 hb_mapper makertbin成功编译,并通过hb_perf 工具成功评估。
但是在开发板上执行hrt_model_exec perf或者exec的时候报错:
sunrise@ubuntu:/userdata/package/board/hrt_tools/bin$ hrt_model_exec perf --model_file /userdata/qat_hybrid_240x320_0820xxx1.bin --core_id=1 --frame_count=200 --perf_time=0 --thread_num=8
./hrt_model_exec perf --model_file /userdata/qat_hybrid_240x320_0820xxx1.bin --core_id=1 --frame_count=200 --perf_time=0 --thread_num=8
I0000 00:00:00.000000 61513 vlog_is_on.cc:197] RAW: Set VLOG level for “*” to 3
[BPU_PLAT]BPU Platform Version(1.3.6)!
[HBRT] set log level as 0. version = 3.15.55.0
[DNN] Runtime version = 1.24.5_(3.15.55 HBRT)
[A][DNN][packed_model.cpp:247]Model [HorizonRT] The model builder version = 1.24.3
Load model to DDR cost 621.187ms.
[Warning]: These operators have range limitations on input data:
[Div, Tan, Acos, Asin, Sqrt, Gather, GatherElements, GatherND, GridSample, Log, Onehot, PsroiPooling, Range, ReverseSequence, RoiPooling, RoiAlign, ScatterElements, ScatterND, Slice, Tile, Topk, Upsample].
Please make sure that these operators are not in your model, when no input data is provided to the tool.
[Suggestion]: Using --input_file command to specify perf input data, which can appoint valid input data.
I0101 13:30:26.006936 61513 function_util.cpp:323] get model handle success
I0101 13:30:26.007066 61513 function_util.cpp:656] get model input count success
I0101 13:30:26.007389 61513 function_util.cpp:687] prepare input tensor success!
I0101 13:30:26.007435 61513 function_util.cpp:697] get model output count success
[BPU_PLAT]FIXME: NEED Parse 0xc7 err status for J5P
[BPU_PLAT]BPU Plat Core(0) has running FCS:
[BPU_PLAT]fc (3)
[BPU_PLAT]fc (4)
[BPU_PLAT]BPU Plat Core(1) has no running FCS
[BPU_PLAT]No bpu dump tool(bpu_dump), Can put the tool in
[BPU_PLAT] /userdata or /mnt or /tmp to capture error snapshot!!
[BPU_PLAT]
***************** CORE[0] DUMP FC INFO *****************
March[4534850] | irq_num[0] | inst_len[25658]
inst[0xb8275970]
********************* END *********************
[BPU_PLAT]DUMP to file DUMP_FC.bin, len = 205264
[BPU_PLAT]Fatal BPU[0] error, Abort and Dumped the instance for DEUBG!!
[BPU_PLAT]Fatal BPU[0] To Abort all process!!
Aborted
后续尝试使用代码加载模型进行推理,还是出现相同错误。
求答疑,谢谢!

