Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Dung__Pham
Beginner
104 Views

convert file checkpoint to file pb tensorflow

I read document convert file checkpont to file pb. See in bellow (This is code convert a CRNN model to Intermediate Representation (IR)) 

from tensorflow.python.framework import graph_io
frozen = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['shadow/LSTMLayers/transpose_time_major'])
graph_io.write_graph(frozen, '.', 'frozen_graph.pb', as_text=False)


In my your model i don't know how find this parameter :['shadow/LSTMLayers/transpose_time_major'] . 

0 Kudos
1 Reply
SuryaPSC_Intel
Employee
104 Views

Hi Pham,

This parameter is name of the output node. Kindly check your graph to know the name of output node.

Best Regards,

Surya

Reply