Giter Site home page Giter Site logo

shalabhsingh / a3c_keras_flappybird Goto Github PK

View Code? Open in Web Editor NEW
39.0 5.0 16.0 54.31 MB

Use Asynchronous advantage actor-critic algorithm (A3C) to play Flappy Bird using Keras

License: MIT License

Python 100.00%
a3c reinforcement-learning flappy-bird flappybird keras

a3c_keras_flappybird's Introduction

A3C_Keras_FlappyBird

For more information about the project details, see this blog post associated with this project.

Installation Dependencies

  • Python 3.5
  • Keras 2.0
  • pygame
  • scikit-image

How to Run?

Clone the repository or download it. To test the pretrained model, run the "test.py" file. To retrain the model from scratch, run the "train_network.py" file and the trained models at different stages will be saved in "saved_models" folder.

Disclaimer

This work is based on the following repos and blogs-

  1. https://github.com/yenchenlin/DeepLearningFlappyBird
  2. https://github.com/jaara/AI-blog
  3. http://karpathy.github.io/2016/05/31/rl/

a3c_keras_flappybird's People

Contributors

shalabhsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

a3c_keras_flappybird's Issues

some issue about this flappy bird

Excuse me?
I have some problem about this project . My OS is the Ubuntu 16.04 ,but I find an error that called

  File "game/flappy_bird_utils.py", line 43, in load
 SOUNDS['die']    = pygame.mixer.Sound('assets/audio/die' + soundExt)
 pygame.error: Unable to open file 'assets/audio/die.ogg'

I am  sure that is not the path problem( I checked), so Can you tell me your environments about os and something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.