Closed gi097 closed 6 years ago
I was able to load the graph using:
import tensorflow as tf
meta_path = 'model_cityscapes.meta'
output_node_names = ['output:0']
with tf.Session() as sess:
# Restore the graph
saver = tf.train.import_meta_graph(meta_path, clear_devices=True)
graph = tf.get_default_graph()
input_graph_def = graph.as_graph_def()
sess = tf.Session()
saver.restore(sess, "model_cityscapes")
I have trouble finding the output node name of this model. Do you know the name?
I have trouble finding the output node name of this model. Do you know the name?
Hi,I got this problem too.Do you know the output_node now? Thanks
Hello,
I downloaded your pretrained cityscapes model. The files contained in there are:
I did like to freeze the graph to a frozen
.pb
file. So I am using this script to load and freeze the model:However, since your provided files do not include any
checkpoint
, the following line raises an error:tf.train.latest_checkpoint('.')
, it returnsNone
.Could you explain how to correctly freeze this model?