Giter Club home page Giter Club logo

drqn-keras's Introduction

Deep Recurrent Q-Network (DRQN)

** Keras implementation of DRQN. This code needs to be fixed though its score would be good at the end. Please do not see this repository seriously.

Atari-Breakout

Main Idea?

CRNN model using 'TimeDistributed' wrapper for Conv2D and LSTM

def build_model(self):

    model = Sequential()

    model.add(TimeDistributed(Conv2D(32, (8, 8), strides=(4, 4), activation='relu'),

                              input_shape=(10, 84, 84, 1)))

                              #input_shape=(time_step, row, col, channels)
                              
    model.add(TimeDistributed(Conv2D(64, (4, 4), strides=(2, 2), activation='relu')))
   
    model.add(TimeDistributed(Conv2D(64, (3, 3), strides=(1, 1), activation='relu')))
   
    model.add(TimeDistributed(Flatten()))

    model.add(LSTM(512))

    model.add(Dense(128, activation='relu'))

    model.add(Dense(self.action_size))

    model.summary()

    return model

브레이크아웃

Breakout DRQN Source Code

Code Reference: 'breakout_dqn.py' at https://github.com/rlcode/reinforcement-learning-kr

drqn-keras's People

Contributors

symoon94 avatar qwang-big avatar

Watchers

James Cloos 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.