Reference Blog: https://www.toptal.com/deep-learning/pytorch-reinforcement-learning-tutorial
- Python 3.6.5
- Run
pip3 install -r requirements.txt
to install dependencies.
- Run
python flappy_bird_dqn.py test
to run pretrained neural network model. - Run
python flappy_bird_dqn.py train
to train the model from the beginning. You can also increase FPS in game/flappy_bird.py script for faster training.