Toybrick

标题: onnx模型LSTM算子转化为rknn时报错 [打印本页]

作者: jiexu16    时间: 2021-7-11 15:20
标题: onnx模型LSTM算子转化为rknn时报错
I Try match LSTM_LSTM_131ut0W Not match tensor LSTM_LSTM_131ut0 E Try match LSTM_LSTM_131ut0 failed, catch exception!W ----------------Warning(9)----------------E Catch exception when loading onnx model: D:\RK3399\test_onnx\multi-modal-kws2.onnx!E Traceback (most recent call last):E   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1152, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.match_paragraph_and_paramE   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1054, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx._onnx_push_ready_tensorE TypeError: 'NoneType' object is not iterableE During handling of the above exception, another exception occurred:E Traceback (most recent call last):E   File "rknn\api\rknn_base.py", line 278, in rknn.api.rknn_base.RKNNBase.load_onnxE   File "rknn\base\RKNNlib\RK_nn.py", line 135, in rknn.base.RKNNlib.RK_nn.RKnn.load_onnxE   File "rknn\base\RKNNlib\app\importer\import_onnx.py", line 121, in rknn.base.RKNNlib.app.importer.import_onnx.Importonnx.runE   File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1158, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.match_paragraph_and_paramE   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.eE ValueError: Try match LSTM_LSTM_131ut0 failed, catch exception!--> Load onnx model failed![qq]1690663374[/qq]





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