1. 程式人生 > >Tensorflow ValueError: Protocol message RewriterConfig has no "layout_optimizer" field

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

bject iter error code protocol chang rewrite detect from

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