|
有个抠图模型转换rknn出错,用其他平台则无此问题,onnx文件下载地址:https://drive.google.com/file/d/ ... hd/view?usp=sharing 或 https://colab.research.google.co ... j1rgA-f?usp=sharing
--> 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!
|
|