youngwoon / robot-learning Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Match the output dimension of critic networks. For example, [128, 1] in PPO and [128] in Dreamer). We can reduce the last dimension.
In line 282 of ppo_agent.py, the critic is trained using:
value_loss = self._config.value_loss_coeff * (ret - value_pred).pow(2).mean()
where ret
is computed as ret = adv + vpred[:-1]
.
This way of calculating return actually gives q_loss but the critic actually predicts v as here.
It seems like the critic is trained using q-loss but it's used to predict only state values. Could you clarify on this?
Thanks
First of all, thanks for your work. I meet some trouble using your master-branch.
I type the following command, and the errror is attempted relative import with no known parent package
python -m run --run_prefix test --algo ppo --env "Hopper-v2"
I have searched online but they don't work.
Could you please help me?
I just clone your code and install the requirements.txt on Ubuntu 16.04.
I have tested the python 3.6 and 3.7.
In rollout.py
, run
and run_episode
share most of the code. We can merge them and replace run_episode
with run(every_episodes=1, is_train=False)
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.