-
Notifications
You must be signed in to change notification settings - Fork 104
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
3d239ca
commit 575072e
Showing
5 changed files
with
73 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
agent: "QMIX" # the learning algorithms_marl | ||
global_state: True | ||
# environment settings | ||
env_name: "Football" | ||
scenario: "academy_3_vs_1_with_keeper" | ||
use_stacked_frames: False # Whether to use stacked_frames | ||
num_agent: 3 | ||
num_adversary: 0 | ||
obs_type: "simple115v2" # representation used to build the observation, choices: ["simple115v2", "extracted", "pixels_gray", "pixels"] | ||
rewards_type: "scoring,checkpoints" # comma separated list of rewards to be added | ||
smm_width: 96 # width of super minimap | ||
smm_height: 72 # height of super minimap | ||
fps: 15 | ||
policy: "Mixing_Q_network" | ||
representation: "Basic_RNN" | ||
vectorize: "Subproc_Football" | ||
runner: "Football_Runner" | ||
|
||
# recurrent settings for Basic_RNN representation | ||
use_recurrent: True | ||
rnn: "GRU" | ||
recurrent_layer_N: 1 | ||
fc_hidden_sizes: [128, ] | ||
recurrent_hidden_size: 128 | ||
N_recurrent_layers: 1 | ||
dropout: 0 | ||
|
||
representation_hidden_size: [128, ] | ||
q_hidden_size: [128, ] # the units for each hidden layer | ||
activation: "ReLU" | ||
|
||
hidden_dim_mixing_net: 128 # hidden units of mixing network | ||
hidden_dim_hyper_net: 128 # hidden units of hyper network | ||
|
||
seed: 1 | ||
parallels: 50 | ||
buffer_size: 5000 | ||
batch_size: 32 | ||
learning_rate: 0.0007 | ||
gamma: 0.99 # discount factor | ||
double_q: True # use double q learning | ||
|
||
start_greedy: 1.0 | ||
end_greedy: 0.05 | ||
decay_step_greedy: 50000 | ||
start_training: 1000 # start training after n episodes | ||
running_steps: 25000000 # 25M | ||
train_per_step: False # True: train model per step; False: train model per episode. | ||
training_frequency: 1 | ||
sync_frequency: 200 | ||
|
||
use_grad_clip: False | ||
grad_clip_norm: 0.5 | ||
|
||
eval_interval: 250000 | ||
test_episode: 50 | ||
log_dir: "./logs/qmix/" | ||
model_dir: "./models/qmix/" | ||
videos_dir: "./videos/qmix/" |
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