-
Notifications
You must be signed in to change notification settings - Fork 87
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
Showing
5 changed files
with
64 additions
and
7 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: | ||
- _self_ | ||
- logger: ff_hasac | ||
- arch: anakin | ||
- system: sac/ff_hasac | ||
- network: continuous_mlp | ||
- env: mabrax |
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,4 @@ | ||
defaults: | ||
- base_logger | ||
|
||
system_name: ff_masac |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
defaults: | ||
- base_logger | ||
|
||
system_name: ff_masac | ||
system_name: ff_hasac |
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,36 @@ | ||
# --- Defaults FF-MASAC --- | ||
seed: 1 | ||
|
||
# --- Agent observations --- | ||
add_agent_id: False | ||
|
||
# --- RL hyperparameters --- | ||
# step related | ||
total_timesteps: ~ # Set the total environment steps. | ||
# If unspecified, it's derived from num_updates; otherwise, num_updates adjusts based on this value. | ||
num_updates: 625000 # Number of updates | ||
explore_steps: 500 # number of steps to take with random actions at the start of training | ||
update_batch_size: 1 # number of vectorised gradient updates per device. | ||
|
||
rollout_length: 1 # number of environment steps per vectorised environment. | ||
epochs: 32 # number of learn epochs per training data batch. | ||
policy_update_delay: 4 # the delay before training the policy - | ||
# Every `policy_update_delay` q network learning steps the policy network is trained. | ||
# It is trained `policy_update_delay` times to compensate, this is a TD3 trick. | ||
|
||
# sizes | ||
buffer_size: 1000000 # size of the replay buffer. Note: total size is this * num_devices | ||
batch_size: 32 | ||
|
||
# learning rates | ||
policy_lr: 3e-4 # the learning rate of the policy network optimizer | ||
q_lr: 1e-3 # the learning rate of the Q network network optimizer | ||
alpha_lr: 3e-4 # the learning rate of the alpha optimizer | ||
|
||
# SAC specific | ||
tau: 0.005 # smoothing coefficient for target networks | ||
gamma: 0.99 # discount factor | ||
|
||
autotune: True # whether to autotune alpha | ||
target_entropy_scale: 5.0 # scale factor for target entropy (when auto-tuning) | ||
init_alpha: 0.1 # initial entropy value when not using autotune |
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