Toybrick

标题: tensorflow转rknn出错 [打印本页]

作者: zhw    时间: 2020-10-9 17:21
标题: tensorflow转rknn出错

--> Loading model
D:\Software\Python36\lib\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)
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640E Unknow layer "swish_f32"
E Try match swish_f32 swish_6/swish_f32 failed, catch exception!
E Catch exception when loading tensorflow model: model.pb!
E Traceback (most recent call last):
E   File "rknn\base\RKNNlib\converter\convert_tf.py", line 668, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E   File "rknn\base\RKNNlib\RKNNnet.py", line 189, in rknn.base.RKNNlib.RKNNnet.RKNNNet.new_layer
E   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Unknow layer "swish_f32"
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E   File "rknn\api\rknn_base.py", line 374, in rknn.api.rknn_base.RKNNBase.load_tensorflow
E   File "rknn\base\RKNNlib\converter\convert_tf.py", line 767, in rknn.base.RKNNlib.converter.convert_tf.convert_tf.match_paragraph_and_param
E   File "rknn\api\rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Try match swish_f32 swish_6/swish_f32 failed, catch exception!
Load onnx_model failed!

这个问题具体要怎么解决?

作者: jefferyzhang    时间: 2020-10-10 08:29
Try match swish_f32 swish_6/swish_f32 failed
这个OP不支持。
建议加入本站置顶帖QQ群里交流下




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