保存:
saver = tf.train.Saver() with tf.Session() as sess: saver.save(sess,'路径/XXXX.ckpt')
加载:
saver = tf.train.Saver() with tf.Session() as sess: saver.restore(sess,'路径/XXXX.ckpt')
posted on 2018-10-25 20:32 医疗兵皮特儿 阅读(92) 评论(0) 编辑 收藏 举报