Robotics
LeRobot
Safetensors
wam
maximellerbach HF Staff commited on
Commit
301efd0
·
verified ·
1 Parent(s): 9a0b6dd

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +4 -4
  2. config.json +30 -19
  3. model.safetensors +2 -2
  4. train_config.json +51 -32
README.md CHANGED
@@ -2,20 +2,20 @@
2
  datasets: lerobot/aloha_sim_transfer_cube_human
3
  library_name: lerobot
4
  license: apache-2.0
5
- model_name: act
6
  pipeline_tag: robotics
7
  tags:
8
  - lerobot
9
- - act
10
  - robotics
 
11
  ---
12
 
13
- # Model Card for act
14
 
15
  <!-- Provide a quick summary of what the model is/does. -->
16
 
17
 
18
- [Action Chunking with Transformers (ACT)](https://huggingface.co/papers/2304.13705) is an imitation-learning method that predicts short action chunks instead of single steps. It learns from teleoperated data and often achieves high success rates.
19
 
20
 
21
  This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
 
2
  datasets: lerobot/aloha_sim_transfer_cube_human
3
  library_name: lerobot
4
  license: apache-2.0
5
+ model_name: wam
6
  pipeline_tag: robotics
7
  tags:
8
  - lerobot
 
9
  - robotics
10
+ - wam
11
  ---
12
 
13
+ # Model Card for wam
14
 
15
  <!-- Provide a quick summary of what the model is/does. -->
16
 
17
 
18
+ _Model type not recognized please update this template._
19
 
20
 
21
  This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "type": "act",
3
  "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.images.top": {
@@ -26,7 +26,7 @@
26
  }
27
  },
28
  "device": "cuda",
29
- "use_amp": false,
30
  "use_peft": false,
31
  "push_to_hub": true,
32
  "repo_id": "maximellerbach/act_aloha_transfer",
@@ -34,30 +34,41 @@
34
  "tags": null,
35
  "license": null,
36
  "pretrained_path": null,
37
- "chunk_size": 100,
38
- "n_action_steps": 100,
 
 
 
 
 
 
 
 
39
  "normalization_mapping": {
40
  "VISUAL": "MEAN_STD",
41
  "STATE": "MEAN_STD",
42
  "ACTION": "MEAN_STD"
43
  },
 
 
 
 
44
  "vision_backbone": "resnet18",
45
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
46
- "replace_final_stride_with_dilation": false,
47
- "pre_norm": false,
48
- "dim_model": 512,
49
- "n_heads": 8,
50
- "dim_feedforward": 3200,
51
- "feedforward_activation": "relu",
52
- "n_encoder_layers": 4,
53
- "n_decoder_layers": 1,
54
- "use_vae": true,
55
  "latent_dim": 32,
56
  "n_vae_encoder_layers": 4,
57
- "temporal_ensemble_coeff": null,
58
- "dropout": 0.1,
59
- "kl_weight": 10.0,
60
- "optimizer_lr": 1e-05,
61
- "optimizer_weight_decay": 0.0001,
62
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
63
  }
 
1
  {
2
+ "type": "wam",
3
  "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.images.top": {
 
26
  }
27
  },
28
  "device": "cuda",
29
+ "use_amp": true,
30
  "use_peft": false,
31
  "push_to_hub": true,
32
  "repo_id": "maximellerbach/act_aloha_transfer",
 
34
  "tags": null,
35
  "license": null,
36
  "pretrained_path": null,
37
+ "n_obs_frames": 2,
38
+ "obs_frame_skip": 5,
39
+ "pred_frame_skip": 50,
40
+ "n_pred_frames": 1,
41
+ "image_size": [
42
+ 256,
43
+ 256
44
+ ],
45
+ "horizon": 50,
46
+ "n_action_steps": 50,
47
  "normalization_mapping": {
48
  "VISUAL": "MEAN_STD",
49
  "STATE": "MEAN_STD",
50
  "ACTION": "MEAN_STD"
51
  },
