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

Adding should_train helper and should_train in graph_manager

This commit is contained in:
Ajay Deshpande
2018-10-05 14:22:15 -07:00
committed by zach dwiel
parent a2e57a44f1
commit a7f5442015
7 changed files with 126 additions and 20 deletions

View File

@@ -260,3 +260,6 @@ class LevelManager(EnvironmentInterface):
:return:
"""
[agent.sync() for agent in self.agents.values()]
def should_train(self) -> bool:
return any([agent._should_train_helper() for agent in self.agents.values()])