Skip to content

Commit 21742c7

Browse files
Fix critic_observations into privileged_observations in transition class (#6)
1 parent cdd25e5 commit 21742c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amp_rsl_rl/algorithms/amp_ppo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def act(self, obs: torch.Tensor, critic_obs: torch.Tensor) -> torch.Tensor:
224224
self.transition.action_sigma = self.actor_critic.action_std.detach()
225225
# Record the observations before taking an environment step.
226226
self.transition.observations = obs
227-
self.transition.critic_observations = critic_obs
227+
self.transition.privileged_observations = critic_obs
228228
return self.transition.actions
229229

230230
def act_amp(self, amp_obs: torch.Tensor) -> None:

0 commit comments

Comments
 (0)