andrewzhang505 commited on
Commit
caddcee
1 Parent(s): c77165c

Upload cfg.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. cfg.json +160 -0
cfg.json ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "doom_duel_bots",
5
+ "experiment": "00_bots_ssl2_fs2",
6
+ "train_dir": "./train_dir/paper_doom_duel_bots_fs2/bots_ssl2_fs2_slurm_8_pbt_3",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": null,
10
+ "num_policies": 8,
11
+ "async_rl": true,
12
+ "serial_mode": false,
13
+ "batched_sampling": false,
14
+ "num_batches_to_accumulate": 2,
15
+ "worker_num_splits": 2,
16
+ "policy_workers_per_policy": 1,
17
+ "max_policy_lag": 1000,
18
+ "num_workers": 72,
19
+ "num_envs_per_worker": 32,
20
+ "batch_size": 2048,
21
+ "num_batches_per_epoch": 1,
22
+ "num_epochs": 1,
23
+ "rollout": 32,
24
+ "recurrence": 32,
25
+ "shuffle_minibatches": false,
26
+ "gamma": 0.995,
27
+ "reward_scale": 0.5,
28
+ "reward_clip": 1000.0,
29
+ "value_bootstrap": false,
30
+ "normalize_returns": true,
31
+ "exploration_loss_coeff": 0.001,
32
+ "value_loss_coeff": 0.5,
33
+ "kl_loss_coeff": 0.0,
34
+ "exploration_loss": "symmetric_kl",
35
+ "gae_lambda": 0.95,
36
+ "ppo_clip_ratio": 0.1,
37
+ "ppo_clip_value": 0.2,
38
+ "with_vtrace": false,
39
+ "vtrace_rho": 1.0,
40
+ "vtrace_c": 1.0,
41
+ "optimizer": "adam",
42
+ "adam_eps": 1e-06,
43
+ "adam_beta1": 0.9,
44
+ "adam_beta2": 0.999,
45
+ "max_grad_norm": 4.0,
46
+ "learning_rate": 0.0001,
47
+ "lr_schedule": "constant",
48
+ "lr_schedule_kl_threshold": 0.008,
49
+ "obs_subtract_mean": 0.0,
50
+ "obs_scale": 255.0,
51
+ "normalize_input": true,
52
+ "normalize_input_keys": null,
53
+ "decorrelate_experience_max_seconds": 0,
54
+ "decorrelate_envs_on_one_worker": true,
55
+ "actor_worker_gpus": [],
56
+ "set_workers_cpu_affinity": true,
57
+ "force_envs_single_thread": false,
58
+ "default_niceness": 0,
59
+ "log_to_file": true,
60
+ "experiment_summaries_interval": 10,
61
+ "flush_summaries_interval": 30,
62
+ "stats_avg": 100,
63
+ "summaries_use_frameskip": true,
64
+ "heartbeat_interval": 10,
65
+ "heartbeat_reporting_interval": 60,
66
+ "train_for_env_steps": 2500000000,
67
+ "train_for_seconds": 10000000000,
68
+ "save_every_sec": 120,
69
+ "keep_checkpoints": 2,
70
+ "load_checkpoint_kind": "latest",
71
+ "save_milestones_sec": -1,
72
+ "save_best_every_sec": 5,
73
+ "save_best_metric": "reward",
74
+ "save_best_after": 100000,
75
+ "benchmark": false,
76
+ "encoder_mlp_layers": [
77
+ 512,
78
+ 512
79
+ ],
80
+ "encoder_conv_architecture": "convnet_simple",
81
+ "encoder_conv_mlp_layers": [
82
+ 512
83
+ ],
84
+ "use_rnn": true,
85
+ "rnn_size": 512,
86
+ "rnn_type": "gru",
87
+ "rnn_num_layers": 1,
88
+ "decoder_mlp_layers": [],
89
+ "nonlinearity": "elu",
90
+ "policy_initialization": "orthogonal",
91
+ "policy_init_gain": 1.0,
92
+ "actor_critic_share_weights": true,
93
+ "adaptive_stddev": true,
94
+ "continuous_tanh_scale": 0.0,
95
+ "initial_stddev": 1.0,
96
+ "use_env_info_cache": false,
97
+ "env_gpu_actions": false,
98
+ "env_frameskip": 2,
99
+ "env_framestack": 1,
100
+ "pixel_format": "CHW",
101
+ "use_record_episode_statistics": false,
102
+ "with_wandb": true,
103
+ "wandb_user": null,
104
+ "wandb_project": "sample_factory",
105
+ "wandb_group": null,
106
+ "wandb_job_type": "SF",
107
+ "wandb_tags": [],
108
+ "with_pbt": true,
109
+ "pbt_mix_policies_in_one_env": true,
110
+ "pbt_period_env_steps": 5000000,
111
+ "pbt_start_mutation": 20000000,
112
+ "pbt_replace_fraction": 0.3,
113
+ "pbt_mutation_rate": 0.15,
114
+ "pbt_replace_reward_gap": 0.2,
115
+ "pbt_replace_reward_gap_absolute": 3.0,
116
+ "pbt_optimize_gamma": false,
117
+ "pbt_target_objective": "true_objective",
118
+ "pbt_perturb_min": 1.1,
119
+ "pbt_perturb_max": 1.5,
120
+ "num_agents": -1,
121
+ "num_humans": 0,
122
+ "num_bots": -1,
123
+ "start_bot_difficulty": null,
124
+ "timelimit": null,
125
+ "res_w": 128,
126
+ "res_h": 72,
127
+ "wide_aspect_ratio": false,
128
+ "fps": 35,
129
+ "command_line": "--env=doom_duel_bots --train_for_env_steps=2500000000 --algo=APPO --gamma=0.995 --env_frameskip=2 --use_rnn=True --reward_scale=0.5 --num_workers=72 --num_envs_per_worker=32 --num_policies=8 --batch_size=2048 --benchmark=False --res_w=128 --res_h=72 --wide_aspect_ratio=False --pbt_replace_reward_gap=0.2 --pbt_replace_reward_gap_absolute=3.0 --pbt_period_env_steps=5000000 --with_pbt=True --with_vtrace=False --normalize_input=True --normalize_returns=True --with_wandb=True --experiment=00_bots_ssl2_fs2 --train_dir=./train_dir/paper_doom_duel_bots_fs2/bots_ssl2_fs2_slurm_8_pbt_3",
130
+ "cli_args": {
131
+ "algo": "APPO",
132
+ "env": "doom_duel_bots",
133
+ "experiment": "00_bots_ssl2_fs2",
134
+ "train_dir": "./train_dir/paper_doom_duel_bots_fs2/bots_ssl2_fs2_slurm_8_pbt_3",
135
+ "num_policies": 8,
136
+ "num_workers": 72,
137
+ "num_envs_per_worker": 32,
138
+ "batch_size": 2048,
139
+ "gamma": 0.995,
140
+ "reward_scale": 0.5,
141
+ "normalize_returns": true,
142
+ "with_vtrace": false,
143
+ "normalize_input": true,
144
+ "train_for_env_steps": 2500000000,
145
+ "benchmark": false,
146
+ "use_rnn": true,
147
+ "env_frameskip": 2,
148
+ "with_wandb": true,
149
+ "with_pbt": true,
150
+ "pbt_period_env_steps": 5000000,
151
+ "pbt_replace_reward_gap": 0.2,
152
+ "pbt_replace_reward_gap_absolute": 3.0,
153
+ "res_w": 128,
154
+ "res_h": 72,
155
+ "wide_aspect_ratio": false
156
+ },
157
+ "git_hash": "9256e22c18c004416c81a945fc8d892e8e2b4d9b",
158
+ "git_repo_name": "https://github.com/andrewzhang505/sample-factory.git",
159
+ "wandb_unique_id": "00_bots_ssl2_fs2_20221018_151948_304580"
160
+ }