GithubHelp home page GithubHelp logo

rljax's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rljax's Issues

Thanks for your work! Questions on computational efficiency

I've also recently been implementing RL algorithms using JAX, especially the off-policy family.

Compared to Pytorch, can you tell me if the computational efficiency of SAC or SAC+AE in the Gym tasks is significantly improved after using JAX? About how much? Such as in 1M steps?

Potential issue on SAC implementation

Hi!

Thanks for the implementation for a really exhaustive list of RL algorithms. I have been referring to this repo when trying to implement some of the RL algorithms in JAX.

I noticed that there might be an issue with the loss function for the temperature parameter in SAC and SAC-AE, but this may be present in potentially other variants of SAC.

https://github.com/ku2482/rljax/blob/master/rljax/algorithm/sac.py#L267

I think it should be alpha instead log_alpha in the beginning, I cross-referenced with the soft_learning and this seems to be what they did. https://github.com/rail-berkeley/softlearning/blob/master/softlearning/algorithms/sac.py#L256

Also there may be some typos in SAC_AE. https://github.com/ku2482/rljax/blob/master/rljax/algorithm/sac_ae.py#L213, this is not the update_interval_ae in the constructor.

Best,
YL

Question regarding SAC discrete

Hi, Mr. Watanabe

Sorry for posting a question here. I understand the SAC discrete can work very well on discrete action space. I wonder if this can work on the MultiDiscrete action space. Suppose, you have a special cart pole game where you have to handle 10 cart poles simultaneously( I know originally there is only one pole in the game). How I handle this issue? I need 10 discrete action spaces where each space has an action to left and action to right.

In this case, does SAC discrete work?

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.