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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user