Toybrick

onnx转换rknn出现如下报错!!!!!!

慕容紫

注册会员

积分
59
楼主
发表于 2021-7-1 17:00:42    查看: 6582|回复: 0 | [复制链接]    打印 | 只看该作者
ated. It will be removed in future release.. Use node.outputs instead.
  warnings.warn(message)
I Current ONNX Model use ir_version 7 opset_version 11
W Please confirm that your onnx opset_version <= 9 (current opset_verison = 11)!!!
D import clients finished
I build output layer attach_ArgMax_ArgMax_0ut0
I Try match ArgMax_ArgMax_0ut0
W Not match tensor ArgMax_ArgMax_0ut0
E Try match ArgMax_ArgMax_0ut0 failed, catch exception!
W ----------------Warning(2)----------------
E Catch exception when loading onnx model: D:\1RKNNtoolkit\deeplabv3\unet.onnx!
E Traceback (most recent call last):
E   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1130, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.match_paragraph_and_param
E   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1039, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx._onnx_push_ready_tensor
E TypeError: 'NoneType' object is not iterable
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E   File "rknn\api\rknn_base.py", line 559, in rknn.api.rknn_base.RKNNBase.load_onnx
E   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1136, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.match_paragraph_and_param
E   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Try match ArgMax_ArgMax_0ut0 failed, catch exception!
--> Load onnx model failed!

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表