edbeeching HF staff commited on
Commit
530c90a
1 Parent(s): 8b654d7

Upload cfg.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. cfg.json +178 -0
cfg.json ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "dmlab_30",
5
+ "experiment": "dmlab30_3333",
6
+ "train_dir": "/code/train_dir",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": 3333,
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": 1000,
18
+ "num_workers": 60,
19
+ "num_envs_per_worker": 12,
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.99,
27
+ "reward_scale": 1.0,
28
+ "reward_clip": 1000.0,
29
+ "value_bootstrap": false,
30
+ "normalize_returns": true,
31
+ "exploration_loss_coeff": 0.003,
32
+ "value_loss_coeff": 0.5,
33
+ "kl_loss_coeff": 0.0,
34
+ "exploration_loss": "entropy",
35
+ "gae_lambda": 0.95,
36
+ "ppo_clip_ratio": 0.1,
37
+ "ppo_clip_value": 1.0,
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": 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": [
53
+ "obs"
54
+ ],
55
+ "decorrelate_experience_max_seconds": 1,
56
+ "decorrelate_envs_on_one_worker": true,
57
+ "actor_worker_gpus": [],
58
+ "set_workers_cpu_affinity": true,
59
+ "force_envs_single_thread": false,
60
+ "default_niceness": 0,
61
+ "log_to_file": true,
62
+ "experiment_summaries_interval": 10,
63
+ "flush_summaries_interval": 30,
64
+ "stats_avg": 100,
65
+ "summaries_use_frameskip": true,
66
+ "heartbeat_interval": 10,
67
+ "heartbeat_reporting_interval": 300,
68
+ "train_for_env_steps": 10000000000,
69
+ "train_for_seconds": 3600000,
70
+ "save_every_sec": 120,
71
+ "keep_checkpoints": 2,
72
+ "load_checkpoint_kind": "latest",
73
+ "save_milestones_sec": 3600,
74
+ "save_best_every_sec": 5,
75
+ "save_best_metric": "reward",
76
+ "save_best_after": 100000,
77
+ "benchmark": false,
78
+ "encoder_mlp_layers": [
79
+ 512,
80
+ 512
81
+ ],
82
+ "encoder_conv_architecture": "resnet_impala",
83
+ "encoder_conv_mlp_layers": [
84
+ 512
85
+ ],
86
+ "use_rnn": true,
87
+ "rnn_size": 256,
88
+ "rnn_type": "lstm",
89
+ "rnn_num_layers": 1,
90
+ "decoder_mlp_layers": [],
91
+ "nonlinearity": "relu",
92
+ "policy_initialization": "orthogonal",
93
+ "policy_init_gain": 1.0,
94
+ "actor_critic_share_weights": true,
95
+ "adaptive_stddev": true,
96
+ "continuous_tanh_scale": 0.0,
97
+ "initial_stddev": 1.0,
98
+ "use_env_info_cache": false,
99
+ "env_gpu_actions": false,
100
+ "env_frameskip": 4,
101
+ "env_framestack": 1,
102
+ "pixel_format": "CHW",
103
+ "use_record_episode_statistics": false,
104
+ "with_wandb": false,
105
+ "wandb_user": null,
106
+ "wandb_project": "sample_factory",
107
+ "wandb_group": null,
108
+ "wandb_job_type": "SF",
109
+ "wandb_tags": [],
110
+ "with_pbt": false,
111
+ "pbt_mix_policies_in_one_env": true,
112
+ "pbt_period_env_steps": 5000000,
113
+ "pbt_start_mutation": 20000000,
114
+ "pbt_replace_fraction": 0.3,
115
+ "pbt_mutation_rate": 0.15,
116
+ "pbt_replace_reward_gap": 0.1,
117
+ "pbt_replace_reward_gap_absolute": 1e-06,
118
+ "pbt_optimize_batch_size": false,
119
+ "pbt_optimize_gamma": false,
120
+ "pbt_target_objective": "true_objective",
121
+ "pbt_perturb_min": 1.05,
122
+ "pbt_perturb_max": 1.5,
123
+ "res_w": 96,
124
+ "res_h": 72,
125
+ "dmlab_throughput_benchmark": false,
126
+ "dmlab_renderer": "software",
127
+ "dmlab_gpus": [
128
+ 0
129
+ ],
130
+ "dmlab30_dataset": "/datasets/dmlab/brady_konkle_oliva2008",
131
+ "dmlab_with_instructions": true,
132
+ "dmlab_extended_action_set": true,
133
+ "dmlab_use_level_cache": true,
134
+ "dmlab_level_cache_path": "/datasets/dmlab/.dmcache",
135
+ "dmlab_one_task_per_worker": true,
136
+ "command_line": "--train_for_seconds=3600000 --algo=APPO --gamma=0.99 --use_rnn=True --num_workers=60 --num_envs_per_worker=12 --num_epochs=1 --rollout=32 --recurrence=32 --batch_size=2048 --benchmark=False --max_grad_norm=0.0 --dmlab_renderer=software --decorrelate_experience_max_seconds=1 --encoder_conv_architecture=resnet_impala --encoder_conv_mlp_layers 512 --nonlinearity=relu --rnn_type=lstm --dmlab_extended_action_set=True --num_policies=1 --dmlab30_dataset=/datasets/dmlab/brady_konkle_oliva2008 --dmlab_use_level_cache=True --dmlab_level_cache_path=/datasets/dmlab/.dmcache --env=dmlab_30 --normalize_input=True --normalize_input_keys obs --normalize_returns=True --with_vtrace=False --dmlab_one_task_per_worker=True --save_milestones_sec=3600 --heartbeat_reporting_interval=300 --seed=3333 --experiment=dmlab30_3333",
137
+ "cli_args": {
138
+ "algo": "APPO",
139
+ "env": "dmlab_30",
140
+ "experiment": "dmlab30_3333",
141
+ "seed": 3333,
142
+ "num_policies": 1,
143
+ "num_workers": 60,
144
+ "num_envs_per_worker": 12,
145
+ "batch_size": 2048,
146
+ "num_epochs": 1,
147
+ "rollout": 32,
148
+ "recurrence": 32,
149
+ "gamma": 0.99,
150
+ "normalize_returns": true,
151
+ "with_vtrace": false,
152
+ "max_grad_norm": 0.0,
153
+ "normalize_input": true,
154
+ "normalize_input_keys": [
155
+ "obs"
156
+ ],
157
+ "decorrelate_experience_max_seconds": 1,
158
+ "heartbeat_reporting_interval": 300,
159
+ "train_for_seconds": 3600000,
160
+ "save_milestones_sec": 3600,
161
+ "benchmark": false,
162
+ "encoder_conv_architecture": "resnet_impala",
163
+ "encoder_conv_mlp_layers": [
164
+ 512
165
+ ],
166
+ "use_rnn": true,
167
+ "rnn_type": "lstm",
168
+ "nonlinearity": "relu",
169
+ "dmlab_renderer": "software",
170
+ "dmlab30_dataset": "/datasets/dmlab/brady_konkle_oliva2008",
171
+ "dmlab_extended_action_set": true,
172
+ "dmlab_use_level_cache": true,
173
+ "dmlab_level_cache_path": "/datasets/dmlab/.dmcache",
174
+ "dmlab_one_task_per_worker": true
175
+ },
176
+ "git_hash": "e6123b3720d9aec139ae7d01970ddc109c198669",
177
+ "git_repo_name": "https://github.com/alex-petrenko/sample-factory.git"
178
+ }