📜  保存模型 tensorflow - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:41.474000             🧑  作者: Mango

代码示例3
with tf.Session() as sess:
  new_saver = tf.train.import_meta_graph('my_test_model-1000.meta')
  new_saver.restore(sess, tf.train.latest_checkpoint('./'))