takuseno/ppo

Pendulum-v0 doesnt converge

rapop opened this issue · 1 comments

rapop commented

Hello,

I have just launched your code with Pendulum-v0 and it doesnt train. The mean reward stays at -1400 till the end.

Did you use different hyperparameters to solve this environment?

Thanks

Hi, @rapop !
Thank you for trying my code!

These are results by running with default configuration twice.
image

Since PPO is an on-policy method, it is sometimes unstable to produce the same results. Though this repository is based on the original paper, the latest official implementation uses an additional stability method for the value function, which is not described in the paper. And, I found this will stabilize training in my other PPO implementation. If you are interested in the more stable implementation, please see my latest codes.

Thank you.