GithubHelp home page GithubHelp logo

Documentation question about rl_matrix HOT 3 CLOSED

Kermalis avatar Kermalis commented on September 18, 2024
Documentation question

from rl_matrix.

Comments (3)

asieradzk avatar asieradzk commented on September 18, 2024

Hi. Thanks for trying RLMatrix

  1. Yes cuda is used by default if available.

  2. IContinuousEnvironment will not work and has been completely removed. I have not included a replacement yet.
    It will be something like this:
    https://github.com/asieradzk/RL_Matrix/blob/master/src/RLMatrix.Common/IEnvironmentAsync.cs
    I've decided to no longer reset env for users based on step counters, since some use-cases may not require that.

  3. Looks like you might be using an older version, you can clone the one from the repo for best experience. There have been a lot of changes between now and the nuget...

  4. I'll update you when ContinousEnv becomes available (maybe today)!

from rl_matrix.

asieradzk avatar asieradzk commented on September 18, 2024

I got you homie. Try now. I've added
IContinuousEnvironmentAsync
you can use it with

LocalContinuousRolloutAgent

Clone the repo, its not on the nuget.

There are 2 caveats:
Only works with training: true
Only works with 1 environment.

Going to take weekend now but thanks for motivating me to put this in.

Its a bit hard to get right because I insist on using shared parameters for multiple discrete and continuous heads so I've made a mistake somewhere when slicing output tensors.

Example:
https://github.com/asieradzk/CartPoleForTesting/blob/master/TrivialContinuousEnvironmentAsync%20.cs
image

from rl_matrix.

Kermalis avatar Kermalis commented on September 18, 2024

Awesome, it looks great. I won't be able to try it out for a while though. I'll close this issue for now

from rl_matrix.

Related Issues (8)

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.