mirror of
https://github.com/wassname/pytorch-soft-actor-critic.git
synced 2026-09-12 12:40:48 +08:00
Add Normalized Actions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user