码迷,mamicode.com
首页 > 其他好文 > 详细

Tensorflow ValueError: Protocol message RewriterConfig has no "layout_optimizer" field

时间:2018-08-04 13:05:06      阅读:500      评论:0      收藏:0      [点我收藏+]

标签:optimizer   erro   ror   rewrite   optimize   sea   val   work   protoc   

I changed models/research/object_detection/exporter.py line 71/72 from:

rewrite_options = rewriter_config_pb2.RewriterConfig(
          layout_optimizer=rewriter_config_pb2.RewriterConfig.ON)

to

rewrite_options = rewriter_config_pb2.RewriterConfig()

It worked ~~~ good luck!

Tensorflow ValueError: Protocol message RewriterConfig has no "layout_optimizer" field

标签:optimizer   erro   ror   rewrite   optimize   sea   val   work   protoc   

原文地址:https://www.cnblogs.com/lion-zheng/p/9418271.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!