Awesome Open Source
Awesome Open Source

Reinforcement Learning - Learning how to play Flappy Bird in PyTorch

This sample is published as part of the corresponding blog article at

Visit and subscribe to our newsletter to read great posts!

  • Python 3.6.5
  • Run pip3 install -r requirements.txt to install dependencies.
How to run:
  • Run python test to run pretrained neural network model.
  • Run python train to train the model from the beginning. You can also increase FPS in game/ script for faster training.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (888,878
Learning (75,671
Reinforcement Learning (4,866
Dqn (1,425
Flappy Bird (493