Giter Site home page Giter Site logo

Comments (1)

Antymon avatar Antymon commented on August 14, 2024

Hi,

Before I start, this code was largely ported from Python under the desire of minimal effort, so don't assume certain parts were well-thought-through and feel free to change anything you like.

1,2) Yeah that should be it.

a1) Eval() should be fine to get action, but perhaps look into playback() of ppo.cpp for inspiration on how I used it in conjunction with stepping through the environment. As far as I remember, playback() is called when you ask for inference from CLI (as I think I described in the readme.MD, perhaps worth reading that part).

a2) Generally, PPO outputs stochastic actions, but I chose to use only means during inference. You can change it if you like, not sure what are your needs. I am sure there is a stochastic counterpart in the graph at least.

a3) As for value and step look at the fetches. Step gets you action and stuff, and value gets you value. But you are right in that they are confusing. Again, mindless porting.

b) If you use the latest StableBaselines you are likely to get in trouble, as I never updated my stuff. What I would recommend is to use a modified version which I host and refer to in Singularity files. I think there is also explicit repository listing in the readme.md.

Hope this helps, Good luck!

from ppo_cpp.

Related Issues (5)

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.