pyagents
Just our DRL playground. (by diegochine)
ppo-implementation-details
The source code for the blog post The 37 Implementation Details of Proximal Policy Optimization (by vwxyzjn)
pyagents | ppo-implementation-details | |
---|---|---|
1 | 18 | |
3 | 573 | |
- | - | |
4.8 | 0.0 | |
11 months ago | 3 months ago | |
Python | Python | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyagents
Posts with mentions or reviews of pyagents.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-21.
-
Understanding RL – repo sharing
One improvement (especially from an OOP perspective) could be to have two abstract classes for on-policy and off-policy algorithms, as in general they behave differently (at training time). That's an abstraction I implemented in my own RL playground, feel free to take a look if you're interested: https://github.com/diegochine/pyagents
ppo-implementation-details
Posts with mentions or reviews of ppo-implementation-details.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-11.
-
low reward oscillations in PPO
Follow this for stable training in PPO: https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/
-
PPO-clip: Computing gradient WITHOUT auto differentiation library, help please?
I am using this as implementation reference.
-
My PPO Algorithm is not learning, why?
I'm relying on this page/code, and getting some ideas from others like this, and trying to learn PyTorch along the way.
-
Overall loss in PPO, why does it matter?
I am using as base code the Phils Tabor Implementation and this site (and sometimes OpenAi repository), but I can't figure out how tensorflow/PyTorch knows which loss belongs to whom. When the loss is split, you create two separate tape.Gradient, but when overall loss is used, how can the model understand which part propagates and which doesn't?
-
What RL library supports custom LSTM and Transformer neural networks to use with algorithms such as PPO?
I am still working on it, but I used the ppo implementation of https://github.com/vwxyzjn/ppo-implementation-details and modifiy it. Fir transformer, i just implement with pytorch.
- My agent seems to be learning but not on a stable way
-
trying to reproduce baselines PPO2 atari breakout
yes I did read https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/
- Noob question: why is this trivial problem not accordingly trivial to train? (PPO)
- Are there papers that do an empirical investigation on DRL hyperparameters?
- Understanding the effect of certain PPO hyperparameters on overall performance
What are some alternatives?
When comparing pyagents and ppo-implementation-details you can also consider the following projects:
trax - Trax — Deep Learning with Clear Code and Speed
baselines - OpenAI Baselines: high-quality implementations of reinforcement learning algorithms
minimalRL - Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)
Youtube-Code-Repository - Repository for most of the code from my YouTube channel
recurrent-ppo-truncated-bptt - Baseline implementation of recurrent PPO using truncated BPTT
incubator - Collection of in-progress libraries for entity neural networks.
popgym - Partially Observable Process Gym
episodic-transformer-memory-ppo - Clean baseline implementation of PPO using an episodic TransformerXL memory
Reinforcement-Learning-Algorithms
pyagents vs trax
ppo-implementation-details vs baselines
pyagents vs minimalRL
ppo-implementation-details vs Youtube-Code-Repository
ppo-implementation-details vs recurrent-ppo-truncated-bptt
ppo-implementation-details vs incubator
ppo-implementation-details vs popgym
ppo-implementation-details vs episodic-transformer-memory-ppo
ppo-implementation-details vs Reinforcement-Learning-Algorithms