Tensorflow ValueError: Protocol message RewriterConfig has no "layout_optimizer" field(示例代
Posted lion-zheng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tensorflow ValueError: Protocol message RewriterConfig has no "layout_optimizer" field(示例代相关的知识,希望对你有一定的参考价值。
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(示例代的主要内容,如果未能解决你的问题,请参考以下文章
Tensorflow:ValueError:形状必须排名2但排名3
Tensorflow:ValueError:预期的非整数,得到<dtype:'int32'>
TensorFlow 自定义损失 ValueError:“没有为任何变量提供渐变:[....'Layers'....]”