# Revision history [back]

@VonChenpPlus, As you may know, there are two stages for deep learning models: training and testing. Attached .pb graph is in training phase that means it has a lot of extra nodes. In example, loss function

and nobody know what else:

To solve it, you may try to turn this model to testing phase by TensorFlow tools:

graph = 'output_graph.pb'
with tf.gfile.FastGFile(graph) as f:
graph_def = tf.GraphDef()