What is difference frozen_inference_graph.pb and saved_model.pb?

frozen_inference_graph.pb, is a frozen graph that cannot be trained anymore, it defines the graphdef and is actually a serialized graph and can be loaded with this code: def load_graph(frozen_graph_filename): with tf.gfile.GFile(frozen_graph_filename, “rb”) as f: graph_def = tf.GraphDef() graph_def.ParseFromString(f.read()) return graph_def tf.import_graph_def(load_graph(“frozen_inference_graph.pb”)) the saved model is a model generated by tf.saved_model.builder and is has to be … Read more