-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0cf2e29
commit 4148d5e
Showing
5 changed files
with
608 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
defaults: | ||
- logger: ff_ppo | ||
- arch: anakin | ||
- system: ff_dpo | ||
- network: mlp_continuous | ||
- env: brax/ant | ||
- _self_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# --- Defaults FF-PPO --- | ||
|
||
total_timesteps: 1e8 # Set the total environment steps. | ||
# If unspecified, it's derived from num_updates; otherwise, num_updates adjusts based on this value. | ||
num_updates: ~ # Number of updates | ||
seed: 42 | ||
|
||
# --- RL hyperparameters --- | ||
actor_lr: 3e-4 # Learning rate for actor network | ||
critic_lr: 3e-4 # Learning rate for critic network | ||
update_batch_size: 1 # Number of vectorised gradient updates per device. | ||
rollout_length: 16 # Number of environment steps per vectorised environment. | ||
ppo_epochs: 4 # Number of ppo epochs per training data batch. | ||
num_minibatches: 16 # Number of minibatches per ppo epoch. | ||
gamma: 0.99 # Discounting factor. | ||
gae_lambda: 0.95 # Lambda value for GAE computation. | ||
clip_eps: 0.2 # Clipping value for PPO updates and value function. | ||
ent_coef: 0.001 # Entropy regularisation term for loss function. | ||
vf_coef: 1.0 # Critic weight in | ||
max_grad_norm: 0.5 # Maximum norm of the gradients for a weight update. | ||
decay_learning_rates: False # Whether learning rates should be linearly decayed during training. | ||
alpha : 2.0 | ||
beta : 0.6 |
Oops, something went wrong.