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

move only invocation of GraphManager.handle_episode_ended inline

This commit is contained in:
Zach Dwiel
2018-10-04 11:52:24 -04:00
committed by zach dwiel
parent 18d84c5037
commit d32d909238

View File

@@ -386,7 +386,7 @@ class GraphManager(object):
if result.game_over:
self.handle_episode_ended()
# TODO: why not just reset right now?
self.reset_required = True
if keep_networks_in_sync:
self.sync_graph()