You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.filter_action(action) correctly converts to the range of the environment (e.g., in a 1D case) from [-1,1] to [lower bound, upper bound], but then it clips the value to be between [-1,1], when it should really clip it to be between [lower bound, upper bound].
The text was updated successfully, but these errors were encountered:
The filtering is incorrectly clipping the action values to between [-1,1].
Line 70 of FilteredEnv:
self.action_space.low
andself.action_space.high
are arrays with value -1 and 1:self.filter_action(action)
correctly converts to the range of the environment (e.g., in a 1D case) from [-1,1] to [lower bound, upper bound], but then it clips the value to be between [-1,1], when it should really clip it to be between [lower bound, upper bound].The text was updated successfully, but these errors were encountered: