--> Config model
done
--> Loading model
W Call onnx.optimizer.optimize fail, skip optimize
E Try match Resize_Resize_466ut0 failed, catch exception!
W ----------------Warning(1)----------------
E Catch exception when loading onnx model: modnet.onnx!
E Traceback (most recent call last):
E File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1575, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.match_paragraph_and_param
E File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1184, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx._onnx_try_match_ruler
E File "<string>", line 1, in <module>
E File "rknn\base\RKNNlib\converter\convert_onnx.py", line 843, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.r_resize_check
E File "rknn\api\rknn_log.py", line 296, in rknn.api.rknn_log.RKNNLog.w
E TypeError: w() takes exactly 1 positional argument (2 given)
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E File "rknn\api\rknn_base.py", line 292, in rknn.api.rknn_base.RKNNBase.load_onnx
E File "rknn\base\RKNNlib\RK_nn.py", line 141, in rknn.base.RKNNlib.RK_nn.RKnn.load_onnx
E File "rknn\base\RKNNlib\app\importer\import_onnx.py", line 129, in rknn.base.RKNNlib.app.importer.import_onnx.Importonnx.run
E File "rknn\base\RKNNlib\converter\convert_onnx.py", line 1614, 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 Resize_Resize_466ut0 failed, catch exception!
Load koutu_20211009 failed!
jefferyzhang 发表于 2021-11-22 21:07
这里log意思就是Resize_Resize这个op不匹配。可能情况有几种:
1. onnx版本不匹配所使用的rknntoolkit要求 ...
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |