Freezing tensorflow model into a .pb file
问题 I am trying to freeze a flow pattern In tenorflow, training from scratch is created after 4 files: model.ckpt-454501.data-00000-of-00001 model.ckpt-454501.index model.ckpt-454501.meta checkpoint I would like to convert them (or only the needed ones) into one file graph.pb I use src : import tensorflow as tf meta_path = 'model.ckpt-454501.meta' # Your .meta file # output_node_names = ['output:0'] # Output nodes with tf.Session() as sess: # Restore the graph saver = tf.train.import_meta_graph