根据 Tensorflow 模型文档,应该可以冻结 Tensorflow 1.4 的模型
通过重新运行导出器,将其指向模型目录以及样本/配置中的相应配置文件,可以使用当前版本的 Tensorflow 重新生成每个冻结推理图。 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'
Run Code Online (Sandbox Code Playgroud)
那么文档是错误的吗?
| 归档时间: |
|
| 查看次数: |
564 次 |
| 最近记录: |