From what I\'ve gathered so far, there are several different ways of dumping a TensorFlow graph into a file and then loading it into another program, but I haven\'t been abl
You can try the following code:
with tf.gfile.FastGFile('model/frozen_inference_graph.pb', "rb") as f: graph_def = tf.GraphDef() graph_def.ParseFromString(f.read()) g_in = tf.import_graph_def(graph_def, name="") sess = tf.Session(graph=g_in)