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

Remove assertion from BatchRLGraphManager

This commit is contained in:
Gal Leibovich
2019-10-22 11:54:14 +03:00
committed by GitHub
parent 6db695ad8a
commit 66fada7f78

View File

@@ -94,8 +94,6 @@ class BatchRLGraphManager(BasicRLGraphManager):
self.schedule_params = schedule_params
def _create_graph(self, task_parameters: TaskParameters) -> Tuple[List[LevelManager], List[Environment]]:
assert self.agent_params.memory.load_memory_from_file_path or self.env_params, \
"BatchRL requires either a dataset to train from or an environment to collect a dataset from. "
if self.env_params:
# environment loading
self.env_params.seed = task_parameters.seed