Skip to content

Commit

Permalink
Fix double action sampling in PEARLWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
krzentner committed May 8, 2021
1 parent 5bc155b commit 564d5f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/garage/torch/algos/pearl.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@ def step_episode(self):
a, agent_info = self.agent.get_action(self._prev_obs)
if self._deterministic:
a = agent_info['mean']
a, agent_info = self.agent.get_action(self._prev_obs)
es = self.env.step(a)
self._observations.append(self._prev_obs)
self._env_steps.append(es)
Expand Down

0 comments on commit 564d5f5

Please sign in to comment.