MattStammers
commited on
Commit
•
9ed2afd
1
Parent(s):
5952cb7
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- .summary/0/events.out.tfevents.1697241684.rhmmedcatt-proliant-ml350-gen10 +3 -0
- .summary/1/events.out.tfevents.1697241684.rhmmedcatt-proliant-ml350-gen10 +3 -0
- README.md +169 -0
- checkpoint_p0/best_000017536_17956864_reward_21.000.pth +3 -0
- checkpoint_p0/checkpoint_000097376_99713024.pth +3 -0
- checkpoint_p0/checkpoint_000097664_100007936.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000008128_8323072.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000016416_16809984.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000024672_25264128.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000032928_33718272.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000041184_42172416.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000049440_50626560.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000057696_59080704.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000065984_67567616.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000074240_76021760.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000082496_84475904.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000090784_92962816.pth +3 -0
- checkpoint_p1/best_000023872_24444928_reward_21.000.pth +3 -0
- checkpoint_p1/checkpoint_000098272_100630528.pth +3 -0
- checkpoint_p1/checkpoint_000098560_100925440.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000008192_8388608.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000016544_16941056.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000024896_25493504.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000033216_34013184.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000041568_42565632.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000049888_51085312.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000058240_59637760.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000066592_68190208.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000074912_76709888.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000083264_85262336.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000091584_93782016.pth +3 -0
- config.json +162 -0
- git.diff +3 -0
- replay.mp4 +3 -0
- 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.1697241684.rhmmedcatt-proliant-ml350-gen10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2bc4323b89c112bcae9596874f4fce71897079ae67903bd14e91a6b073da45c
|
3 |
+
size 7758396
|
.summary/1/events.out.tfevents.1697241684.rhmmedcatt-proliant-ml350-gen10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:633dcabc80f8436708d844a1a7b7f28739b24993799fe70c61deaab903c05f84
|
3 |
+
size 4486599
|
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_pong
|
15 |
+
type: atari_pong
|
16 |
+
metrics:
|
17 |
+
- type: mean_reward
|
18 |
+
value: 21.00 +/- 0.00
|
19 |
+
name: mean_reward
|
20 |
+
verified: false
|
21 |
+
---
|
22 |
+
|
23 |
+
A(n) **APPO** model trained on the **atari_pong** 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_pong
|
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_pong --train_dir=./train_dir --experiment=APPO-atari_pong
|
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_pong --train_dir=./train_dir --experiment=APPO-atari_pong --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_000017536_17956864_reward_21.000.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bea8a9283c702d42f2e75d580cf17c85572279bca40b79cdb66feecc703545c
|
3 |
+
size 20721843
|
checkpoint_p0/checkpoint_000097376_99713024.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c9b021a1dd4e2cce50550480b42f35a5afdf1a0ed634297d3f420c8768ad3b2
|
3 |
+
size 20722179
|
checkpoint_p0/checkpoint_000097664_100007936.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4296048e9d67250825be6d505550a86c38026ded10e1da33d9576eb9daa83313
|
3 |
+
size 20722179
|
checkpoint_p0/milestones/checkpoint_000008128_8323072.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7afe0a9da532a79d71aaea1665e6f6ea8f29159a9cf4f861ce6f6175e52199e8
|
3 |
+
size 20723035
|
checkpoint_p0/milestones/checkpoint_000016416_16809984.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8fe29687469d871f556020c9b511acbf86e6deb87a1a6258bba585328cba1ae
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000024672_25264128.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94a129e12f7369afe9e1ee35d96b3e4fb506d3600bfa1f94674441e58b6384e7
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000032928_33718272.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6ea87f127ae78ca6894ad9a015332d9698a469713dc42ddc84ddcbf1bde95a1
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000041184_42172416.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2b20f6f9ce970ff3447c3c72c86164986c9ef4d0600f98617bf4facee5e148c
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000049440_50626560.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4fc305f167a1f96356aace3eaacd4a973d0375df614899a63729376b3663d64
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000057696_59080704.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fabaa0a7c1f003f59da01d7db07210b1b3d6b3572c9960cda13ec8a1344a6760
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000065984_67567616.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93141a6d95df1c5693612169d47b93eb1edc733017a894ac4cc5cec4f0cf7413
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000074240_76021760.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c18028b72a499c53569b9fda1f40ad2267410f27e970e121a1875a772c1b766
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000082496_84475904.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a1d29131a5811f0578f0d65f947d9ed311e84b5dc12802fd2df7e12ec213dbe
|
3 |
+
size 20723091
|
checkpoint_p0/milestones/checkpoint_000090784_92962816.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45f4fcd2b227647812b1006c2c46a59948cdf3bfff73b9ffd101b281e2d0f451
|
3 |
+
size 20723091
|
checkpoint_p1/best_000023872_24444928_reward_21.000.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:623ade3f8390a9bd80c4227be3ef1fe4a8986f9edb31b0d28e0c2f1aaeb794aa
|
3 |
+
size 20721843
|
checkpoint_p1/checkpoint_000098272_100630528.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73463b6e7c26275617358613d1731bbfe66c283af6885f2fe2ddec7129d6d3c1
|
3 |
+
size 20722179
|
checkpoint_p1/checkpoint_000098560_100925440.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13ac30cb2a4008739380d96e5bcb1da4798f73f94f6e8b256b30db96a3a9cca7
|
3 |
+
size 20722179
|
checkpoint_p1/milestones/checkpoint_000008192_8388608.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88d97af8d4e08ac86de98ec1eb569fa0f46d7c5679ec53f9f62472b2cd292f68
|
3 |
+
size 20723035
|
checkpoint_p1/milestones/checkpoint_000016544_16941056.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dd42f99c7e25b3f8d00c3a972e2490f6a4b040d1b8b66a928f3798b06a12a0b
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000024896_25493504.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a56749f3f6dec3a90cb63c5f1762814a80aebc2f23542d521f8baee165b5a21
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000033216_34013184.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1265ffdeda73b3c9f42728aa5c98c290e256672552c55afd578dfe93a51cd6d0
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000041568_42565632.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33c90f6c8cfce6f8c6eebf51b080d268c405ec7f1d74a4346d8313357140b6f5
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000049888_51085312.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c847b5b2a59b9e0562df4a819f6a9b6930b3ccadb6690c3b8527e708c4b7de6
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000058240_59637760.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcfc70035e1cda003ce7b1e84cc48720f2456495603c261fa10e59c1d8ee51bc
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000066592_68190208.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74fa9404090705002ff95ebdf7db7be2951a08c3d5892c713eaff4fbbad70717
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000074912_76709888.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:531b15ec146cbbf735004c1b083788bc818377f1537893fefd2ab4f636d6a63a
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000083264_85262336.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a55116c297c0ab83e0e94510ab15f5662aff73313607ae5782852a59da80bb59
|
3 |
+
size 20723091
|
checkpoint_p1/milestones/checkpoint_000091584_93782016.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c12c6787fc282ace746489ba1cfc8b23662c45e653b465dba910a4dfa30a87fe
|
3 |
+
size 20723091
|
config.json
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"help": false,
|
3 |
+
"algo": "APPO",
|
4 |
+
"env": "atari_pong",
|
5 |
+
"experiment": "atari_pong_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_pong",
|
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_pong --experiment=atari_pong_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_pong --wandb_job_type=SF --wandb_tags=atari",
|
128 |
+
"cli_args": {
|
129 |
+
"algo": "APPO",
|
130 |
+
"env": "atari_pong",
|
131 |
+
"experiment": "atari_pong_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_pong",
|
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_pong_APPO_20231014_010121_934395"
|
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:9b1094370291aafb4203456e1cba9aa19daa06f2cab35ebc9fc726ec0d563df9
|
3 |
+
size 1382728
|
sf_log.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|