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