Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tensorflow 2.0 : frozen graph support [closed]

Will the support for frozen graph continue in tensorflow 2.0 or deprecated? I mean the scripts and APIs to create/optimize frozen graph from saved_model. Also the APIs to run the inference for the same.

Assuming it will be supported in future, what is the recommended method to run the inference on frozen graph in tensorflow 2.0 ?

like image 628
kumar desappan Avatar asked Apr 07 '19 18:04

kumar desappan


1 Answers

The freeze graph APIs - freeze_graph.py and converter_variables_to_constants - will not be supported in TensorFlow 2.0.

In 2.0, the primary export format is SavedModels so APIs are built to directly support SavedModels. Inference on existing frozen graphs can be run using the v1.compat path.

like image 132
Nupur Garg Avatar answered Sep 18 '22 07:09

Nupur Garg