|
--> Loading model
/home/xjw/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.. Use node.outputs instead.
warnings.warn(message)
E Catch exception when loading onnx model: ../weights/RFB_640_cut.onnx!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 510, in rknn.api.rknn_base.RKNNBase.load_onnx
E File "rknn/base/RKNNlib/converter/convert_onnx.py", line 494, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.__init__
E File "rknn/base/RKNNlib/converter/convert_onnx.py", line 502, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.__init__
E File "rknn/base/RKNNlib/converter/onnx_util.py", line 154, in rknn.base.RKNNlib.converter.onnx_util.ONNXProto_Util.optim_model
E File "/home/xjw/.local/lib/python3.6/site-packages/onnx/optimizer.py", line 55, in optimize
E optimized_model_str = C.optimize(model_str, passes)
E IndexError: _Map_base::at
Traceback (most recent call last):
File "/home/xjw/computer/tool/pycharm/pycharm-professional-2019.3.3/pycharm-2019.3.3/plugins/python/helpers/pydev/pydevd.py", line 1434, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/xjw/computer/tool/pycharm/pycharm-professional-2019.3.3/pycharm-2019.3.3/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/xjw/computer/program/python/zhs_face_detect_recongnize_project/RKNN/test.py", line 34, in <module>
rknn.build(do_quantization=False)
File "/home/xjw/.local/lib/python3.6/site-packages/rknn/api/rknn.py", line 222, in build
inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'
done
--> Building model
|
|