Commit fe794eab authored by Ivan Bogatyy's avatar Ivan Bogatyy
Browse files
parents 0965f53d 51fcc99b
......@@ -196,7 +196,7 @@ def main(unused_argv):
print 'Constructing saver.'
# Make saver.
saver = tf.train.Saver(
tf.get_collection(tf.GraphKeys.VARIABLES), max_to_keep=0)
tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES), max_to_keep=0)
# Make training session.
sess = tf.InteractiveSession()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment