mikaisomaa
mikaisomaa
As state inputs, I would use a normalised Y position + instead of distance, I would use relative X and Y to the gate between the pipes - so three...
Just chiming in here that I had similar problems until I increased the amount of agents and variance in the environment - running with multiple agents provides more stable data...
How far apart apart are the objects that you're sending relative position data from? Best practice is to normalise these inputs by e.g. dividing them with the max distance.
Try measuring the distance for each frame and whenever the distance gets shorter - give the agent a small reward. Also give it a small reward whenever the velocity of...