Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5766 Discussions

convert file checkpoint to file pb tensorflow

Dung__Pham
Beginner
255 Views

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
255 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