Robotics
LeRobot
Safetensors
act
jjjeonghi commited on
Commit
82c1cbc
·
verified ·
1 Parent(s): fc0bb78

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +4 -4
  2. config.json +24 -44
  3. model.safetensors +2 -2
  4. train_config.json +31 -55
README.md CHANGED
@@ -2,20 +2,20 @@
2
  datasets: data/banana_plate
3
  library_name: lerobot
4
  license: apache-2.0
5
- model_name: diffusion
6
  pipeline_tag: robotics
7
  tags:
 
8
  - lerobot
9
  - robotics
10
- - diffusion
11
  ---
12
 
13
- # Model Card for diffusion
14
 
15
  <!-- Provide a quick summary of what the model is/does. -->
16
 
17
 
18
- [Diffusion Policy](https://huggingface.co/papers/2303.04137) treats visuomotor control as a generative diffusion process, producing smooth, multi-step action trajectories that excel at contact-rich manipulation.
19
 
20
 
21
  This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
 
2
  datasets: data/banana_plate
3
  library_name: lerobot
4
  license: apache-2.0
5
+ model_name: act
6
  pipeline_tag: robotics
7
  tags:
8
+ - act
9
  - lerobot
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).
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "type": "diffusion",
3
- "n_obs_steps": 2,
4
  "input_features": {
5
  "observation.state": {
6
  "type": "STATE",
@@ -50,50 +50,30 @@
50
  "tags": null,
51
  "license": null,
52
  "pretrained_path": null,
53
- "horizon": 16,
54
- "n_action_steps": 8,
55
  "normalization_mapping": {
56
  "VISUAL": "MEAN_STD",
57
- "STATE": "MIN_MAX",
58
- "ACTION": "MIN_MAX"
59
  },
60
- "drop_n_last_frames": 7,
61
  "vision_backbone": "resnet18",
62
- "crop_shape": [
63
- 84,
64
- 84
65
- ],
66
- "crop_is_random": true,
67
- "pretrained_backbone_weights": null,
68
- "use_group_norm": true,
69
- "spatial_softmax_num_keypoints": 32,
70
- "use_separate_rgb_encoder_per_camera": false,
71
- "down_dims": [
72
- 512,
73
- 1024,
74
- 2048
75
- ],
76
- "kernel_size": 5,
77
- "n_groups": 8,
78
- "diffusion_step_embed_dim": 128,
79
- "use_film_scale_modulation": true,
80
- "noise_scheduler_type": "DDPM",
81
- "num_train_timesteps": 100,
82
- "beta_schedule": "squaredcos_cap_v2",
83
- "beta_start": 0.0001,
84
- "beta_end": 0.02,
85
- "prediction_type": "epsilon",
86
- "clip_sample": true,
87
- "clip_sample_range": 1.0,
88
- "num_inference_steps": null,
89
- "do_mask_loss_for_padding": false,
90
- "optimizer_lr": 0.0001,
91
- "optimizer_betas": [
92
- 0.95,
93
- 0.999
94
- ],
95
- "optimizer_eps": 1e-08,
96
- "optimizer_weight_decay": 1e-06,
97
- "scheduler_name": "cosine",
98
- "scheduler_warmup_steps": 500
99
  }
 
1
  {
2
+ "type": "act",
3
+ "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.state": {
6
  "type": "STATE",
 
50
  "tags": null,
51
  "license": null,
52
  "pretrained_path": null,
53
+ "chunk_size": 100,
54
+ "n_action_steps": 100,
55
  "normalization_mapping": {
56
  "VISUAL": "MEAN_STD",
57
+ "STATE": "MEAN_STD",
58
+ "ACTION": "MEAN_STD"
59
  },
 
60
  "vision_backbone": "resnet18",
61
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
62
+ "replace_final_stride_with_dilation": false,
63
+ "pre_norm": false,
64
+ "dim_model": 512,
65
+ "n_heads": 8,
66
+ "dim_feedforward": 3200,
67
+ "feedforward_activation": "relu",
68
+ "n_encoder_layers": 4,
69
+ "n_decoder_layers": 1,
70
+ "use_vae": true,
71
+ "latent_dim": 32,
72
+ "n_vae_encoder_layers": 4,
73
+ "temporal_ensemble_coeff": null,
74
+ "dropout": 0.1,
75
+ "kl_weight": 10.0,
76
+ "optimizer_lr": 1e-05,
77
+ "optimizer_weight_decay": 0.0001,
78
+ "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ab9433255460c5696acd8c2c0a083c57bc4903f60d8f31f3c93342a97f5ebd0
3
- size 1082658752
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5772347a9043d9ba7423980491cdfd816450eda8cde5d9631b41a7eb8fa9d4d
3
+ size 206748912
train_config.json CHANGED
@@ -81,8 +81,8 @@
81
  },
82
  "env": null,
83
  "policy": {
84
- "type": "diffusion",
85
- "n_obs_steps": 2,
86
  "input_features": {
87
  "observation.state": {
88
  "type": "STATE",
@@ -132,55 +132,35 @@
132
  "tags": null,
133
  "license": null,
134
  "pretrained_path": null,
135
- "horizon": 16,
136
- "n_action_steps": 8,
137
  "normalization_mapping": {
138
  "VISUAL": "MEAN_STD",
139
- "STATE": "MIN_MAX",
140
- "ACTION": "MIN_MAX"
141
  },
142
- "drop_n_last_frames": 7,
143
  "vision_backbone": "resnet18",
144
- "crop_shape": [
145
- 84,
146
- 84
147
- ],
148
- "crop_is_random": true,
149
- "pretrained_backbone_weights": null,
150
- "use_group_norm": true,
151
- "spatial_softmax_num_keypoints": 32,
152
- "use_separate_rgb_encoder_per_camera": false,
153
- "down_dims": [
154
- 512,
155
- 1024,
156
- 2048
157
- ],
158
- "kernel_size": 5,
159
- "n_groups": 8,
160
- "diffusion_step_embed_dim": 128,
161
- "use_film_scale_modulation": true,
162
- "noise_scheduler_type": "DDPM",
163
- "num_train_timesteps": 100,
164
- "beta_schedule": "squaredcos_cap_v2",
165
- "beta_start": 0.0001,
166
- "beta_end": 0.02,
167
- "prediction_type": "epsilon",
168
- "clip_sample": true,
169
- "clip_sample_range": 1.0,
170
- "num_inference_steps": null,
171
- "do_mask_loss_for_padding": false,
172
- "optimizer_lr": 0.0001,
173
- "optimizer_betas": [
174
- 0.95,
175
- 0.999
176
- ],
177
- "optimizer_eps": 1e-08,
178
- "optimizer_weight_decay": 1e-06,
179
- "scheduler_name": "cosine",
180
- "scheduler_warmup_steps": 500
181
  },
182
- "output_dir": "/media/choi/HDD/outputs/train/Diffusion_banana_plate",
183
- "job_name": "diffusion_merged",
184
  "resume": false,
185
  "seed": 1000,
186
  "num_workers": 4,
@@ -193,21 +173,17 @@
193
  "save_freq": 20000,
194
  "use_policy_training_preset": true,
195
  "optimizer": {
196
- "type": "adam",
197
- "lr": 0.0001,
198
- "weight_decay": 1e-06,
199
  "grad_clip_norm": 10.0,
200
  "betas": [
201
- 0.95,
202
  0.999
203
  ],
204
  "eps": 1e-08
205
  },
206
- "scheduler": {
207
- "type": "diffuser",
208
- "num_warmup_steps": 500,
209
- "name": "cosine"
210
- },
211
  "eval": {
212
  "n_episodes": 50,
213
  "batch_size": 50,
 
81
  },
82
  "env": null,
83
  "policy": {
84
+ "type": "act",
85
+ "n_obs_steps": 1,
86
  "input_features": {
87
  "observation.state": {
88
  "type": "STATE",
 
132
  "tags": null,
133
  "license": null,
134
  "pretrained_path": null,
135
+ "chunk_size": 100,
136
+ "n_action_steps": 100,
137
  "normalization_mapping": {
138
  "VISUAL": "MEAN_STD",
139
+ "STATE": "MEAN_STD",
140
+ "ACTION": "MEAN_STD"
141
  },
 
142
  "vision_backbone": "resnet18",
143
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
144
+ "replace_final_stride_with_dilation": false,
145
+ "pre_norm": false,
146
+ "dim_model": 512,
147
+ "n_heads": 8,
148
+ "dim_feedforward": 3200,
149
+ "feedforward_activation": "relu",
150
+ "n_encoder_layers": 4,
151
+ "n_decoder_layers": 1,
152
+ "use_vae": true,
153
+ "latent_dim": 32,
154
+ "n_vae_encoder_layers": 4,
155
+ "temporal_ensemble_coeff": null,
156
+ "dropout": 0.1,
157
+ "kl_weight": 10.0,
158
+ "optimizer_lr": 1e-05,
159
+ "optimizer_weight_decay": 0.0001,
160
+ "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  },
162
+ "output_dir": "/media/choi/HDD/outputs/train/ACT_banana_plate",
163
+ "job_name": "act_merged",
164
  "resume": false,
165
  "seed": 1000,
166
  "num_workers": 4,
 
173
  "save_freq": 20000,
174
  "use_policy_training_preset": true,
175
  "optimizer": {
176
+ "type": "adamw",
177
+ "lr": 1e-05,
178
+ "weight_decay": 0.0001,
179
  "grad_clip_norm": 10.0,
180
  "betas": [
181
+ 0.9,
182
  0.999
183
  ],
184
  "eps": 1e-08
185
  },
186
+ "scheduler": null,
 
 
 
 
187
  "eval": {
188
  "n_episodes": 50,
189
  "batch_size": 50,