Giter Club home page Giter Club logo

munchausen-rl's Introduction

Munchause-RL

PyTorch implementation of the M-DQN algorithm based on the paper Munchause Reinforcement Learning.

For a short introduction check out the Medium Article!

Implementations

Discrete Action Space:

Continuous Action Space:

Changes to the Paper

Compared to the original algorithm I did some changes:

  1. Instead of doing a hard update every 8000 frames I implemented a soft-update. By personal experience this worked better.

Results

Comparison runs between M-DQN and DQN for the CartPole-v0 environment and LunarLander-v2.

altext

altext

Comparison of IQN and M-IQN for LunarLander-v2

altext

Comparison IQN and M-IQN for Breakout

altext

munchausen-rl's People

Contributors

by571 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  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zeta1999 chx739

munchausen-rl's Issues

munchausen_addon and action

Hello!Excuse me!I used your code in another environment, but I encountered difficulties. Action is a decimal array,, so how to rewrite the " munchausen_addon = log_pi.gather(1, actions)" line of code! And the action space is very large! By the way, these lines of code are:adding the scald log-policy to the immediate reward
looking forward to your reply!

2021-10-25 16-48-17 的屏幕截图
)

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.