mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 11:40:18 +01:00
checkpointing fix
This commit is contained in:
@@ -220,7 +220,7 @@ class GraphManager(object):
|
||||
self.set_session(self.sess)
|
||||
else:
|
||||
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)
|
||||
|
||||
# regular session
|
||||
|
||||
Reference in New Issue
Block a user