andrewzhang505 commited on
Commit
20e74e2
1 Parent(s): 695fb76

Upload cfg.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. cfg.json +151 -0
cfg.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "doom_battle",
5
+ "experiment": "02_doom_battle_envs_env_doom_battle_see_8433121",
6
+ "train_dir": "./train_dir/doom_battle_envs/doom_battle_envs_doom_battle_norm_in",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": 8433121,
10
+ "num_policies": 1,
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": 10000,
18
+ "num_workers": 16,
19
+ "num_envs_per_worker": 20,
20
+ "batch_size": 2048,
21
+ "num_batches_per_epoch": 1,
22
+ "num_epochs": 1,
23
+ "rollout": 32,
24
+ "recurrence": 32,
25
+ "shuffle_minibatches": true,
26
+ "gamma": 0.99,
27
+ "reward_scale": 1.0,
28
+ "reward_clip": 1000.0,
29
+ "value_bootstrap": false,
30
+ "normalize_returns": false,
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": true,
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": 0.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": true,
58
+ "default_niceness": 0,
59
+ "experiment_summaries_interval": 10,
60
+ "stats_avg": 100,
61
+ "train_for_env_steps": 4000000000,
62
+ "train_for_seconds": 10000000000,
63
+ "save_every_sec": 120,
64
+ "keep_checkpoints": 3,
65
+ "load_checkpoint_kind": "latest",
66
+ "save_milestones_sec": -1,
67
+ "save_best_every_sec": 5,
68
+ "save_best_metric": "reward",
69
+ "save_best_after": 100000,
70
+ "benchmark": false,
71
+ "encoder_type": "conv",
72
+ "encoder_subtype": "convnet_simple",
73
+ "encoder_custom": "vizdoom",
74
+ "encoder_extra_fc_layers": 1,
75
+ "hidden_size": 512,
76
+ "nonlinearity": "elu",
77
+ "policy_initialization": "orthogonal",
78
+ "policy_init_gain": 1.0,
79
+ "actor_critic_share_weights": true,
80
+ "adaptive_stddev": true,
81
+ "initial_stddev": 1.0,
82
+ "use_rnn": true,
83
+ "rnn_type": "gru",
84
+ "rnn_num_layers": 1,
85
+ "env_gpu_actions": false,
86
+ "env_frameskip": 4,
87
+ "env_framestack": 4,
88
+ "pixel_format": "CHW",
89
+ "with_wandb": true,
90
+ "wandb_user": null,
91
+ "wandb_project": "sample_factory",
92
+ "wandb_group": null,
93
+ "wandb_job_type": "SF",
94
+ "wandb_tags": [
95
+ "doom",
96
+ "battle",
97
+ "sf2"
98
+ ],
99
+ "with_pbt": false,
100
+ "pbt_mix_policies_in_one_env": true,
101
+ "pbt_period_env_steps": 5000000,
102
+ "pbt_start_mutation": 20000000,
103
+ "pbt_replace_fraction": 0.3,
104
+ "pbt_mutation_rate": 0.15,
105
+ "pbt_replace_reward_gap": 0.1,
106
+ "pbt_replace_reward_gap_absolute": 1e-06,
107
+ "pbt_optimize_batch_size": false,
108
+ "pbt_optimize_gamma": false,
109
+ "pbt_target_objective": "true_objective",
110
+ "pbt_perturb_min": 1.05,
111
+ "pbt_perturb_max": 1.5,
112
+ "num_agents": -1,
113
+ "num_humans": 0,
114
+ "num_bots": -1,
115
+ "start_bot_difficulty": null,
116
+ "timelimit": null,
117
+ "res_w": 128,
118
+ "res_h": 72,
119
+ "wide_aspect_ratio": false,
120
+ "fps": 35,
121
+ "command_line": "--train_for_env_steps=4000000000 --algo=APPO --env_frameskip=4 --use_rnn=True --num_workers=16 --num_envs_per_worker=20 --num_policies=1 --num_epochs=1 --rollout=32 --recurrence=32 --batch_size=2048 --wide_aspect_ratio=False --max_grad_norm=0.0 --normalize_input=True --with_wandb=True --wandb_tags doom battle sf2 --env=doom_battle --seed=8433121 --experiment=02_doom_battle_envs_env_doom_battle_see_8433121 --train_dir=./train_dir/doom_battle_envs/doom_battle_envs_doom_battle_norm_in",
122
+ "cli_args": {
123
+ "algo": "APPO",
124
+ "env": "doom_battle",
125
+ "experiment": "02_doom_battle_envs_env_doom_battle_see_8433121",
126
+ "train_dir": "./train_dir/doom_battle_envs/doom_battle_envs_doom_battle_norm_in",
127
+ "seed": 8433121,
128
+ "num_policies": 1,
129
+ "num_workers": 16,
130
+ "num_envs_per_worker": 20,
131
+ "batch_size": 2048,
132
+ "num_epochs": 1,
133
+ "rollout": 32,
134
+ "recurrence": 32,
135
+ "max_grad_norm": 0.0,
136
+ "normalize_input": true,
137
+ "train_for_env_steps": 4000000000,
138
+ "use_rnn": true,
139
+ "env_frameskip": 4,
140
+ "with_wandb": true,
141
+ "wandb_tags": [
142
+ "doom",
143
+ "battle",
144
+ "sf2"
145
+ ],
146
+ "wide_aspect_ratio": false
147
+ },
148
+ "git_hash": "unknown",
149
+ "git_repo_name": "not a git repository",
150
+ "wandb_unique_id": "02_doom_battle_envs_env_doom_battle_see_8433121_20220727_100256_858235"
151
+ }