From ddf6fd73b2a25c550aa70881938903b842f1872d Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 10 Jun 2023 18:40:03 +0200 Subject: [PATCH] Fixed: hopper_jump returned observations bigger then observation_space --- fancy_gym/envs/mujoco/hopper_jump/hopper_jump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fancy_gym/envs/mujoco/hopper_jump/hopper_jump.py b/fancy_gym/envs/mujoco/hopper_jump/hopper_jump.py index 53d9265..0da71db 100644 --- a/fancy_gym/envs/mujoco/hopper_jump/hopper_jump.py +++ b/fancy_gym/envs/mujoco/hopper_jump/hopper_jump.py @@ -69,11 +69,11 @@ class HopperEnvCustomXML(HopperEnv): if exclude_current_positions_from_observation: observation_space = Box( - low=-np.inf, high=np.inf, shape=(11,), dtype=np.float64 + low=-np.inf, high=np.inf, shape=(13,), dtype=np.float64 ) else: observation_space = Box( - low=-np.inf, high=np.inf, shape=(12,), dtype=np.float64 + low=-np.inf, high=np.inf, shape=(14,), dtype=np.float64 ) MujocoEnv.__init__(