Commit ·
9b755cf
1
Parent(s): 7ede7fb
Upload folder using huggingface_hub
Browse files- .summary/0/events.out.tfevents.1696938031.rhmmedcatt-proliant-ml350-gen10 +3 -0
- .summary/1/events.out.tfevents.1696938031.rhmmedcatt-proliant-ml350-gen10 +3 -0
- README.md +117 -4
- checkpoint_p0/best_000083552_85557248_reward_47.340.pth +3 -0
- checkpoint_p0/checkpoint_000097184_99516416.pth +3 -0
- checkpoint_p0/checkpoint_000097888_100237312.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000008384_8585216.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000016928_17334272.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000025440_26050560.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000033984_34799616.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000042496_43515904.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000051040_52264960.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000059584_61014016.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000068128_69763072.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000076640_78479360.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000085216_87261184.pth +3 -0
- checkpoint_p0/milestones/checkpoint_000093760_96010240.pth +3 -0
- checkpoint_p1/best_000085280_87326720_reward_44.510.pth +3 -0
- checkpoint_p1/checkpoint_000096992_99319808.pth +3 -0
- checkpoint_p1/checkpoint_000097664_100007936.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000008384_8585216.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000016896_17301504.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000025440_26050560.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000033920_34734080.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000042464_43483136.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000050976_52199424.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000059488_60915712.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000068000_69632000.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000076512_78348288.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000085024_87064576.pth +3 -0
- checkpoint_p1/milestones/checkpoint_000093568_95813632.pth +3 -0
- config.json +40 -22
- git.diff +2 -2
- replay.mp4 +2 -2
- sf_log.txt +0 -0
.summary/0/events.out.tfevents.1696938031.rhmmedcatt-proliant-ml350-gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d84d50f86e90fdb71d066a8e5dad42a87b0771f2c818239489a0bd788bef47fd
|
| 3 |
+
size 7527932
|
.summary/1/events.out.tfevents.1696938031.rhmmedcatt-proliant-ml350-gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0d0336e4d3d124f318beca3ed9eaf9f7e946b2b5d7ad67e868ca25733244349
|
| 3 |
+
size 4362998
|
README.md
CHANGED
|
@@ -15,7 +15,7 @@ model-index:
|
|
| 15 |
type: atari_defender
|
| 16 |
metrics:
|
| 17 |
- type: mean_reward
|
| 18 |
-
value:
|
| 19 |
name: mean_reward
|
| 20 |
verified: false
|
| 21 |
---
|
|
@@ -30,15 +30,128 @@ Documentation for how to use Sample-Factory can be found at https://www.samplefa
|
|
| 30 |
|
| 31 |
After installing Sample-Factory, download the model with:
|
| 32 |
```
|
| 33 |
-
python -m sample_factory.huggingface.load_from_hub -r MattStammers/
|
| 34 |
```
|
| 35 |
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
## Using the model
|
| 38 |
|
| 39 |
To run the model after download, use the `enjoy` script corresponding to this environment:
|
| 40 |
```
|
| 41 |
-
python -m sf_examples.atari.enjoy_atari --algo=APPO --env=atari_defender --train_dir=./train_dir --experiment=
|
| 42 |
```
|
| 43 |
|
| 44 |
|
|
@@ -49,7 +162,7 @@ See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details
|
|
| 49 |
|
| 50 |
To continue training with this model, use the `train` script corresponding to this environment:
|
| 51 |
```
|
| 52 |
-
python -m sf_examples.atari.train_atari --algo=APPO --env=atari_defender --train_dir=./train_dir --experiment=
|
| 53 |
```
|
| 54 |
|
| 55 |
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.
|
|
|
|
| 15 |
type: atari_defender
|
| 16 |
metrics:
|
| 17 |
- type: mean_reward
|
| 18 |
+
value: 59120.00 +/- 11022.48
|
| 19 |
name: mean_reward
|
| 20 |
verified: false
|
| 21 |
---
|
|
|
|
| 30 |
|
| 31 |
After installing Sample-Factory, download the model with:
|
| 32 |
```
|
| 33 |
+
python -m sample_factory.huggingface.load_from_hub -r MattStammers/APPO-atari_defender
|
| 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_defender --train_dir=./train_dir --experiment=APPO-atari_defender
|
| 155 |
```
|
| 156 |
|
| 157 |
|
|
|
|
| 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_defender --train_dir=./train_dir --experiment=APPO-atari_defender --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.
|
checkpoint_p0/best_000083552_85557248_reward_47.340.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2522fa16cf6e593a559780b4244df8d484fee9e89a4f848921cf2e47b88297f
|
| 3 |
+
size 20795763
|
checkpoint_p0/checkpoint_000097184_99516416.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88904d8fe0e1b97d4c6aa3eba99447f9b8e700efebdafcdcd40671524d006640
|
| 3 |
+
size 20796099
|
checkpoint_p0/checkpoint_000097888_100237312.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbdd3e090e3cf0f1258218e2d22eb3e2bf0353db75570fe87d627320ffdec3d1
|
| 3 |
+
size 20796099
|
checkpoint_p0/milestones/checkpoint_000008384_8585216.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0948eb3fc9ba7e87c61e2e8a8e99dbf7968cfca9865c4bbb4049b7b60e051716
|
| 3 |
+
size 20796955
|
checkpoint_p0/milestones/checkpoint_000016928_17334272.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15963821cbd3bac492e0953d7fce70c2e77d797d2c5378e02d097c8ab8b2518b
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000025440_26050560.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8eb0f438ce32de94a61c62f4b8ca8ce82c4bf0410cd55520ce836ca2154f3b5f
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000033984_34799616.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:909960e4896330d15cf1f5661f10af2dea59646fcefaaef94b594a0cf6913fb8
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000042496_43515904.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b60eaa394fa52dc04dca6a7fcdb915a8f9bce8892d9cddf5cd22197202d75d97
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000051040_52264960.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842f16fe94ce4d1acf24cf884b955ccea5399ca15ff66f4f98e05cfa8e8402e1
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000059584_61014016.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d443edd155b87a85ebdf6930ba043c12cb89c93b333fd40412801b4b065aa58
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000068128_69763072.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4ba081dea7f10ef11d4e1d1cfe5d523e556571b083bc400d3b107df0ee6c842
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000076640_78479360.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c413ef88fdb4ffcdaab55cb33f323094d173d548859b60428bf8d2b36bb8d79
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000085216_87261184.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbcadc0f751c33771dcc811b75c1be7308483151b8d2c2c9ab768c87ceec30f0
|
| 3 |
+
size 20797011
|
checkpoint_p0/milestones/checkpoint_000093760_96010240.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6ed867edd2c359fe44ebd219ec086ef3c297946a1973384d8810422e54b01c8
|
| 3 |
+
size 20797011
|
checkpoint_p1/best_000085280_87326720_reward_44.510.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08b7fac119a29fbb7a63f5469f73fd169869d4719bb057dafe28897dbda6ea0a
|
| 3 |
+
size 20795763
|
checkpoint_p1/checkpoint_000096992_99319808.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:487659e798d7edc473607b56bba8bcd72373862eada692308317d1a14dd216f5
|
| 3 |
+
size 20796099
|
checkpoint_p1/checkpoint_000097664_100007936.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:beeb07ced01040601d52d50e46e913cf11332f9092ac0808a875a3c978389cd3
|
| 3 |
+
size 20796099
|
checkpoint_p1/milestones/checkpoint_000008384_8585216.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c236090c6fa81532a75e7d9fc0a8ca45de13e8564ce36fccf237060c9b629588
|
| 3 |
+
size 20796955
|
checkpoint_p1/milestones/checkpoint_000016896_17301504.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5ad8febbe059e00fce51624af96ef488dda6f5c8356428a0d2810fb47e1a83f
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000025440_26050560.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0747753b2770c5d106a019e4680b00f6ee078d4575a351b4b50de5f076084582
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000033920_34734080.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de511de64ec9194b84fcf5a42b1d261f966faa5f0136ae94da98bbb84671fd70
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000042464_43483136.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8492acfdd3f83ad6463ae3738d97fd02bfc249f6ae60647846c022948aa54da
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000050976_52199424.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4d5ed344b9137e5239550edf24f675fd4ddc7a773d9ed4dae7d39fc55cfd3b1
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000059488_60915712.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52ecc39342a8929c9077b80ecff7a49130edf58eb6ac909402374514e6a72cfd
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000068000_69632000.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc0f4e4ee881a7e77fb8027430175b4bedc8c4ae5d3042bca8f98faa0ac08b1
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000076512_78348288.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32dd9d21b50657e744dea67553e67bd0a5981c5281ff533512356f694559607b
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000085024_87064576.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac08c34b22e57570e594e447bef56db18e41d24c9760273b281cb0e5dbf23df8
|
| 3 |
+
size 20797011
|
checkpoint_p1/milestones/checkpoint_000093568_95813632.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2c66b051591a9883a32a35105b55dab5fccccfbf86d49847d95a2001ecd8e5
|
| 3 |
+
size 20797011
|
config.json
CHANGED
|
@@ -2,23 +2,23 @@
|
|
| 2 |
"help": false,
|
| 3 |
"algo": "APPO",
|
| 4 |
"env": "atari_defender",
|
| 5 |
-
"experiment": "
|
| 6 |
"train_dir": "./train_atari",
|
| 7 |
-
"restart_behavior": "
|
| 8 |
"device": "gpu",
|
| 9 |
-
"seed":
|
| 10 |
"num_policies": 2,
|
| 11 |
-
"async_rl":
|
| 12 |
"serial_mode": false,
|
| 13 |
-
"batched_sampling":
|
| 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":
|
| 19 |
-
"num_envs_per_worker":
|
| 20 |
-
"batch_size":
|
| 21 |
-
"num_batches_per_epoch":
|
| 22 |
"num_epochs": 4,
|
| 23 |
"rollout": 128,
|
| 24 |
"recurrence": 1,
|
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"reward_clip": 1000.0,
|
| 29 |
"value_bootstrap": false,
|
| 30 |
"normalize_returns": true,
|
| 31 |
-
"exploration_loss_coeff": 0.
|
| 32 |
"value_loss_coeff": 0.5,
|
| 33 |
"kl_loss_coeff": 0.0,
|
| 34 |
"exploration_loss": "entropy",
|
|
@@ -42,8 +42,8 @@
|
|
| 42 |
"adam_eps": 1e-05,
|
| 43 |
"adam_beta1": 0.9,
|
| 44 |
"adam_beta2": 0.999,
|
| 45 |
-
"max_grad_norm": 0.
|
| 46 |
-
"learning_rate": 0.
|
| 47 |
"lr_schedule": "linear_decay",
|
| 48 |
"lr_schedule_kl_threshold": 0.008,
|
| 49 |
"lr_adaptive_min": 1e-06,
|
|
@@ -51,7 +51,9 @@
|
|
| 51 |
"obs_subtract_mean": 0.0,
|
| 52 |
"obs_scale": 255.0,
|
| 53 |
"normalize_input": true,
|
| 54 |
-
"normalize_input_keys":
|
|
|
|
|
|
|
| 55 |
"decorrelate_experience_max_seconds": 0,
|
| 56 |
"decorrelate_envs_on_one_worker": true,
|
| 57 |
"actor_worker_gpus": [],
|
|
@@ -63,14 +65,14 @@
|
|
| 63 |
"flush_summaries_interval": 30,
|
| 64 |
"stats_avg": 100,
|
| 65 |
"summaries_use_frameskip": true,
|
| 66 |
-
"heartbeat_interval":
|
| 67 |
-
"heartbeat_reporting_interval":
|
| 68 |
-
"train_for_env_steps":
|
| 69 |
"train_for_seconds": 10000000000,
|
| 70 |
"save_every_sec": 120,
|
| 71 |
"keep_checkpoints": 2,
|
| 72 |
"load_checkpoint_kind": "latest",
|
| 73 |
-
"save_milestones_sec":
|
| 74 |
"save_best_every_sec": 5,
|
| 75 |
"save_best_metric": "reward",
|
| 76 |
"save_best_after": 100000,
|
|
@@ -104,7 +106,7 @@
|
|
| 104 |
"use_record_episode_statistics": true,
|
| 105 |
"with_wandb": true,
|
| 106 |
"wandb_user": "matt-stammers",
|
| 107 |
-
"wandb_project": "
|
| 108 |
"wandb_group": "atari_defender",
|
| 109 |
"wandb_job_type": "SF",
|
| 110 |
"wandb_tags": [
|
|
@@ -122,16 +124,32 @@
|
|
| 122 |
"pbt_target_objective": "true_objective",
|
| 123 |
"pbt_perturb_min": 1.1,
|
| 124 |
"pbt_perturb_max": 1.5,
|
| 125 |
-
"command_line": "--algo=APPO --env=atari_defender --experiment=
|
| 126 |
"cli_args": {
|
| 127 |
"algo": "APPO",
|
| 128 |
"env": "atari_defender",
|
| 129 |
-
"experiment": "
|
| 130 |
"train_dir": "./train_atari",
|
|
|
|
|
|
|
| 131 |
"num_policies": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
"with_wandb": true,
|
| 133 |
"wandb_user": "matt-stammers",
|
| 134 |
-
"wandb_project": "
|
| 135 |
"wandb_group": "atari_defender",
|
| 136 |
"wandb_job_type": "SF",
|
| 137 |
"wandb_tags": [
|
|
@@ -140,5 +158,5 @@
|
|
| 140 |
},
|
| 141 |
"git_hash": "5fff97c2f535da5987d358cdbe6927cccd43621e",
|
| 142 |
"git_repo_name": "not a git repository",
|
| 143 |
-
"wandb_unique_id": "
|
| 144 |
}
|
|
|
|
| 2 |
"help": false,
|
| 3 |
"algo": "APPO",
|
| 4 |
"env": "atari_defender",
|
| 5 |
+
"experiment": "atari_defender_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,
|
|
|
|
| 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",
|
|
|
|
| 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,
|
|
|
|
| 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": [],
|
|
|
|
| 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,
|
|
|
|
| 106 |
"use_record_episode_statistics": true,
|
| 107 |
"with_wandb": true,
|
| 108 |
"wandb_user": "matt-stammers",
|
| 109 |
+
"wandb_project": "atari_APPO",
|
| 110 |
"wandb_group": "atari_defender",
|
| 111 |
"wandb_job_type": "SF",
|
| 112 |
"wandb_tags": [
|
|
|
|
| 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_defender --experiment=atari_defender_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_defender --wandb_job_type=SF --wandb_tags=atari",
|
| 128 |
"cli_args": {
|
| 129 |
"algo": "APPO",
|
| 130 |
"env": "atari_defender",
|
| 131 |
+
"experiment": "atari_defender_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_defender",
|
| 154 |
"wandb_job_type": "SF",
|
| 155 |
"wandb_tags": [
|
|
|
|
| 158 |
},
|
| 159 |
"git_hash": "5fff97c2f535da5987d358cdbe6927cccd43621e",
|
| 160 |
"git_repo_name": "not a git repository",
|
| 161 |
+
"wandb_unique_id": "atari_defender_APPO_20231010_124028_375230"
|
| 162 |
}
|
git.diff
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3357904f421d3f4924836316b1741bf64d5dd0e807d5e80ac07059b4c52a7008
|
| 3 |
+
size 14426734
|
replay.mp4
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a41cce53440aafd1a1dba87af7ed9c53e5b7e688d1deaa3cf3f8378c70d912f
|
| 3 |
+
size 10526907
|
sf_log.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|