Toybrick

标题: Invalid broadcast for inputs,MULTIPLY fail,Create RKNN model fail,runtime [打印本页]

作者: byhang    时间: 2020-11-10 16:43
标题: Invalid broadcast for inputs,MULTIPLY fail,Create RKNN model fail,runtime
有没有大佬遇到这种情况的,rknn模型正常输出了,可视化里还能看到rknn模型结构,但Init runtime environment failed

D [setup_node:368]Setup node id[125] uid[61] op[MULTIPLY]
D [print_tensor:136]in(0) : id[ 180] vtl[1] const[0] shape[ 80, 80, 128, 1   ] fmt[f16] qnt[NONE]
D [print_tensor:136]in(1) : id[ 257] vtl[1] const[0] shape[ 80, 80, 128, 1   ] fmt[f16] qnt[NONE]
D [print_tensor:136]out(0): id[ 259] vtl[1] const[0] shape[ 80, 80, 128, 1   ] fmt[f16] qnt[NONE]
D [setup_node:368]Setup node id[126] uid[76] op[MULTIPLY]
E [op_check:98]Invalid broadcast for inputs[1] size[20]
E [setup_node:383]Check node[126] MULTIPLY fail
I [remove_client_ops:5062]remove_client_ops num=0
I [remove_client_ops:5073]remove_client_ops finish
Create RKNN model fail!
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 1154, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 356, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed


作者: tf小迷弟    时间: 2021-1-4 10:24
楼主解决了吗,我也遇到相同的问题了,卡着走不下去




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3