tensorflow difference between saving model via exporter and tf.train.write_graph()?

微笑、不失礼 提交于 2019-12-04 03:58:17

Given the Exporter is now officially deprecated, the new protocol for saving graph and data is to use Saver. Here is an excellent blog with sample code: https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc.

Exporter is used after you train a model and want to serve it (use it for inference).

Saver is used for checkpointing when you train a model.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!