Giter Club home page Giter Club logo

drl's Introduction

Deep Meta Reinforcement Learning Model

Folder 'toy' contains some tutorial files. cnn_single.py introduces a simple implementation of CNN in tensorflow. RL_single introduces the usage of the reinforcement learning environment gym and universe. RL_framework and my_cnn_agent.py together demonstrate one implementation of deep reinforcement learning agent. Other two files about LSTM show the implementation of Stacked LSTM architectures.

Folder 'Data_processing' contains the files to extract data from Tensorboard and the files to plot the figures based on the extracted data.

Folder 'Agents' contains the files to implement the Deep RL agent. The loss function is defined in A3C.py. The NN architecture of the agent is defined in model.py. In model.py, LSTMPolicy_alpha represents a one level LSTM + A3C agent. LSTMPolicy_beta represents a 3 levels LSTM agent with energy regularisation. LSTMPolicy_gamma represents an improved LSTMPolicy_beta agent by taking the previous h vector as the input vector of the current time step.

The link to the DRL study note:

https://docs.google.com/document/d/1HvJXpkVhMxbL19Fx22VSWpN0L5mxlVwrIon8qvOgVQo/edit?usp=sharing

The link to my final report:

https://www.overleaf.com/read/vvvqxqbbtjck

Command to run the A3C agent:

python train.py --num-workers 4 --env-id PongDeterministic-v3 --log-dir ~/DRL/A3C/pong

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.