Giter Club home page Giter Club logo

mbpg's Introduction

Momentum-Based Policy Gradient Methods

Authors: Feihu Huang, Shangqian Gao, Pei Jian and Huang Heng

PyTorch Implementation of Momentum-Based Policy Gradient Methods (ICML 2020).

Code uploaded.

Requirements

pytorch 1.1.0
garage 2019.10.1
mujuco
gym
If you do not install mujuco, then only CartPole environment is available.

Usage

To run IS-MBPG

python MBPG_test.py --env CartPole

To run IS-MBPG*

python MBPG_test.py --env CartPole --IS_MBPG_star True

To run HA-MBPG

python MBPG_HA_test.py --env CartPole

To run different environments change --env to one of the followings: "CartPole", "Walker", "Hopper" or "HalfCheetah". If you want to use our algorithms on different enviroment, you need to implement it by yourself, but it should be pretty straightforward.

Citation

@InProceedings{huang2020accelerated,
  author    = {Huang, Feihu and Gao, Shangqian and Pei, Jian and Huang, Heng},
  title     = {Momentum-Based Policy Gradient Methods},
  booktitle = {Proceedings of the 37th International Conference on Machine Learning},
  year      = {2020},}

mbpg's People

Contributors

gaosh avatar sean922 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mbpg's Issues

No module named 'garage.tf.envs'

Hi,

I tried to run python MBPG_test.py --env CartPole
and ran into this error:

Traceback (most recent call last):
  File "MBPG_test.py", line 6, in <module>
    from garage.tf.envs import TfEnv
ModuleNotFoundError: No module named 'garage.tf.envs'

I have tensorflow 2.0.0 in my environment

question on adaptability of IS-MBPG

hi, im interested in adapting this code for some experimentation. I have a question, is the techniques used for the IS-MBPG variant applicable to Direct Policy Gradient methods - so PG methods without State Value/State-Action Value (Q)/Advantage Value.

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.