From f8b7fe99685f7ff21dd02e05ab0449772d4226f3 Mon Sep 17 00:00:00 2001 From: Pranjal Tandon Date: Wed, 20 Feb 2019 14:44:44 +0530 Subject: [PATCH] Update normalized_actions.py --- normalized_actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/normalized_actions.py b/normalized_actions.py index d1814f5..a0e64c7 100644 --- a/normalized_actions.py +++ b/normalized_actions.py @@ -3,7 +3,7 @@ import gym class NormalizedActions(gym.ActionWrapper): - def _action(self, action): + def action(self, action): action = (action + 1) / 2 # [-1, 1] => [0, 1] action *= (self.action_space.high - self.action_space.low) action += self.action_space.low