打印tensorflow恢复模型中所有变量与操作节点
#参数恢复
self.sess=tf.Session()
saver = tf.train.import_meta_graph(os.path.join(model_fullpath,‘model.ckpt-7.meta’))
module_file = tf.train.latest_checkpoint(model_fullpath)
saver.restore(self.sess, modu...
转载
2019-05-08 14:58:30 ·
548 阅读 ·
0 评论