Git Product home page Git Product logo

Comments (4)

Jeonous avatar Jeonous commented on July 19, 2024 1

@carloderamo Thank you for the quick reply!

In fact, as I continued reading your code on GitHub, there was something I misunderstood.

I'll also read the .py file you mentioned. Thank you.

from mushroom-rl.

carloderamo avatar carloderamo commented on July 19, 2024

Hi,
MushroomRL does not support vectorized environments at the moment. For regular environments, you are free to create custom environments as described in the doc page you mentioned.

Please, if you need further help, provide more details about the implementation problems you have.

Thanks!

from mushroom-rl.

Jeonous avatar Jeonous commented on July 19, 2024

Thanks for your reply, @carloderamo.

I want to define 10 states and 5 actions.
I also want to create a custom reward function, state transition function, etc. for the states and actions.

But in the document, "Creating a new environment" page, I couldn't find the part, but I could find a 'Circle Environment'.
https://mushroomrl.readthedocs.io/en/latest/source/tutorials/tutorials.5_environments.html#creating-a-new-environment

It seems that if I want to define 'State change according to action' and 'reward', I can use the "step()" method.
And I can define the custom 5 actions using Discrete(5).
but I couldn't find the part to define custom 10 states.

I thought that the variables _self.size, _self.goal, and _self.goal_radius seems to be variables for the 'Circle Environment'.
What method can I use to define custom 10 states?

Thanks!

from mushroom-rl.

carloderamo avatar carloderamo commented on July 19, 2024

Hi,

from what I understand you want to create an environment with 5 discrete actions and 10 discrete states. I suggest taking a look at mushroom/environments/grid_world.py to have an idea of how this should be done.

from mushroom-rl.

Related Issues (20)

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.