模型保存:
saver = tf.train.Saver()
saver.save(sess, model + '/final.model', global_step=step)
模型读取:
saver = tf.train.Saver()
saver.restore(sess, 'model.bak.1/final.model')
模型保存:
saver = tf.train.Saver()
saver.save(sess, model + '/final.model', global_step=step)
模型读取:
saver = tf.train.Saver()
saver.restore(sess, 'model.bak.1/final.model')