52
+ "hidden_dim": 384,
53
+ "dim_feedforward": 1536,
54
+ "pre_norm": false,
55
+ "dropout": 0.1,
56
  "vision_backbone": "resnet18",
57
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
58
+ "use_pretrained_backbone": true,
59
+ "freeze_backbone": false,
 
 
 
 
 
 
 
60
  "latent_dim": 32,
61
  "n_vae_encoder_layers": 4,
62
+ "vae_num_heads": 8,
63
+ "action_head_dropout": 0.1,
64
+ "predictor_num_layers": 12,
65
+ "predictor_num_heads": 12,
66
+ "predictor_dropout": 0.05,
67
+ "predictor_max_tokens": 1024,
68
+ "optimizer_lr": 5e-05,
69
+ "optimizer_weight_decay": 0.01,
70
+ "optimizer_grad_clip_norm": 1.0,
71
+ "scheduler_decay_lr": 1e-05,
72
+ "scheduler_warmup_steps": 500,
73
+ "scheduler_decay_steps": 5000
74
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa0607c72c92377461b789c3869532b86d4f5b6a44db14c6ded048d75ddf8854
3
- size 206765304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87e737f914619f4c71a995e5cae18817eda35b070e563ca423328658272a4fd9
3
+ size 301890384
train_config.json CHANGED
@@ -120,7 +120,7 @@
120
  "render_mode": "rgb_array"
121
  },
122
  "policy": {
123
- "type": "act",
124
  "n_obs_steps": 1,
125
  "input_features": {
126
  "observation.images.top": {
@@ -147,7 +147,7 @@
147
  }
148
  },
149
  "device": "cuda",
150
- "use_amp": false,
151
  "use_peft": false,
152
  "push_to_hub": true,
153
  "repo_id": "maximellerbach/act_aloha_transfer",
@@ -155,41 +155,53 @@
155
  "tags": null,
156
  "license": null,
157
  "pretrained_path": null,
158
- "chunk_size": 100,
159
- "n_action_steps": 100,
 
 
 
 
 
 
 
 
160
  "normalization_mapping": {
161
  "VISUAL": "MEAN_STD",
162
  "STATE": "MEAN_STD",
163
  "ACTION": "MEAN_STD"
164
  },
 
 
 
 
165
  "vision_backbone": "resnet18",
166
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
167
- "replace_final_stride_with_dilation": false,
168
- "pre_norm": false,
169
- "dim_model": 512,
170
- "n_heads": 8,
171
- "dim_feedforward": 3200,
172
- "feedforward_activation": "relu",
173
- "n_encoder_layers": 4,
174
- "n_decoder_layers": 1,
175
- "use_vae": true,
176
  "latent_dim": 32,
177
  "n_vae_encoder_layers": 4,
178
- "temporal_ensemble_coeff": null,
179
- "dropout": 0.1,
180
- "kl_weight": 10.0,
181
- "optimizer_lr": 1e-05,
182
- "optimizer_weight_decay": 0.0001,
183
- "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
184
  },
185
- "output_dir": "outputs/train/act_aloha_transfer",
186
- "job_name": "aloha_act",
187
  "resume": false,
188
  "seed": 1000,
 
189
  "num_workers": 4,
190
  "batch_size": 8,
191
- "steps": 10000,
192
- "eval_freq": 20000,
193
  "log_freq": 200,
194
  "tolerance_s": 0.0001,
195
  "save_checkpoint": true,
@@ -197,29 +209,36 @@
197
  "use_policy_training_preset": true,
198
  "optimizer": {
199
  "type": "adamw",
200
- "lr": 1e-05,
201
- "weight_decay": 0.0001,
202
- "grad_clip_norm": 10.0,
203
  "betas": [
204
  0.9,
205
  0.999
206
  ],
207
  "eps": 1e-08
208
  },
209
- "scheduler": null,
 
 
 
 
 
 
210
  "eval": {
211
- "n_episodes": 50,
212
- "batch_size": 50,
213
  "use_async_envs": false
214
  },
