Comments (1)
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)
- Build of simg file fails HOT 1
- Parallel branch requires fixes of master HOT 1
- parallel running HOT 1
- Possible g++ compilation? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppo_cpp.