Add Normalized Actions

This commit is contained in:
pranz24
2019-05-20 12:37:41 +05:30
parent 7ff1e2f4e4
commit 98b2cbfa7f
2 changed files with 18 additions and 10 deletions
+3
View File
@@ -14,3 +14,6 @@ class NormalizedActions(gym.ActionWrapper):
action /= (self.action_space.high - self.action_space.low)
action = action * 2 - 1
return action
def _max_episode_steps(self):
return self._max_epsidoe_steps