2016-12-07 71 views

回答

2

,你可以看看這裏的tensorflow例子:https://github.com/aymericdamien/TensorFlow-Exampleshttps://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/4_Utils/save_restore_model.ipynb

它涉及到如何拯救訓練模型,並重新使用。

從筆記本:

# 'Saver' op to save and restore all the variables 
saver = tf.train.Saver() 
model_path = "/tmp/model.ckpt" 
save_path = saver.save(sess, model_path) 
+0

,這是非常有用的,我會看看,我回來 – user1532587