Skip to content

hanmilLee/dqn_flappy_bird

This branch is up to date with nevenp/dqn_flappy_bird:master.

Repository files navigation

Reinforcement Learning - Learning how to play Flappy Bird in PyTorch

This sample is published as part of the corresponding blog article at https://www.toptal.com/deep-learning/pytorch-reinforcement-learning-tutorial

Visit https://www.toptal.com/blog and subscribe to our newsletter to read great posts!

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

References:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%