Commit
·
4f1bbb2
1
Parent(s):
7405388
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- .summary/0/events.out.tfevents.1696835776.rhmmedcatt-proliant-ml350-gen10 +3 -0
- .summary/1/events.out.tfevents.1696835776.rhmmedcatt-proliant-ml350-gen10 +3 -0
- README.md +169 -0
- checkpoint_p0/best_000096256_98566144_reward_12.240.pth +3 -0
- checkpoint_p0/checkpoint_000096960_99287040.pth +3 -0
- checkpoint_p0/checkpoint_000097664_100007936.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000008192_8388608.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000016512_16908288.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000024864_25460736.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000032768_33554432.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000040928_41910272.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000049248_50429952.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000057600_58982400.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000065984_67567616.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000074336_76120064.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000082720_84705280.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000091104_93290496.pth +3 -0
- checkpoint_p1/best_000093696_95944704_reward_11.250.pth +3 -0
- checkpoint_p1/checkpoint_000097504_99844096.pth +3 -0
- checkpoint_p1/checkpoint_000098208_100564992.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000008224_8421376.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000016576_16973824.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000024992_25591808.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000032928_33718272.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000041152_42139648.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000049504_50692096.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000057920_59310080.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000066336_67928064.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000074720_76513280.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000083168_85164032.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000091616_93814784.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.1696835776.rhmmedcatt-proliant-ml350-gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe4c40efbca42b5744414db91a2cbcd846c87028f55df6bf1a114b01dcec08cd
|
| 3 |
+
size 7746034
|
.summary/1/events.out.tfevents.1696835776.rhmmedcatt-proliant-ml350-gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac5bfb86300312239642ce0de4f59ea8714ef7662a2d23151180716e2fff904a
|
| 3 |
+
size 4474775
|
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_berzerk
|
| 15 |
+
type: atari_berzerk
|
| 16 |
+
metrics:
|
| 17 |
+
- type: mean_reward
|
| 18 |
+
value: 2047.00 +/- 696.72
|
| 19 |
+
name: mean_reward
|
| 20 |
+
verified: false
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
A(n) **APPO** model trained on the **atari_berzerk** 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_berzerk
|
| 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_berzerk --train_dir=./train_dir --experiment=APPO-atari_berzerk
|
| 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_berzerk --train_dir=./train_dir --experiment=APPO-atari_berzerk --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_000096256_98566144_reward_12.240.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:037f0c1badbe999b7db9cf15c69a5cd82bd2c0ba21b78697eeefa8282855887c
|
| 3 |
+
size 20795763
|
checkpoint_p0/checkpoint_000096960_99287040.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:675c1350d0726e201c2e898bf2c89815b0071e8fdaad35fe8bda13433eb4c5b1
|
| 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:fe61cdddcd04530ab289b14063d2ecbf859822f4c7be24a82218d359c9e3e457
|
| 3 |
+
size 20796099
|
checkpoint_p0/milestones/checkpoint_000008192_8388608.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3edd8afae997b6cbe550cc6609bcce3c81f03503dd74d25bc49c57bda32029e4
|
| 3 |
+
size 20796955
|
checkpoint_p0/milestones/checkpoint_000016512_16908288.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f13a078d18ec6d02bdbe7ec726f81e35d2182dc31bbc546ae7b3720a3b2fb56
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000024864_25460736.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:102ddb0eb10bdd8948e2372572ceb607e79e10881c0f53cd889d9c19239f38dd
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000032768_33554432.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bab8e1eb9fde855efcee02f709f9814fa2ff9a03381a93e1304324b86c40945d
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000040928_41910272.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b54967bad2a7d7196061ba7eb0da401bf916c185abfd945c89ba7a68911d86
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000049248_50429952.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed6c3c8a1d30a7e3e589653b277c5953f0627587eb97762fee736b17b29b0cd8
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000057600_58982400.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e61c7073f2e2f6e555e4e71109f0b8656dca9c796cf871996cec92af71b2686
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000065984_67567616.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cd06910ceae338b197bb7dc05755e35e2871e0652d54e9576d5a7b2b2c3ead5
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000074336_76120064.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc4cbe06ac6a4d4f8a1297e7635a3d84c052019f98266aeb39f044c4edbc502
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000082720_84705280.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3038a269aa4cdab24699f3598b4d839ab259b2ea9abf80a0284dd67c859fa597
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000091104_93290496.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e9daebbfb72a04ba1738a3e20f26f3cffb69c852dfc1968f68dc4a8badc5f28
|
| 3 |
+
size 20797011
|
checkpoint_p1/best_000093696_95944704_reward_11.250.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2c3e49a79b0a6d8185c7385beddb931e5d5cecd4a9492214e796ffefea69ead
|
| 3 |
+
size 20795763
|
checkpoint_p1/checkpoint_000097504_99844096.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71edc62274bac44dcb0f7e2bc1d948c2ee90a53a3df754203e95fc87509291a5
|
| 3 |
+
size 20796099
|
checkpoint_p1/checkpoint_000098208_100564992.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b3ee9a732a473afd16ed8d8ac02d2d975c95eca00f21c404943d817ddc952c3
|
| 3 |
+
size 20796099
|
checkpoint_p1/milestones/checkpoint_000008224_8421376.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d1b411475407f12efa419adb52c578b0847bd919c1957b717919bcbb5ea3a8b
|
| 3 |
+
size 20796955
|
checkpoint_p1/milestones/checkpoint_000016576_16973824.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbf998e3a3cf48db1a2fc75ac080328549fdf0eeacf5f0985098dd2468278bb0
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000024992_25591808.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91b2f653fc3d20e2c3336cae1003d40a781bc2cabff6c4ec497b1a5c9c5e9c20
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000032928_33718272.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0454dd3238dae249b1f4d79e3b9cac7a33510778151dc08500d64c51476194e
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000041152_42139648.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f8fd16d1ec7426556e6e97ec59e74daac62f3e4eaf75b33dfaf72c91efc5bbf
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000049504_50692096.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f4dd22a99c6756f734ff341130a8b39b20b27a464b49eb2f4b209c8ff584985
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000057920_59310080.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a96d0b35188d3863f8c0b7e43603854acdb105098e92668671d8cad20f315b4b
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000066336_67928064.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c130ce8731e5329ecb446a08c4df6360b0a27ea106f96d6a647cf5849d70cd4d
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000074720_76513280.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d198bfaec3b7bb2ad98ba64330ed0f8c2ec30b9c01cde1b8b23832e70754f1e
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000083168_85164032.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53ea359287f5ecae9a3620162da2ee60c7f5585bd4670c230027dd731934fb6c
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000091616_93814784.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a89bc7ae28d1a16a3f1b7a5ee9a693bf412f4257e72a36e645c4a797b47e115a
|
| 3 |
+
size 20797011
|
config.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"help": false,
|
| 3 |
+
"algo": "APPO",
|
| 4 |
+
"env": "atari_berzerk",
|
| 5 |
+
"experiment": "atari_berzerk_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_berzerk",
|
| 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_berzerk --experiment=atari_berzerk_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_berzerk --wandb_job_type=SF --wandb_tags=atari",
|
| 128 |
+
"cli_args": {
|
| 129 |
+
"algo": "APPO",
|
| 130 |
+
"env": "atari_berzerk",
|
| 131 |
+
"experiment": "atari_berzerk_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_berzerk",
|
| 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_berzerk_APPO_20231009_081613_083909"
|
| 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:dba2d55c7016da5a9114ab281d5010b92e3b7d792496f04fee8a4a5a863185e6
|
| 3 |
+
size 2003694
|
sf_log.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|