A single 200 lines of python code to demostrate DQN with Keras
Please read the following blog for details.
- Python 3.x
- Tensorflow >= 1.10.0
- pygame
- scikit-image
$ git clone https://github.com/yanpanlau/Keras-FlappyBird.git
$ cd Keras-FlappyBird
$ python qlearn.py -m run
If you want to train the network from beginning, delete the model.h5 and run with
python qlearn.py -m train