keon / deep-q-learning

Minimal Deep Q Learning (DQN & DDQN) implementations in Keras
https://keon.io/deep-q-learning
MIT License
1.28k stars 454 forks source link

Update ddqn.py #30

Open tfzee opened 4 years ago

tfzee commented 4 years ago

It did not converge for me and it was very slow. So i did some changes it also improves performance it solves cartpole after 30 episodes

Changes to hyperparameters actual train in batches in the replay method(far better perfomance on big batches) stop episode when done