Skip to content

Commit

Permalink
Merge pull request #270 from HareshKarnan/master
Browse files Browse the repository at this point in the history
change self.clipob to self.clip_obs
  • Loading branch information
ikostrikov2 authored Jun 12, 2021
2 parents efc71f6 + fefec7b commit 1120cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a2c_ppo_acktr/envs.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _obfilt(self, obs, update=True):
self.obs_rms.update(obs)
obs = np.clip((obs - self.obs_rms.mean) /
np.sqrt(self.obs_rms.var + self.epsilon),
-self.clipob, self.clipob)
-self.clip_obs, self.clip_obs)
return obs
else:
return obs
Expand Down

0 comments on commit 1120cdf

Please sign in to comment.