215
  "wandb": {
216
- "enable": false,
217
  "disable_artifact": false,
218
  "project": "lerobot",
219
  "entity": null,
220
  "notes": null,
221
- "run_id": null,
222
- "mode": null
 
223
  },
224
  "peft": null,
225
  "use_rabc": false,
 
120
  "render_mode": "rgb_array"
121
  },
122
  "policy": {
123
+ "type": "wam",
124
  "n_obs_steps": 1,
125
  "input_features": {
126
  "observation.images.top": {
 
147
  }
148
  },
149
  "device": "cuda",
150
+ "use_amp": true,
151
  "use_peft": false,
152
  "push_to_hub": true,
153
  "repo_id": "maximellerbach/act_aloha_transfer",
 
155
  "tags": null,
156
  "license": null,
157
  "pretrained_path": null,
158
+ "n_obs_frames": 2,
159
+ "obs_frame_skip": 5,
160
+ "pred_frame_skip": 50,
161
+ "n_pred_frames": 1,
162
+ "image_size": [
163
+ 256,
164
+ 256
165
+ ],
166
+ "horizon": 50,
167
+ "n_action_steps": 50,
168
  "normalization_mapping": {
169
  "VISUAL": "MEAN_STD",
170
  "STATE": "MEAN_STD",
171
  "ACTION": "MEAN_STD"
172
  },
173
+ "hidden_dim": 384,
174
+ "dim_feedforward": 1536,
175
+ "pre_norm": false,
176
+ "dropout": 0.1,
177
  "vision_backbone": "resnet18",
178
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
179
+ "use_pretrained_backbone": true,
180
+ "freeze_backbone": false,
 
 
 
 
 
 
 
181
  "latent_dim": 32,
182
  "n_vae_encoder_layers": 4,
183
+ "vae_num_heads": 8,
184
+ "action_head_dropout": 0.1,
185
+ "predictor_num_layers": 12,
186
+ "predictor_num_heads": 12,
187
+ "predictor_dropout": 0.05,
188
+ "predictor_max_tokens": 1024,
189
+ "optimizer_lr": 5e-05,
190
+ "optimizer_weight_decay": 0.01,
191
+ "optimizer_grad_clip_norm": 1.0,
192
+ "scheduler_decay_lr": 1e-05,
193
+ "scheduler_warmup_steps": 500,
194
+ "scheduler_decay_steps": 5000
195
  },
196
+ "output_dir": "outputs/train/wam_aloha",
197
+ "job_name": "aloha_wam",
198
  "resume": false,
199
  "seed": 1000,
200
+ "cudnn_deterministic": false,
201
  "num_workers": 4,
202
  "batch_size": 8,
203
+ "steps": 6000,
204
+ "eval_freq": 2000,
205
  "log_freq": 200,
206
  "tolerance_s": 0.0001,
207
  "save_checkpoint": true,
 
209
  "use_policy_training_preset": true,
210
  "optimizer": {
211
  "type": "adamw",
212
+ "lr": 5e-05,
213
+ "weight_decay": 0.01,
214
+ "grad_clip_norm": 1.0,
215
  "betas": [
216
  0.9,
217
  0.999
218
  ],
219
  "eps": 1e-08
220
  },
221
+ "scheduler": {
222
+ "type": "cosine_decay_with_warmup",
223
+ "num_warmup_steps": 500,
224
+ "num_decay_steps": 5000,
225
+ "peak_lr": 5e-05,
226
+ "decay_lr": 1e-05
227
+ },
228
  "eval": {
229
+ "n_episodes": 4,
230
+ "batch_size": 4,
231
  "use_async_envs": false
232
  },
233
  "wandb": {
234
+ "enable": true,
235
  "disable_artifact": false,
236
  "project": "lerobot",
237
  "entity": null,
238
  "notes": null,
239
+ "run_id": "88n5wijf",
240
+ "mode": null,
241
+ "add_tags": true
242
  },
243
  "peft": null,
244
  "use_rabc": false,