Fixed: hopper_jump returned observations bigger then observation_space
This commit is contained in:
parent
5e7f027ea0
commit
ddf6fd73b2
@ -69,11 +69,11 @@ class HopperEnvCustomXML(HopperEnv):
|
|||||||
|
|
||||||
if exclude_current_positions_from_observation:
|
if exclude_current_positions_from_observation:
|
||||||
observation_space = Box(
|
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:
|
else:
|
||||||
observation_space = Box(
|
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__(
|
MujocoEnv.__init__(
|
||||||
|
Loading…
Reference in New Issue
Block a user