Toybrick
标题:
关于RKNN_ERR_MODEL_INVALID
[打印本页]
作者:
tf小迷弟
时间:
2021-1-1 16:08
标题:
关于RKNN_ERR_MODEL_INVALID
我打开了verbose,报错信息是Check node ADD fail, 详细信息如下, 希望大佬解答一下
D [setup_node:368]Setup node id[170] uid[40] op[MULTIPLY]
D [print_tensor:136]in(0) : id[ 333] vtl[1] const[0] shape[ 2, 3, 13, 13, 1 ] fmt[f16] qnt[NONE]
D [print_tensor:136]in(1) : id[ 176] vtl[1] const[0] shape[ 2, 3 ] fmt[f16] qnt[NONE]
D [print_tensor:136]out(0): id[ 336] vtl[1] const[0] shape[ 2, 3, 13, 13, 1 ] fmt[f16] qnt[NONE]
D [setup_node:368]Setup node id[171] uid[42] op[ADD]
E [op_check:98]Invalid broadcast for inputs[1] size[0]
E [setup_node:383]Check node[171] ADD fail
Create RKNN model fail!
done
I [remove_client_ops:4942]remove_client_ops num=0
I [remove_client_ops:4953]remove_client_ops finish
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 988, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 320, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
作者:
tf小迷弟
时间:
2021-1-1 21:26
请问这个是需要自定义op吗
作者:
zhangzj
时间:
2021-1-4 15:46
tf小迷弟 发表于 2021-1-1 21:26
请问这个是需要自定义op吗
具体的模型转换问题建议加入置顶帖官方RKNN QQ群讨论。
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3