Giter Club home page Giter Club logo

minimal-stable-ppo's People

Contributors

toruowo 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  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

Forkers

stanleyjacob

minimal-stable-ppo's Issues

Supporting discrete action space?

Hi @ToruOwO , the codes of this repo are very easy to read and at the same time performant enough, which I appreciate so much. However, it seems that your implementation only supports continuous action space. If it is the case, will you consider to add support for discrete action space in the future?

The reason why I'm interested in discrete action space is that I'm now working with a customized RL environment that leverages Isaac Gym to accelerate the physics simulation but has a customized discrete action space. Unfortunately, I find that Isaac Gym acceleration + discrete action space is a demand seldom considered by mainstream RL frameworks on the market.

I would be very grateful if you could help implement the discrete action space version of PPO, or just provide any potentially helpful suggestions. Looking forward to your reply!

Openrlbenchmark integration

Hi @ToruOwO, this is very cool stuff. I especially like your results in AllegroHand. It was a hard environment and difficult to tune. I wondering if you found any particular tricks / hyperparameter important for AllegroHand.

Also, I see you are using wandb for experiment logging. Would you be interested in making your wandb project public and integrating the openrlbenchmark utilities? It could help make plots faster and easier.

E.g.,

pip install --upgrade openrlbenchmark
python -m openrlbenchmark.rlops \
    --filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' 'ppo_continuous_action_isaacgym?tag=rlops-pilot' \
    --check-empty-runs False \
    --env-ids Cartpole Ant Humanoid BallBalance Anymal AllegroHand ShadowHand \
    --ncols 4 \
    --ncols-legend 1 \
    --output-filename static/isaacgym \
    --scan-history
──────────────────────────────────────────────────────────────── Runtime (m) (mean ± std) ────────────────────────────────────────────────────────────────
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Environment ┃ openrlbenchmark/cleanrl/ppo_continuous_action_isaacgym ({'tag': ['rlops-pilot']}) ┃
┡━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Cartpole    │ 1.8076923076923077                                                                │
│ Ant         │ 4.049301675977653                                                                 │
│ Humanoid    │ 5.590862173649058                                                                 │
│ BallBalance │ 2.803096539162113                                                                 │
│ Anymal      │ 5.112263257575758                                                                 │
│ AllegroHand │ 185.13721494420184                                                                │
│ ShadowHand  │ 124.74728214697494                                                                │
└─────────────┴───────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────── Episodic Return (mean ± std) ──────────────────────────────────────────────────────────────
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Environment ┃ openrlbenchmark/cleanrl/ppo_continuous_action_isaacgym ({'tag': ['rlops-pilot']}) ┃
┡━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Cartpole    │ 369.28 ± 172.53                                                                   │
│ Ant         │ 3914.98 ± 483.76                                                                  │
│ Humanoid    │ 2498.95 ± 612.68                                                                  │
│ BallBalance │ 178.43 ± 25.68                                                                    │
│ Anymal      │ 24.04 ± 3.94                                                                      │
│ AllegroHand │ 791.76 ± 237.08                                                                   │
│ ShadowHand  │ 403.67 ± 88.94                                                                    │
└─────────────┴───────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────── Runtime (m) Average ───────────────────────────────────────────────────────────────────
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓
┃ Environment                                                                       ┃ Average Runtime    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩
│ openrlbenchmark/cleanrl/ppo_continuous_action_isaacgym ({'tag': ['rlops-pilot']}) │ 47.035387577890525 │
└───────────────────────────────────────────────────────────────────────────────────┴────────────────────┘

image

image

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.