Coder Social home page Coder Social logo

Environment Step: float or int? about gold HOT 6 OPEN

aunum avatar aunum commented on August 31, 2024
Environment Step: float or int?

from gold.

Comments (6)

dtitov avatar dtitov commented on August 31, 2024

Hm, my bad. I've just re-read the action definition here: it's given as intervals, e.g. -1..0 off, which means that integers can also be used in this case. I still wonder though if there are other environments where the action actually has to be a real value... 🤔

from gold.

pbarker avatar pbarker commented on August 31, 2024

Hey @dtitov, yeah I believe actions are currently only discreet, and I had planned on supporting continuous in the future. If you're up for it, feel free to add, although I think some of this would be simpler once generics are available.

from gold.

dtitov avatar dtitov commented on August 31, 2024

I think some of this would be simpler once generics are available.

Very likely :) Let's wait for it then, thanks.

from gold.

dtitov avatar dtitov commented on August 31, 2024

Hm, I now stumbled across a different issue: arity of the action/step. In the current implementation, action is one number (doesn't matter whether it's int or float). But for the lunar lander, action is a vector of two numbers. How is that supposed to be handled? 🤔

from gold.

pbarker avatar pbarker commented on August 31, 2024

Ah yeah I had only tried out a couple environments with the agents so far and hadn't progressed to lunar lander yet, the action out of the agent probably needs to be a tensor. That would need a change, but I'm pretty swamped with the day job and a toddler right now 🙂

from gold.

dtitov avatar dtitov commented on August 31, 2024

Right, I see. Thanks anyway.

from gold.

Related Issues (11)

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.