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

rename AgentInterface.emulate_observe_on_trainer or observe_transition and call from AgentInterface.observe

This commit is contained in:
zach dwiel
2019-04-05 12:11:21 -04:00
committed by Zach Dwiel
parent f8741522e4
commit fd2c210915
3 changed files with 22 additions and 67 deletions

View File

@@ -312,7 +312,7 @@ class LevelManager(EnvironmentInterface):
# for i in range(self.steps_limit.num_steps):
# let the agent observe the result and decide if it wants to terminate the episode
done = acting_agent.emulate_observe_on_trainer(transition)
done = acting_agent.observe_transition(transition)
acting_agent.act(transition.action)
if done: