MattStammers commited on
Commit
c5c193f
·
1 Parent(s): c042bb9

Upload folder using huggingface_hub

Browse files
Files changed (38) hide show
  1. .gitattributes +2 -0
  2. .summary/0/events.out.tfevents.1696805913.rhmmedcatt-proliant-ml350-gen10 +3 -0
  3. .summary/1/events.out.tfevents.1696805913.rhmmedcatt-proliant-ml350-gen10 +3 -0
  4. README.md +169 -0
  5. checkpoint_p0/best_000086240_88309760_reward_8.610.pth +3 -0
  6. checkpoint_p0/checkpoint_000097344_99680256.pth +3 -0
  7. checkpoint_p0/checkpoint_000097664_100007936.pth +3 -0
  8. checkpoint_p0/milestones/checkpoint_000007808_7995392.pth +3 -0
  9. checkpoint_p0/milestones/checkpoint_000015712_16089088.pth +3 -0
  10. checkpoint_p0/milestones/checkpoint_000023648_24215552.pth +3 -0
  11. checkpoint_p0/milestones/checkpoint_000031584_32342016.pth +3 -0
  12. checkpoint_p0/milestones/checkpoint_000039488_40435712.pth +3 -0
  13. checkpoint_p0/milestones/checkpoint_000047424_48562176.pth +3 -0
  14. checkpoint_p0/milestones/checkpoint_000055360_56688640.pth +3 -0
  15. checkpoint_p0/milestones/checkpoint_000063296_64815104.pth +3 -0
  16. checkpoint_p0/milestones/checkpoint_000071232_72941568.pth +3 -0
  17. checkpoint_p0/milestones/checkpoint_000079136_81035264.pth +3 -0
  18. checkpoint_p0/milestones/checkpoint_000087040_89128960.pth +3 -0
  19. checkpoint_p0/milestones/checkpoint_000094976_97255424.pth +3 -0
  20. checkpoint_p1/best_000083744_85753856_reward_8.830.pth +3 -0
  21. checkpoint_p1/checkpoint_000097408_99745792.pth +3 -0
  22. checkpoint_p1/checkpoint_000097760_100106240.pth +3 -0
  23. checkpoint_p1/milestones/checkpoint_000007808_7995392.pth +3 -0
  24. checkpoint_p1/milestones/checkpoint_000015712_16089088.pth +3 -0
  25. checkpoint_p1/milestones/checkpoint_000023648_24215552.pth +3 -0
  26. checkpoint_p1/milestones/checkpoint_000031584_32342016.pth +3 -0
  27. checkpoint_p1/milestones/checkpoint_000039520_40468480.pth +3 -0
  28. checkpoint_p1/milestones/checkpoint_000047456_48594944.pth +3 -0
  29. checkpoint_p1/milestones/checkpoint_000055360_56688640.pth +3 -0
  30. checkpoint_p1/milestones/checkpoint_000063328_64847872.pth +3 -0
  31. checkpoint_p1/milestones/checkpoint_000071264_72974336.pth +3 -0
  32. checkpoint_p1/milestones/checkpoint_000079200_81100800.pth +3 -0
  33. checkpoint_p1/milestones/checkpoint_000087136_89227264.pth +3 -0
  34. checkpoint_p1/milestones/checkpoint_000095072_97353728.pth +3 -0
  35. config.json +162 -0
  36. git.diff +3 -0
  37. replay.mp4 +3 -0
  38. sf_log.txt +0 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ git.diff filter=lfs diff=lfs merge=lfs -text
37
+ replay.mp4 filter=lfs diff=lfs merge=lfs -text
.summary/0/events.out.tfevents.1696805913.rhmmedcatt-proliant-ml350-gen10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac487be5bb2d62fcebbbe4974551705e89f6aa96c0907fcce77ca4be5d5c635f
3
+ size 8095055
.summary/1/events.out.tfevents.1696805913.rhmmedcatt-proliant-ml350-gen10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7721ce7cfe65bd697ffb864fdca506247aff970dc0cfb52c829a17ab9356f1f
3
+ size 4683643
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: sample-factory
3
+ tags:
4
+ - deep-reinforcement-learning
5
+ - reinforcement-learning
6
+ - sample-factory
7
+ model-index:
8
+ - name: APPO
9
+ results:
10
+ - task:
11
+ type: reinforcement-learning
12
+ name: reinforcement-learning
13
+ dataset:
14
+ name: atari_battlezone
15
+ type: atari_battlezone
16
+ metrics:
17
+ - type: mean_reward
18
+ value: 78900.00 +/- 30044.80
19
+ name: mean_reward
20
+ verified: false
21
+ ---
22
+
23
+ A(n) **APPO** model trained on the **atari_battlezone** environment.
24
+
25
+ This model was trained using Sample-Factory 2.0: https://github.com/alex-petrenko/sample-factory.
26
+ Documentation for how to use Sample-Factory can be found at https://www.samplefactory.dev/
27
+
28
+
29
+ ## Downloading the model
30
+
31
+ After installing Sample-Factory, download the model with:
32
+ ```
33
+ python -m sample_factory.huggingface.load_from_hub -r MattStammers/APPO-atari_battlezone
34
+ ```
35
+
36
+
37
+ ## About the Model
38
+
39
+ This model as with all the others in the benchmarks was trained initially asynchronously un-seeded to 10 million steps for the purposes of setting a sample factory async baseline for this model on this environment but only 3/57 made it.
40
+
41
+ The aim is to reach state-of-the-art (SOTA) performance on each atari environment. I will flag the models with SOTA when they reach at or near these levels.
42
+
43
+ The hyperparameters used in the model are the ones I have pushed to my fork of sample-factory: https://github.com/MattStammers/sample-factory. Given that https://huggingface.co/edbeeching has kindly shared his.
44
+ I saved time and energy by using many of his tuned hyperparameters to maximise performance. However, he used 2 billion training steps. I have started as explained above at 10 million then moved to 100m to see how performance goes:
45
+ ```
46
+ hyperparameters = {
47
+ "device": "gpu",
48
+ "seed": 1234,
49
+ "num_policies": 2,
50
+ "async_rl": true,
51
+ "serial_mode": false,
52
+ "batched_sampling": true,
53
+ "num_batches_to_accumulate": 2,
54
+ "worker_num_splits": 1,
55
+ "policy_workers_per_policy": 1,
56
+ "max_policy_lag": 1000,
57
+ "num_workers": 16,
58
+ "num_envs_per_worker": 2,
59
+ "batch_size": 1024,
60
+ "num_batches_per_epoch": 8,
61
+ "num_epochs": 4,
62
+ "rollout": 128,
63
+ "recurrence": 1,
64
+ "shuffle_minibatches": false,
65
+ "gamma": 0.99,
66
+ "reward_scale": 1.0,
67
+ "reward_clip": 1000.0,
68
+ "value_bootstrap": false,
69
+ "normalize_returns": true,
70
+ "exploration_loss_coeff": 0.0004677351413,
71
+ "value_loss_coeff": 0.5,
72
+ "kl_loss_coeff": 0.0,
73
+ "exploration_loss": "entropy",
74
+ "gae_lambda": 0.95,
75
+ "ppo_clip_ratio": 0.1,
76
+ "ppo_clip_value": 1.0,
77
+ "with_vtrace": false,
78
+ "vtrace_rho": 1.0,
79
+ "vtrace_c": 1.0,
80
+ "optimizer": "adam",
81
+ "adam_eps": 1e-05,
82
+ "adam_beta1": 0.9,
83
+ "adam_beta2": 0.999,
84
+ "max_grad_norm": 0.0,
85
+ "learning_rate": 0.0003033891184,
86
+ "lr_schedule": "linear_decay",
87
+ "lr_schedule_kl_threshold": 0.008,
88
+ "lr_adaptive_min": 1e-06,
89
+ "lr_adaptive_max": 0.01,
90
+ "obs_subtract_mean": 0.0,
91
+ "obs_scale": 255.0,
92
+ "normalize_input": true,
93
+ "normalize_input_keys": [
94
+ "obs"
95
+ ],
96
+ "decorrelate_experience_max_seconds": 0,
97
+ "decorrelate_envs_on_one_worker": true,
98
+ "actor_worker_gpus": [],
99
+ "set_workers_cpu_affinity": true,
100
+ "force_envs_single_thread": false,
101
+ "default_niceness": 0,
102
+ "log_to_file": true,
103
+ "experiment_summaries_interval": 3,
104
+ "flush_summaries_interval": 30,
105
+ "stats_avg": 100,
106
+ "summaries_use_frameskip": true,
107
+ "heartbeat_interval": 10,
108
+ "heartbeat_reporting_interval": 60,
109
+ "train_for_env_steps": 100000000,
110
+ "train_for_seconds": 10000000000,
111
+ "save_every_sec": 120,
112
+ "keep_checkpoints": 2,
113
+ "load_checkpoint_kind": "latest",
114
+ "save_milestones_sec": 1200,
115
+ "save_best_every_sec": 5,
116
+ "save_best_metric": "reward",
117
+ "save_best_after": 100000,
118
+ "benchmark": false,
119
+ "encoder_mlp_layers": [
120
+ 512,
121
+ 512
122
+ ],
123
+ "encoder_conv_architecture": "convnet_atari",
124
+ "encoder_conv_mlp_layers": [
125
+ 512
126
+ ],
127
+ "use_rnn": false,
128
+ "rnn_size": 512,
129
+ "rnn_type": "gru",
130
+ "rnn_num_layers": 1,
131
+ "decoder_mlp_layers": [],
132
+ "nonlinearity": "relu",
133
+ "policy_initialization": "orthogonal",
134
+ "policy_init_gain": 1.0,
135
+ "actor_critic_share_weights": true,
136
+ "adaptive_stddev": false,
137
+ "continuous_tanh_scale": 0.0,
138
+ "initial_stddev": 1.0,
139
+ "use_env_info_cache": false,
140
+ "env_gpu_actions": false,
141
+ "env_gpu_observations": true,
142
+ "env_frameskip": 4,
143
+ "env_framestack": 4,
144
+ }
145
+
146
+ ```
147
+
148
+
149
+
150
+ ## Using the model
151
+
152
+ To run the model after download, use the `enjoy` script corresponding to this environment:
153
+ ```
154
+ python -m sf_examples.atari.enjoy_atari --algo=APPO --env=atari_battlezone --train_dir=./train_dir --experiment=APPO-atari_battlezone
155
+ ```
156
+
157
+
158
+ You can also upload models to the Hugging Face Hub using the same script with the `--push_to_hub` flag.
159
+ See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details
160
+
161
+ ## Training with this model
162
+
163
+ To continue training with this model, use the `train` script corresponding to this environment:
164
+ ```
165
+ python -m sf_examples.atari.train_atari --algo=APPO --env=atari_battlezone --train_dir=./train_dir --experiment=APPO-atari_battlezone --restart_behavior=resume --train_for_env_steps=10000000000
166
+ ```
167
+
168
+ Note, you may have to adjust `--train_for_env_steps` to a suitably high number as the experiment will resume at the number of steps it concluded at.
169
+
checkpoint_p0/best_000086240_88309760_reward_8.610.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d35223c499faa49e12f2edcb1919de49c703583b8c35d4120ae3684efe7b8cdb
3
+ size 20795763
checkpoint_p0/checkpoint_000097344_99680256.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a3c091f44d5c4ce2d57b1c6560ebcfbb4b0ee2f3262ce46364b098a94b2bb45
3
+ size 20796099
checkpoint_p0/checkpoint_000097664_100007936.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e6fe6f7dad09ab11f673066729a5244c6cd0ded921eccf8bb2fd8175b85aa97
3
+ size 20796099
checkpoint_p0/milestones/checkpoint_000007808_7995392.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fe4477e20d1733ed8276ba661ac14bedb7fb13bfa9146ab8f82779a65464d01
3
+ size 20796955
checkpoint_p0/milestones/checkpoint_000015712_16089088.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2303e64cc04609ed499d95f98ebe12554dfd0337d6d4072eab03f07de4b7ad57
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000023648_24215552.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52c286b9e4702a4ced996211a49c8253f10951e1a5ce4a96a34e2c0256254605
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000031584_32342016.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2543a8abb19c359e2a4cb758e792c5953fa19c959c22ae56702d3e46f3dee46b
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000039488_40435712.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d963a5caade7d1fa1577196473d4939e9e9eca62eebe5b669e1535825127a188
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000047424_48562176.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e94c78e63b4c71eda3bafcb506a7e23c6d8f0a1b0845026aec63f026899cb9
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000055360_56688640.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e6ee7e74ca5818868974455cb96f761a8784da65158be50bb4e172e2982408
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000063296_64815104.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37065dfcefb6e9fafbea5e6d99f4a637593cee18faf630d0ace902ab35a0b9a5
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000071232_72941568.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764ce415906c9094bd907154047335b6b8231c11385877b786a85296862c308e
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000079136_81035264.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81dabb410a442c90aebec7413cf3b9d8d6039e8acb89eb849256d306b498ae95
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000087040_89128960.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4d0ee55d0b7baa2fc7d0d0bd725b2733cd0f0751a0fb23c28048c14d4441283
3
+ size 20797011
checkpoint_p0/milestones/checkpoint_000094976_97255424.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e38b45418b46d63c5c577d0178ccd159b4676c973e47b3998ced3823fa5362
3
+ size 20797011
checkpoint_p1/best_000083744_85753856_reward_8.830.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6f108c51be3d944a2a05a1f6df195c45b2401cbc775e30be5ec62027285cddc
3
+ size 20795763
checkpoint_p1/checkpoint_000097408_99745792.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56022e3f093d8ae7c314de755ebc199a8df6952a6a18d4f2232994e32af86fcc
3
+ size 20796099
checkpoint_p1/checkpoint_000097760_100106240.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1e83aad7a9cd1678b97f2213c13fd806e9de3047577cd750a59f7f3a91d5696
3
+ size 20796099
checkpoint_p1/milestones/checkpoint_000007808_7995392.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a7beff7b0ea7a1940623d61c775ee73e5805562085b411baea11ac9c5224943
3
+ size 20796955
checkpoint_p1/milestones/checkpoint_000015712_16089088.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5631ba3d3b22b3aab80c9c317d4bc29269587ee21e59a8d35b54af103ff9d840
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000023648_24215552.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5d309ab586f0af1fccf66ca409fa93e79a06af148387ec70b06efbc0067e5aa
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000031584_32342016.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3274fec4bcd361a251dab0acee46c51662824c8f3768f601c1520b4102d1216e
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000039520_40468480.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a57b5128e9b61aa290e65de986d95f985995e878d9ff87ff48ba742eb5c3ab4
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000047456_48594944.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb4529da43a01685ef5eca7f28e93dd4aff7572082fab16382373ec89085a7eb
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000055360_56688640.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da7439755de14dfcb9c388535cdee065d6afa7e651279d62033f03b03e8d01d4
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000063328_64847872.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:805b9a9c9a9f7785c8e5e23aace30147ed331cd72086cb366fe6f2f8d0734c77
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000071264_72974336.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cf644c7530c8e82806f16fd06d8972369a6bd2f09eaebff3daf58457829ab4a
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000079200_81100800.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c1d67ef4b813ad6486c8c54595b9ba0302b12b27e25b07885244917617db5f9
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000087136_89227264.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a41c260bfc1633fa77b45c377c946e20e1369ee41db1982c5c417e69aa9f203b
3
+ size 20797011
checkpoint_p1/milestones/checkpoint_000095072_97353728.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:767ac0873cdb5988e25323255efb7246a921be1cf675494423d3f46c8726ba66
3
+ size 20797011
config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "atari_battlezone",
5
+ "experiment": "atari_battlezone_APPO",
6
+ "train_dir": "./train_atari",
7
+ "restart_behavior": "restart",
8
+ "device": "gpu",
9
+ "seed": 1234,
10
+ "num_policies": 2,
11
+ "async_rl": true,
12
+ "serial_mode": false,
13
+ "batched_sampling": true,
14
+ "num_batches_to_accumulate": 2,
15
+ "worker_num_splits": 1,
16
+ "policy_workers_per_policy": 1,
17
+ "max_policy_lag": 1000,
18
+ "num_workers": 16,
19
+ "num_envs_per_worker": 2,
20
+ "batch_size": 1024,
21
+ "num_batches_per_epoch": 8,
22
+ "num_epochs": 4,
23
+ "rollout": 128,
24
+ "recurrence": 1,
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.0004677351413,
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-05,
43
+ "adam_beta1": 0.9,
44
+ "adam_beta2": 0.999,
45
+ "max_grad_norm": 0.0,
46
+ "learning_rate": 0.0003033891184,
47
+ "lr_schedule": "linear_decay",
48
+ "lr_schedule_kl_threshold": 0.008,
49
+ "lr_adaptive_min": 1e-06,
50
+ "lr_adaptive_max": 0.01,
51
+ "obs_subtract_mean": 0.0,
52
+ "obs_scale": 255.0,
53
+ "normalize_input": true,
54
+ "normalize_input_keys": [
55
+ "obs"
56
+ ],
57
+ "decorrelate_experience_max_seconds": 0,
58
+ "decorrelate_envs_on_one_worker": true,
59
+ "actor_worker_gpus": [],
60
+ "set_workers_cpu_affinity": true,
61
+ "force_envs_single_thread": false,
62
+ "default_niceness": 0,
63
+ "log_to_file": true,
64
+ "experiment_summaries_interval": 3,
65
+ "flush_summaries_interval": 30,
66
+ "stats_avg": 100,
67
+ "summaries_use_frameskip": true,
68
+ "heartbeat_interval": 10,
69
+ "heartbeat_reporting_interval": 60,
70
+ "train_for_env_steps": 100000000,
71
+ "train_for_seconds": 10000000000,
72
+ "save_every_sec": 120,
73
+ "keep_checkpoints": 2,
74
+ "load_checkpoint_kind": "latest",
75
+ "save_milestones_sec": 1200,
76
+ "save_best_every_sec": 5,
77
+ "save_best_metric": "reward",
78
+ "save_best_after": 100000,
79
+ "benchmark": false,
80
+ "encoder_mlp_layers": [
81
+ 512,
82
+ 512
83
+ ],
84
+ "encoder_conv_architecture": "convnet_atari",
85
+ "encoder_conv_mlp_layers": [
86
+ 512
87
+ ],
88
+ "use_rnn": false,
89
+ "rnn_size": 512,
90
+ "rnn_type": "gru",
91
+ "rnn_num_layers": 1,
92
+ "decoder_mlp_layers": [],
93
+ "nonlinearity": "relu",
94
+ "policy_initialization": "orthogonal",
95
+ "policy_init_gain": 1.0,
96
+ "actor_critic_share_weights": true,
97
+ "adaptive_stddev": false,
98
+ "continuous_tanh_scale": 0.0,
99
+ "initial_stddev": 1.0,
100
+ "use_env_info_cache": false,
101
+ "env_gpu_actions": false,
102
+ "env_gpu_observations": true,
103
+ "env_frameskip": 4,
104
+ "env_framestack": 4,
105
+ "pixel_format": "CHW",
106
+ "use_record_episode_statistics": true,
107
+ "with_wandb": true,
108
+ "wandb_user": "matt-stammers",
109
+ "wandb_project": "atari_APPO",
110
+ "wandb_group": "atari_battlezone",
111
+ "wandb_job_type": "SF",
112
+ "wandb_tags": [
113
+ "atari"
114
+ ],
115
+ "with_pbt": false,
116
+ "pbt_mix_policies_in_one_env": true,
117
+ "pbt_period_env_steps": 5000000,
118
+ "pbt_start_mutation": 20000000,
119
+ "pbt_replace_fraction": 0.3,
120
+ "pbt_mutation_rate": 0.15,
121
+ "pbt_replace_reward_gap": 0.1,
122
+ "pbt_replace_reward_gap_absolute": 1e-06,
123
+ "pbt_optimize_gamma": false,
124
+ "pbt_target_objective": "true_objective",
125
+ "pbt_perturb_min": 1.1,
126
+ "pbt_perturb_max": 1.5,
127
+ "command_line": "--algo=APPO --env=atari_battlezone --experiment=atari_battlezone_APPO --num_policies=2 --restart_behavior=restart --train_dir=./train_atari --train_for_env_steps=100000000 --seed=1234 --num_workers=16 --num_envs_per_worker=2 --num_batches_per_epoch=8 --async_rl=true --batched_sampling=true --batch_size=1024 --max_grad_norm=0 --learning_rate=0.0003033891184 --heartbeat_interval=10 --heartbeat_reporting_interval=60 --save_milestones_sec=1200 --num_epochs=4 --exploration_loss_coeff=0.0004677351413 --with_wandb=true --wandb_user=matt-stammers --wandb_project=atari_APPO --wandb_group=atari_battlezone --wandb_job_type=SF --wandb_tags=atari",
128
+ "cli_args": {
129
+ "algo": "APPO",
130
+ "env": "atari_battlezone",
131
+ "experiment": "atari_battlezone_APPO",
132
+ "train_dir": "./train_atari",
133
+ "restart_behavior": "restart",
134
+ "seed": 1234,
135
+ "num_policies": 2,
136
+ "async_rl": true,
137
+ "batched_sampling": true,
138
+ "num_workers": 16,
139
+ "num_envs_per_worker": 2,
140
+ "batch_size": 1024,
141
+ "num_batches_per_epoch": 8,
142
+ "num_epochs": 4,
143
+ "exploration_loss_coeff": 0.0004677351413,
144
+ "max_grad_norm": 0.0,
145
+ "learning_rate": 0.0003033891184,
146
+ "heartbeat_interval": 10,
147
+ "heartbeat_reporting_interval": 60,
148
+ "train_for_env_steps": 100000000,
149
+ "save_milestones_sec": 1200,
150
+ "with_wandb": true,
151
+ "wandb_user": "matt-stammers",
152
+ "wandb_project": "atari_APPO",
153
+ "wandb_group": "atari_battlezone",
154
+ "wandb_job_type": "SF",
155
+ "wandb_tags": [
156
+ "atari"
157
+ ]
158
+ },
159
+ "git_hash": "5fff97c2f535da5987d358cdbe6927cccd43621e",
160
+ "git_repo_name": "not a git repository",
161
+ "wandb_unique_id": "atari_battlezone_APPO_20231008_235831_461686"
162
+ }
git.diff ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3357904f421d3f4924836316b1741bf64d5dd0e807d5e80ac07059b4c52a7008
3
+ size 14426734
replay.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:388e40f9fa08a14742da4e926dc9a83ab3aefe3421407e8f42a432243a45fe93
3
+ size 8995184
sf_log.txt ADDED
The diff for this file is too large to render. See raw diff