Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
eleurent committed Nov 12, 2022
1 parent 418654e commit 9c4b861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rl_agents/trainer/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def write_logging(self):

def reset(self, seed=0):
seed = self.sim_seed + seed if self.sim_seed is not None else None
self.observation = self.wrapped_env.reset()
self.observation, info = self.wrapped_env.reset()
self.agent.seed(seed) # Seed the agent with the main environment seed
self.agent.reset()

Expand Down

0 comments on commit 9c4b861

Please sign in to comment.