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.

convert file checkpoint to file pb tensorflow

Dung__Pham
초급자
962 조회수

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 포인트
1 응답
SuryaPSC_Intel
962 조회수

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 포인트
응답