QDpy
Loading...
Searching...
No Matches
qdpy.rl.ppo.PPOConfig Class Reference

Sampling and minibatch settings for the clipped PPO update. More...

Detailed Description

Sampling and minibatch settings for the clipped PPO update.

Configure fresh rollouts, GAE, and minibatch reuse of each rollout.

:param rollout_steps: Maximum number of transitions in a collection.
:param epochs: Minibatch passes over one collection.
:param batch_size: Maximum number of samples per optimizer update.
:param learning_rate: Adam learning rate.
:param gamma: Discount factor in [0, 1].
:param gae_lambda: GAE continuation factor in [0, 1].
:param clip_ratio: Relative bound for PPO's clipped surrogate.
:param entropy_coef: Nonnegative weight for the joint action entropy bonus.
:param value_coef: Nonnegative weight for the value loss.
:param max_grad_norm: Positive gradient norm limit.

Definition at line 21 of file ppo.py.


The documentation for this class was generated from the following file: