-
Notifications
You must be signed in to change notification settings - Fork 5
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
3b675a9
commit 95edb08
Showing
7 changed files
with
289 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,4 @@ wandb: | |
project: lola | ||
group: 'LOLA-vs-${agent2}' | ||
name: ppo_mem_baseline | ||
log: False | ||
log: True |
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 @@ | ||
# @package _global_ | ||
|
||
# Agents | ||
agent1: 'PPO_memory' | ||
agent2: 'PPO_memory' | ||
|
||
# Environment | ||
env_id: iterated_nplayer_tensor_game | ||
env_type: sequential | ||
env_discount: 0.96 | ||
payoff_table: [ | ||
[-1 , 1000 ], | ||
[ -3 , 0 ], | ||
[ 1000 , -2 ], | ||
] | ||
runner: tensor_rl_nplayer | ||
num_players: 2 | ||
|
||
num_envs: 512 | ||
num_opps: 1 | ||
num_inner_steps: 100 # how long a game takes | ||
num_outer_steps: 1 # how many games they are playing | ||
num_iters: 1000 | ||
|
||
|
||
ppo1: | ||
num_minibatches: 10 | ||
num_epochs: 4 | ||
gamma: 0.96 | ||
gae_lambda: 0.95 | ||
ppo_clipping_epsilon: 0.2 | ||
value_coeff: 0.5 | ||
clip_value: True | ||
max_gradient_norm: 0.5 | ||
anneal_entropy: True | ||
entropy_coeff_start: 0.1 | ||
entropy_coeff_horizon: 0.25e9 | ||
entropy_coeff_end: 0.05 | ||
lr_scheduling: True | ||
learning_rate: 3e-4 | ||
adam_epsilon: 1e-5 | ||
with_memory: True | ||
hidden_size: 16 | ||
with_cnn: False | ||
|
||
ppo2: | ||
num_minibatches: 10 | ||
num_epochs: 4 | ||
gamma: 0.96 | ||
gae_lambda: 0.95 | ||
ppo_clipping_epsilon: 0.2 | ||
value_coeff: 0.5 | ||
clip_value: True | ||
max_gradient_norm: 0.5 | ||
anneal_entropy: True | ||
entropy_coeff_start: 0.1 | ||
entropy_coeff_horizon: 0.25e9 | ||
entropy_coeff_end: 0.05 | ||
lr_scheduling: True | ||
learning_rate: 3e-4 | ||
adam_epsilon: 1e-5 | ||
with_memory: True | ||
hidden_size: 16 | ||
with_cnn: False | ||
|
||
|
||
# Logging setup | ||
wandb: | ||
entity: "ucl-dark" | ||
project: lola | ||
group: 'LOLA-vs-${agent2}' | ||
name: ppo_mem_baseline_nplayer_runnr | ||
log: True |
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
Oops, something went wrong.