Fixed: hopper_jump returned observations bigger then observation_space

This commit is contained in:
Dominik Moritz Roth 2023-06-10 18:40:03 +02:00
parent 5e7f027ea0
commit ddf6fd73b2

View File

@ -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__(