Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 510 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 510 Bytes

PyTorch Implementation of Deep Q - Network to play Flappy Bird

Reference Blog: https://www.toptal.com/deep-learning/pytorch-reinforcement-learning-tutorial

Dependencies:

  • Python 3.6.5
  • Run pip3 install -r requirements.txt to install dependencies.

How to run:

  • 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.