Closed mahaozhe closed 9 months ago
In the envs/core.py script, some the goals are defined inconsistently.
envs/core.py
desired_goal_shape = observation["achieved_goal"].shape
=>
desired_goal_shape = observation["desired_goal"].shape
desired_goal=spaces.Box(-10.0, 10.0, shape=achieved_goal_shape, dtype=np.float32), achieved_goal=spaces.Box(-10.0, 10.0, shape=desired_goal_shape, dtype=np.float32),
desired_goal=spaces.Box(-10.0, 10.0, shape=desired_goal_shape, dtype=np.float32), achieved_goal=spaces.Box(-10.0, 10.0, shape=achieved_goal_shape, dtype=np.float32),
I found to fix this is very important, especially if we customize some environments, thanks a lot!
thanks for reporting! Do you mind opening a PR to fix this?
Describe the bug
In the
envs/core.py
script, some the goals are defined inconsistently.To Fix
=>
=>
I found to fix this is very important, especially if we customize some environments, thanks a lot!