Toybrick

tensorflow转rknn出错

zhw

注册会员

积分
107
楼主
发表于 2020-10-9 17:21:03    查看: 7470|回复: 1 | [复制链接]    打印 | 只看该作者

--> 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

版主

积分
13582
沙发
发表于 2020-10-10 08:29:56 | 只看该作者
Try match swish_f32 swish_6/swish_f32 failed
这个OP不支持。
建议加入本站置顶帖QQ群里交流下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表