Coder Social home page Coder Social logo

seolhokim / distributedrl-pytorch-ray Goto Github PK

View Code? Open in Web Editor NEW
29.0 3.0 3.0 138 KB

Distributed RL Implementation using Pytorch and Ray (ApeX(Ape-X), A3C, Distributed-PPO(DPPO), Impala)

License: MIT License

Python 100.00%
a3c pytorch ray distributedrl distributed dppo apex ape-x impala

distributedrl-pytorch-ray's People

Contributors

seolhokim 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

Watchers

 avatar  avatar

distributedrl-pytorch-ray's Issues

How can I implement PPO with distributed sampling workers?

@seolhokim This repo is very helpful for me. My question is since there is impala which is central optimizing with data collected to the central buffer, and dppo which sync the communications between learner and actor. How can I run ppo with distributed sampling workers just like the partial combination between impala and dppo. Thanks

Thank you for your contribution

@seolhokim Thank you for providing the perfect code. It might help me a lot. Want to know whether this library will continue to be updated? If there is a corresponding tutorial, it would be even better. I look forward to your updates to this library.

The reward of "CartPole-v1" running with dppo does not rise

Hello, code is very clear ,but I encountered some problems while running the code.

There are no errors ,but the reward of "CartPole-v0" running with dppo does not rise.
I think there may be bugs in agents/runners/learners/dppo_learner.py.

On line 13( "gradients_ids = ( [agent.run.remote() for agent in actors])" ),
the agent.brain's gradient has been calculated,but catually it is None.
Therefore, all brain's weights can not be updated.

Besides, On line 14 ( "while len(gradients_ids):" ) , whether the length of the gradients_ids will be a constant, and then lead to wrong results.

How can I run nasim:Medium-v0 correctly?

Thank you for your contribution,the code is very good,but when I try to run some complex environment like nasim:Medium-v0 , the trajectory length will reach step limit.I will very appreciate if you can run the environment mentioned above when you have some time,Thank you very much!

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.