Browse Source

Removes useless variable

Federico Ponzi 9 năm trước cách đây
mục cha
commit
bc00df4643
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/4_Utils/save_restore_model.py

+ 1 - 1
examples/4_Utils/save_restore_model.py

@@ -108,7 +108,7 @@ with tf.Session() as sess:
     sess.run(init)
 
     # Restore model weights from previously saved model
-    load_path = saver.restore(sess, model_path)
+    saver.restore(sess, model_path)
     print "Model restored from file: %s" % save_path
 
     # Resume training