checkpointing fix
This commit is contained in:
1 parent
5c4f9d58dd
commit
364168490f
1 file changed
+1
-1
@@ -220,7 +220,7 @@ class GraphManager(object):
|
|||||||
self.set_session(self.sess)
|
self.set_session(self.sess)
|
||||||
else:
|
else:
|
||||||
self.variables_to_restore = tf.global_variables()
|
self.variables_to_restore = tf.global_variables()
|
||||||
self.variables_to_restore = [v for v in self.variables_to_restore if '/online' in v.name]
|
# self.variables_to_restore = [v for v in self.variables_to_restore if '/online' in v.name] TODO: is this necessary?
|
||||||
self.checkpoint_saver = tf.train.Saver(self.variables_to_restore)
|
self.checkpoint_saver = tf.train.Saver(self.variables_to_restore)
|
||||||
|
|
||||||
# regular session
|
# regular session
|
||||||
|
|||||||
Reference in new issue
Block a user