1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

Revert "Updated comments"

This reverts commit 740f7937cd.
This commit is contained in:
Gourav Roy
2019-01-02 22:33:37 -08:00
parent 740f7937cd
commit 2461892c9e

View File

@@ -559,7 +559,7 @@ class GraphManager(object):
# As part of this restore, Agent recreates the global, target and online networks
[manager.restore_checkpoint(self.task_parameters.checkpoint_restore_dir) for manager in self.level_managers]
# Recreate session. This will help use the new Tensorflow Graph created in above step.
# Recreate the session to use the new TF Graphs
self.create_session(self.task_parameters)
if checkpoint is None:
@@ -568,7 +568,7 @@ class GraphManager(object):
screen.log_title("Loading checkpoint: {}".format(checkpoint.model_checkpoint_path))
self.checkpoint_saver.restore(self.sess, checkpoint.model_checkpoint_path)
else:
# Create new session
# Create the session to use the new TF Graphs
self.create_session(self.task_parameters)
def _get_checkpoint_state_tf(self):