Commit
·
3862473
1
Parent(s):
908fcf2
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- .summary/0/events.out.tfevents.1695114401.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- .summary/0/events.out.tfevents.1695114650.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- .summary/0/events.out.tfevents.1695114658.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- .summary/0/events.out.tfevents.1695114701.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- .summary/0/events.out.tfevents.1695114821.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- .summary/1/events.out.tfevents.1695114821.rhmmedcatt-ProLiant-ML350-Gen10 +3 -0
- README.md +56 -0
- checkpoint_p0/best_000017408_8912896_reward_7276.247.pth +3 -0
- checkpoint_p0/checkpoint_000019920_10199040.pth +3 -0
- checkpoint_p0/checkpoint_000020000_10240000.pth +3 -0
- checkpoint_p1/best_000018512_9478144_reward_6274.746.pth +3 -0
- checkpoint_p1/checkpoint_000019464_9965568.pth +3 -0
- checkpoint_p1/checkpoint_000019544_10006528.pth +3 -0
- config.json +134 -0
- replay.mp4 +3 -0
- sf_log.txt +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
replay.mp4 filter=lfs diff=lfs merge=lfs -text
|
.summary/0/events.out.tfevents.1695114401.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e337df9ecffc12cb3c96b33330f8de7d7d5cb8c999109107ea15224a14d86ee
|
| 3 |
+
size 40
|
.summary/0/events.out.tfevents.1695114650.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5df62dbab67f25376fc0c140e67a82f791716b2a1facc7cb400b8afc4ce4450c
|
| 3 |
+
size 40
|
.summary/0/events.out.tfevents.1695114658.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e26272c8d374a3f053cb37963441e3f36e003475d2125ab1c89a0da522788d0b
|
| 3 |
+
size 40
|
.summary/0/events.out.tfevents.1695114701.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38324613ce18167cc64b54ba65f20dabc1b4d93eb92b7d24243424dfea8f427a
|
| 3 |
+
size 51438
|
.summary/0/events.out.tfevents.1695114821.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5353f892cca1e9a0cb567288f489169eceb5a0bf9a5885ad9d6d2967744866c
|
| 3 |
+
size 2247973
|
.summary/1/events.out.tfevents.1695114821.rhmmedcatt-ProLiant-ML350-Gen10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3470899acda58d02fb27db40f25a18f7539e838b87ee0cfd3473640db3162281
|
| 3 |
+
size 1627313
|
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: mujoco_humanoid
|
| 15 |
+
type: mujoco_humanoid
|
| 16 |
+
metrics:
|
| 17 |
+
- type: mean_reward
|
| 18 |
+
value: 6743.15 +/- 2083.46
|
| 19 |
+
name: mean_reward
|
| 20 |
+
verified: false
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
A(n) **APPO** model trained on the **mujoco_humanoid** 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-Humanoid
|
| 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.mujoco.enjoy_mujoco --algo=APPO --env=mujoco_humanoid --train_dir=./train_dir --experiment=appo-Humanoid
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
You can also upload models to the Hugging Face Hub using the same script with the `--push_to_hub` flag.
|
| 46 |
+
See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details
|
| 47 |
+
|
| 48 |
+
## Training with this model
|
| 49 |
+
|
| 50 |
+
To continue training with this model, use the `train` script corresponding to this environment:
|
| 51 |
+
```
|
| 52 |
+
python -m sf_examples.mujoco.train_mujoco --algo=APPO --env=mujoco_humanoid --train_dir=./train_dir --experiment=appo-Humanoid --restart_behavior=resume --train_for_env_steps=10000000000
|
| 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.
|
| 56 |
+
|
checkpoint_p0/best_000017408_8912896_reward_7276.247.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:339098d4d9b6a075085e84ee221c0b07fa8ebd0b3bc2824e9e04bf6d753dcbf7
|
| 3 |
+
size 373503
|
checkpoint_p0/checkpoint_000019920_10199040.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:557757d328c3f1bdeb4c8e5c7e1821bf84bda1d2c1556b951287bd1c4062f82c
|
| 3 |
+
size 373767
|
checkpoint_p0/checkpoint_000020000_10240000.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2084e8a09e316c6a1c0367a2b3d0852dd68f255820a52986c085447b6ef8b78
|
| 3 |
+
size 373767
|
checkpoint_p1/best_000018512_9478144_reward_6274.746.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26b3ff472958fc086eb775da6585324545f2bf14fef34a5083eab8df7ed5ef3b
|
| 3 |
+
size 373375
|
checkpoint_p1/checkpoint_000019464_9965568.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6b081c1bdebc8c28294c935d3694ff62ed26f7cecde0841cc34c2482e293cd5
|
| 3 |
+
size 373639
|
checkpoint_p1/checkpoint_000019544_10006528.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b193944aa47df96d0d9dc1b4ae5fc5b7bebb6e9285f56945606be864a451bf55
|
| 3 |
+
size 373639
|
config.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"help": false,
|
| 3 |
+
"algo": "APPO",
|
| 4 |
+
"env": "mujoco_humanoid",
|
| 5 |
+
"experiment": "Humanoid",
|
| 6 |
+
"train_dir": "./train_dir",
|
| 7 |
+
"restart_behavior": "resume",
|
| 8 |
+
"device": "gpu",
|
| 9 |
+
"seed": null,
|
| 10 |
+
"num_policies": 2,
|
| 11 |
+
"async_rl": false,
|
| 12 |
+
"serial_mode": false,
|
| 13 |
+
"batched_sampling": false,
|
| 14 |
+
"num_batches_to_accumulate": 2,
|
| 15 |
+
"worker_num_splits": 2,
|
| 16 |
+
"policy_workers_per_policy": 1,
|
| 17 |
+
"max_policy_lag": 1000,
|
| 18 |
+
"num_workers": 8,
|
| 19 |
+
"num_envs_per_worker": 8,
|
| 20 |
+
"batch_size": 1024,
|
| 21 |
+
"num_batches_per_epoch": 4,
|
| 22 |
+
"num_epochs": 2,
|
| 23 |
+
"rollout": 64,
|
| 24 |
+
"recurrence": 1,
|
| 25 |
+
"shuffle_minibatches": false,
|
| 26 |
+
"gamma": 0.99,
|
| 27 |
+
"reward_scale": 1,
|
| 28 |
+
"reward_clip": 1000.0,
|
| 29 |
+
"value_bootstrap": true,
|
| 30 |
+
"normalize_returns": true,
|
| 31 |
+
"exploration_loss_coeff": 0.0,
|
| 32 |
+
"value_loss_coeff": 1.3,
|
| 33 |
+
"kl_loss_coeff": 0.1,
|
| 34 |
+
"exploration_loss": "entropy",
|
| 35 |
+
"gae_lambda": 0.95,
|
| 36 |
+
"ppo_clip_ratio": 0.2,
|
| 37 |
+
"ppo_clip_value": 1.0,
|
| 38 |
+
"with_vtrace": false,
|
| 39 |
+
"vtrace_rho": 1.0,
|
| 40 |
+
"vtrace_c": 1.0,
|
| 41 |
+
"optimizer": "adam",
|
| 42 |
+
"adam_eps": 1e-06,
|
| 43 |
+
"adam_beta1": 0.9,
|
| 44 |
+
"adam_beta2": 0.999,
|
| 45 |
+
"max_grad_norm": 3.5,
|
| 46 |
+
"learning_rate": 0.00295,
|
| 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": 1.0,
|
| 53 |
+
"normalize_input": true,
|
| 54 |
+
"normalize_input_keys": null,
|
| 55 |
+
"decorrelate_experience_max_seconds": 0,
|
| 56 |
+
"decorrelate_envs_on_one_worker": true,
|
| 57 |
+
"actor_worker_gpus": [],
|
| 58 |
+
"set_workers_cpu_affinity": true,
|
| 59 |
+
"force_envs_single_thread": false,
|
| 60 |
+
"default_niceness": 0,
|
| 61 |
+
"log_to_file": true,
|
| 62 |
+
"experiment_summaries_interval": 3,
|
| 63 |
+
"flush_summaries_interval": 30,
|
| 64 |
+
"stats_avg": 100,
|
| 65 |
+
"summaries_use_frameskip": true,
|
| 66 |
+
"heartbeat_interval": 20,
|
| 67 |
+
"heartbeat_reporting_interval": 180,
|
| 68 |
+
"train_for_env_steps": 10000000,
|
| 69 |
+
"train_for_seconds": 10000000000,
|
| 70 |
+
"save_every_sec": 15,
|
| 71 |
+
"keep_checkpoints": 2,
|
| 72 |
+
"load_checkpoint_kind": "latest",
|
| 73 |
+
"save_milestones_sec": -1,
|
| 74 |
+
"save_best_every_sec": 5,
|
| 75 |
+
"save_best_metric": "reward",
|
| 76 |
+
"save_best_after": 100000,
|
| 77 |
+
"benchmark": false,
|
| 78 |
+
"encoder_mlp_layers": [
|
| 79 |
+
64,
|
| 80 |
+
64
|
| 81 |
+
],
|
| 82 |
+
"encoder_conv_architecture": "convnet_simple",
|
| 83 |
+
"encoder_conv_mlp_layers": [
|
| 84 |
+
512
|
| 85 |
+
],
|
| 86 |
+
"use_rnn": false,
|
| 87 |
+
"rnn_size": 512,
|
| 88 |
+
"rnn_type": "gru",
|
| 89 |
+
"rnn_num_layers": 1,
|
| 90 |
+
"decoder_mlp_layers": [],
|
| 91 |
+
"nonlinearity": "tanh",
|
| 92 |
+
"policy_initialization": "torch_default",
|
| 93 |
+
"policy_init_gain": 1.0,
|
| 94 |
+
"actor_critic_share_weights": true,
|
| 95 |
+
"adaptive_stddev": false,
|
| 96 |
+
"continuous_tanh_scale": 0.0,
|
| 97 |
+
"initial_stddev": 1.0,
|
| 98 |
+
"use_env_info_cache": false,
|
| 99 |
+
"env_gpu_actions": false,
|
| 100 |
+
"env_gpu_observations": true,
|
| 101 |
+
"env_frameskip": 1,
|
| 102 |
+
"env_framestack": 1,
|
| 103 |
+
"pixel_format": "CHW",
|
| 104 |
+
"use_record_episode_statistics": false,
|
| 105 |
+
"with_wandb": true,
|
| 106 |
+
"wandb_user": "matt-stammers",
|
| 107 |
+
"wandb_project": "sample_factory",
|
| 108 |
+
"wandb_group": "mujoco",
|
| 109 |
+
"wandb_job_type": "SF",
|
| 110 |
+
"wandb_tags": [
|
| 111 |
+
"mujoco"
|
| 112 |
+
],
|
| 113 |
+
"with_pbt": false,
|
| 114 |
+
"pbt_mix_policies_in_one_env": true,
|
| 115 |
+
"pbt_period_env_steps": 5000000,
|
| 116 |
+
"pbt_start_mutation": 20000000,
|
| 117 |
+
"pbt_replace_fraction": 0.3,
|
| 118 |
+
"pbt_mutation_rate": 0.15,
|
| 119 |
+
"pbt_replace_reward_gap": 0.1,
|
| 120 |
+
"pbt_replace_reward_gap_absolute": 1e-06,
|
| 121 |
+
"pbt_optimize_gamma": false,
|
| 122 |
+
"pbt_target_objective": "true_objective",
|
| 123 |
+
"pbt_perturb_min": 1.1,
|
| 124 |
+
"pbt_perturb_max": 1.5,
|
| 125 |
+
"command_line": "--env=mujoco_humanoid --experiment=Humanoid --train_dir=./train_dir",
|
| 126 |
+
"cli_args": {
|
| 127 |
+
"env": "mujoco_humanoid",
|
| 128 |
+
"experiment": "Humanoid",
|
| 129 |
+
"train_dir": "./train_dir"
|
| 130 |
+
},
|
| 131 |
+
"git_hash": "unknown",
|
| 132 |
+
"git_repo_name": "not a git repository",
|
| 133 |
+
"wandb_unique_id": "Humanoid_20230919_101338_908630"
|
| 134 |
+
}
|
replay.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92b8b4f643b94571549b92ee6a1e1648341d77e613b9f63fc409cfda29771c58
|
| 3 |
+
size 18928890
|
sf_log.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|