Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

convert file checkpoint to file pb tensorflow

Dung__Pham
Beginner
531 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
531 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

0 Kudos
Reply