exalearn / EXARL

Scalable Framework for Reinforcement Learning
Other
10 stars 5 forks source link

Update ddpg.py #262

Closed mikegros closed 1 year ago

mikegros commented 1 year ago

The OUNoise call only works for a scalar action. Currently the noise is a scalar, so if the action space is bigger, it adds the same value to all actions.

This fix ensures that the OUNoise matches the shape of the action space.