根据Tensorflow Models文档,应该可以冻结Tensorflow 1.4的模型
每个冻结的推理图都可以使用当前版本的Tensorflow通过重新运行导出器来重新生成,将其指向模型目录以及sample / configs中的相应配置文件。 https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
尝试冻结模型时出现错误:
Traceback (most recent call last):
File "export_inference_graph.py", line 96, in <module>
from object_detection import exporter
File "C:\detection\object_detection\exporter.py", line 20, in <module>
from tensorflow.contrib.quantize.python import graph_matcher
ImportError: cannot import name 'graph_matcher'
那么文档有误吗?