mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
change method interface: AgentInterface.emulate_act_on_trainer(transition: Transition) -> emulate_act_on_trainer(action: ActionType)
This commit is contained in:
@@ -313,7 +313,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)
|
||||
acting_agent.emulate_act_on_trainer(transition)
|
||||
acting_agent.emulate_act_on_trainer(transition.action)
|
||||
|
||||
if done:
|
||||
self.handle_episode_ended()
|
||||
|
||||
Reference in New Issue
Block a user