graph = tf.Graph()
with graph.as_default():
	saver = tf.train.import_meta_graph(metapath)

session = tf.Session(graph=graph)

self.sess = session

saver.restore(session, os.path.splitext(metapath)[0])
Categories: tensorflow

0 Comments

Leave a Reply

Your email address will not be published.