From 3d895e6f4de2399f0da1f52c38833ce8b6d19007 Mon Sep 17 00:00:00 2001 From: Haresh Date: Fri, 12 Mar 2021 00:18:56 -0600 Subject: [PATCH] Update envs.py changed clipob to clip_obs , due to switch from stablebaseline to stable_baselines3 --- a2c_ppo_acktr/envs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a2c_ppo_acktr/envs.py b/a2c_ppo_acktr/envs.py index ffd65d64a..cc502324f 100755 --- a/a2c_ppo_acktr/envs.py +++ b/a2c_ppo_acktr/envs.py @@ -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