Open llewynS opened 1 year ago
continuing_task=True
(which is the default)?termination=True
?Somewhat related: the description of the maze environments says the returned reward is the negative Euclidean distance between the achieved goal position and the desired goal
. This is wrong (it is the exponential of the negative distance).
You are correct, can you make a PR to fix it? You can use the Gymnasium/MuJoCo as reference https://gymnasium.farama.org/main/environments/mujoco/ant/#rewards
Question
Looking at the dense reward function for Maze Env:
return np.exp(-np.linalg.norm(desired_goal - achieved_goal))
The agent seems to prefer sitting the ball as close as possible to the goal without touching it after optimisation.
This makes sense given there is no bonus for reaching the reward and the reward is positive for all time steps.
Why is the dense reward formulated this way?