LLParallax commited on
Commit
a8ffc35
1 Parent(s): ab01a3b

Upload folder using huggingface_hub

Browse files
.summary/0/events.out.tfevents.1714039903.bartek-ROG-Zephyrus-G15 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c10da40598ec9f96c2e66c7c74d4a71876ddad80126e4ea8cc072a5aca9048bb
3
+ size 694812
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_ant
15
+ type: mujoco_ant
16
+ metrics:
17
+ - type: mean_reward
18
+ value: 5230.16 +/- 1124.38
19
+ name: mean_reward
20
+ verified: false
21
+ ---
22
+
23
+ A(n) **APPO** model trained on the **mujoco_ant** 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 LLParallax/sf_Ant
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 <path.to.enjoy.module> --algo=APPO --env=mujoco_ant --train_dir=./train_dir --experiment=sf_Ant
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 <path.to.train.module> --algo=APPO --env=mujoco_ant --train_dir=./train_dir --experiment=sf_Ant --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_000018104_9269248_reward_5436.254.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2084fdc06574371600c048fd6e13c73191733f218e16a49e2f3432959def7858
3
+ size 92852
checkpoint_p0/checkpoint_000019440_9953280.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f55e31348a36ec367155c8169c33aaa86ed0b7f8402ffbf22495880776f02401
3
+ size 93128
checkpoint_p0/checkpoint_000019544_10006528.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5310ae966756db699b434b4a6784f91933aad4f8031e3b356d0194198114d7c1
3
+ size 93128
config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "help": false,
3
+ "algo": "APPO",
4
+ "env": "mujoco_ant",
5
+ "experiment": "Ant",
6
+ "train_dir": "/home/bartek/Workspace/ideas/sample-factory/train_dir",
7
+ "restart_behavior": "resume",
8
+ "device": "gpu",
9
+ "seed": null,
10
+ "num_policies": 1,
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
+ "warmup": 0,
27
+ "gamma": 0.99,
28
+ "reward_scale": 1,
29
+ "reward_clip": 1000.0,
30
+ "value_bootstrap": true,
31
+ "normalize_returns": true,
32
+ "exploration_loss_coeff": 0.0,
33
+ "value_loss_coeff": 1.3,
34
+ "kl_loss_coeff": 0.1,
35
+ "exploration_loss": "entropy",
36
+ "gae_lambda": 0.95,
37
+ "ppo_clip_ratio": 0.2,
38
+ "ppo_clip_value": 1.0,
39
+ "with_vtrace": false,
40
+ "vtrace_rho": 1.0,
41
+ "vtrace_c": 1.0,
42
+ "optimizer": "adam",
43
+ "adam_eps": 1e-06,
44
+ "adam_beta1": 0.9,
45
+ "adam_beta2": 0.999,
46
+ "momentum": 0.9,
47
+ "max_grad_norm": 3.5,
48
+ "learning_rate": 0.00295,
49
+ "lr_schedule": "linear_decay",
50
+ "lr_schedule_kl_threshold": 0.008,
51
+ "lr_adaptive_min": 1e-06,
52
+ "lr_adaptive_max": 0.01,
53
+ "obs_subtract_mean": 0.0,
54
+ "obs_scale": 1.0,
55
+ "normalize_input": true,
56
+ "normalize_input_keys": null,
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": 20,
69
+ "heartbeat_reporting_interval": 180,
70
+ "train_for_env_steps": 10000000,
71
+ "train_for_seconds": 10000000000,
72
+ "save_every_sec": 15,
73
+ "keep_checkpoints": 2,
74
+ "load_checkpoint_kind": "latest",
75
+ "save_milestones_sec": -1,
76
+ "save_milestones_ith": -1,
77
+ "save_best_every_sec": 5,
78
+ "save_best_metric": "reward",
79
+ "save_best_after": 100000,
80
+ "benchmark": false,
81
+ "encoder_mlp_layers": [
82
+ 64,
83
+ 64
84
+ ],
85
+ "encoder_conv_architecture": "convnet_simple",
86
+ "encoder_conv_mlp_layers": [
87
+ 512
88
+ ],
89
+ "use_rnn": false,
90
+ "rnn_size": 512,
91
+ "rnn_type": "gru",
92
+ "rnn_num_layers": 1,
93
+ "decoder_mlp_layers": [],
94
+ "nonlinearity": "tanh",
95
+ "policy_initialization": "torch_default",
96
+ "policy_init_gain": 1.0,
97
+ "actor_critic_share_weights": true,
98
+ "adaptive_stddev": false,
99
+ "continuous_tanh_scale": 0.0,
100
+ "initial_stddev": 1.0,
101
+ "use_env_info_cache": false,
102
+ "env_gpu_actions": false,
103
+ "env_gpu_observations": true,
104
+ "env_frameskip": 1,
105
+ "env_framestack": 1,
106
+ "pixel_format": "CHW",
107
+ "use_record_episode_statistics": false,
108
+ "episode_counter": false,
109
+ "with_wandb": false,
110
+ "wandb_user": null,
111
+ "wandb_project": "sample_factory",
112
+ "wandb_group": null,
113
+ "wandb_job_type": "SF",
114
+ "wandb_tags": [],
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=mujoco_ant --experiment=Ant",
128
+ "cli_args": {
129
+ "algo": "APPO",
130
+ "env": "mujoco_ant",
131
+ "experiment": "Ant"
132
+ },
133
+ "git_hash": "1adc15ef8e281c7ac590f3b9a09de9c695746377",
134
+ "git_repo_name": "git@github.com:BartekCupial/sample-factory.git"
135
+ }
git.diff ADDED
File without changes
sf_log.txt ADDED
The diff for this file is too large to render. See raw diff