Skip to content
Deep Q-learning for playing flappy bird game
Branch: master
Clone or download
Latest commit 01b54db Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/sprites
demo first upload Apr 15, 2019
src first upload Apr 15, 2019
tensorboard first upload Apr 15, 2019
trained_models first upload Apr 15, 2019
LICENSE
README.md first upload Apr 15, 2019
test.py first upload Apr 15, 2019
train.py first upload Apr 15, 2019

README.md

[PYTHON] Deep Q-learning for playing Flappy Bird

Introduction

Here is my python source code for training an agent to play flappy bird. It could be seen as a very basic example of Reinforcement Learning's application.


Camera app demo

How to use my code

With my code, you can:

  • Train your model from scratch by running python train.py
  • Test your trained model by running python test.py

Trained models

You could find my trained model at trained_models/flappy_bird

Requirements

  • python 3.6
  • pygame
  • cv2
  • pytorch
  • numpy
You can’t perform that action at this time.