GithubHelp home page GithubHelp logo

flappy_bird_dqn's Introduction

###本工程文件适用于系统辨识小组作业

Flappy Bird with Deep Reinforcement Learning

Flappy Bird Game trained on 3 models DQN algorithm: Deep Q-Network, Double DQN (DDQN) and Dueling DDQN with Prioritized Experience Replay implemented using Pytorch.

Prerequisites

You will need Python 3.x.x with some packages which you can install direclty using requirements.txt.

pip install -r requirements.txt

Running The Game(切换Dueling_DQN时,需要先将play中的net换成DDQN)

first ,change the network form in paly_game.py(DQN or DDQN) THEN ,Use the following command to run the game where '--model' indicates the location of saved DQN model.

python play_game.py --model checkpoints/new/best_DQN.dat

see the demo in 'video' directory(demo视频在video文件夹)

see the eventout file in sclar/scalar2/scalar3,corrisponding to the DQN,DDQN,Dueling_DQN(tensorboard记录数据文件在scalar文件夹)

flappy_bird_dqn's People

Contributors

dotvision-f avatar lueasecool avatar

Watchers

 avatar

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.