-
Notifications
You must be signed in to change notification settings - Fork 155
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
63 changed files
with
89 additions
and
263 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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,73 @@ | ||
params: | ||
algo: | ||
name: a2c_discrete | ||
|
||
model: | ||
name: discrete_a2c | ||
|
||
network: | ||
name: actor_critic | ||
separate: False | ||
#normalization: layer_norm | ||
space: | ||
discrete: | ||
|
||
mlp: | ||
units: [256, 128] | ||
activation: relu | ||
initializer: | ||
name: default | ||
regularizer: | ||
name: 'None' | ||
|
||
config: | ||
name: 5z_cv | ||
reward_shaper: | ||
scale_value: 1 | ||
normalize_advantage: True | ||
gamma: 0.99 | ||
tau: 0.95 | ||
learning_rate: 5e-4 | ||
score_to_win: 20 | ||
grad_norm: 0.5 | ||
entropy_coef: 0.001 | ||
truncate_grads: True | ||
env_name: smac | ||
e_clip: 0.2 | ||
clip_value: True | ||
num_actors: 8 | ||
horizon_length: 128 | ||
minibatch_size: 1536 # 3 * 512 | ||
mini_epochs: 4 | ||
critic_coef: 1 | ||
lr_schedule: None | ||
kl_threshold: 0.05 | ||
normalize_input: True | ||
normalize_value: False | ||
use_action_masks: True | ||
ignore_dead_batches : False | ||
|
||
env_config: | ||
name: zerg_5_vs_5 | ||
frames: 1 | ||
transpose: False | ||
random_invalid_step: False | ||
central_value: True | ||
reward_only_positive: True | ||
central_value_config: | ||
minibatch_size: 512 | ||
mini_epochs: 4 | ||
learning_rate: 5e-4 | ||
clip_value: False | ||
normalize_input: True | ||
network: | ||
name: actor_critic | ||
central_value: True | ||
mlp: | ||
units: [256, 128] | ||
activation: relu | ||
initializer: | ||
name: default | ||
scale: 2 | ||
regularizer: | ||
name: 'None' |
Empty file.
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,8 +1,6 @@ | ||
|
||
|
||
from rl_games.envs.connect4_network import ConnectBuilder | ||
from rl_games.envs.test_network import TestNetBuilder | ||
from rl_games.algos_torch import model_builder | ||
|
||
model_builder.register_network('connect4net', ConnectBuilder) | ||
model_builder.register_network('testnet', TestNetBuilder) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.