author31 commited on
Commit
741be1e
·
verified ·
1 Parent(s): 1c19850

Upload folder using huggingface_hub

Browse files
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",
@@ -28,55 +28,35 @@
28
  "device": "cuda",
29
  "use_amp": false,
30
  "push_to_hub": true,
31
- "repo_id": "author31/diffusion-policy-cup-stacking-front",
32
  "private": null,
33
  "tags": null,
34
  "license": null,
35
  "pretrained_path": null,
36
- "horizon": 16,
37
- "n_action_steps": 8,
38
  "normalization_mapping": {
39
  "VISUAL": "MEAN_STD",
40
- "STATE": "MIN_MAX",
41
- "ACTION": "MIN_MAX"
42
  },
43
- "drop_n_last_frames": 7,
44
  "vision_backbone": "resnet18",
45
- "crop_shape": [
46
- 84,
47
- 84
48
- ],
49
- "crop_is_random": true,
50
- "pretrained_backbone_weights": null,
51
- "use_group_norm": true,
52
- "spatial_softmax_num_keypoints": 32,
53
- "use_separate_rgb_encoder_per_camera": false,
54
- "down_dims": [
55
- 512,
56
- 1024,
57
- 2048
58
- ],
59
- "kernel_size": 5,
60
- "n_groups": 8,
61
- "diffusion_step_embed_dim": 128,
62
- "use_film_scale_modulation": true,
63
- "noise_scheduler_type": "DDPM",
64
- "num_train_timesteps": 100,
65
- "beta_schedule": "squaredcos_cap_v2",
66
- "beta_start": 0.0001,
67
- "beta_end": 0.02,
68
- "prediction_type": "epsilon",
69
- "clip_sample": true,
70
- "clip_sample_range": 1.0,
71
- "num_inference_steps": null,
72
- "do_mask_loss_for_padding": false,
73
- "optimizer_lr": 0.0003,
74
- "optimizer_betas": [
75
- 0.95,
76
- 0.999
77
- ],
78
- "optimizer_eps": 1e-08,
79
- "optimizer_weight_decay": 1e-06,
80
- "scheduler_name": "cosine",
81
- "scheduler_warmup_steps": 500
82
  }
 
1
  {
2
+ "type": "act",
3
+ "n_obs_steps": 1,
4
  "input_features": {
5
  "observation.state": {
6
  "type": "STATE",
 
28
  "device": "cuda",
29
  "use_amp": false,
30
  "push_to_hub": true,
31
+ "repo_id": "author31/diffusion-policy-cup-stacking-front-ACT",
32
  "private": null,
33
  "tags": null,
34
  "license": null,
35
  "pretrained_path": null,
36
+ "chunk_size": 100,
37
+ "n_action_steps": 100,
38
  "normalization_mapping": {
39
  "VISUAL": "MEAN_STD",
40
+ "STATE": "MEAN_STD",
41
+ "ACTION": "MEAN_STD"
42
  },
 
43
  "vision_backbone": "resnet18",
44
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
45
+ "replace_final_stride_with_dilation": false,
46
+ "pre_norm": false,
47
+ "dim_model": 512,
48
+ "n_heads": 8,
49
+ "dim_feedforward": 3200,
50
+ "feedforward_activation": "relu",
51
+ "n_encoder_layers": 4,
52
+ "n_decoder_layers": 1,
53
+ "use_vae": true,
54
+ "latent_dim": 32,
55
+ "n_vae_encoder_layers": 4,
56
+ "temporal_ensemble_coeff": null,
57
+ "dropout": 0.1,
58
+ "kl_weight": 10.0,
59
+ "optimizer_lr": 1e-05,
60
+ "optimizer_weight_decay": 0.0001,
61
+ "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:46815434a1f49bceebb32101067c6c734bf6af6ac14454a2a2c6473f0cc509f8
3
- size 1052553120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93da308fbe5b7da638c9ff8dcbdaa5a79617bd120369bb22f6ec91d19920da79
3
+ size 206720224
policy_postprocessor.json CHANGED
@@ -15,8 +15,8 @@
15
  },
16
  "norm_map": {
17
  "VISUAL": "MEAN_STD",
18
- "STATE": "MIN_MAX",
19
- "ACTION": "MIN_MAX"
20
  }
21
  },
22
  "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
 
15
  },
16
  "norm_map": {
17
  "VISUAL": "MEAN_STD",
18
+ "STATE": "MEAN_STD",
19
+ "ACTION": "MEAN_STD"
20
  }
21
  },
22
  "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
policy_preprocessor.json CHANGED
@@ -46,8 +46,8 @@
46
  },
47
  "norm_map": {
48
  "VISUAL": "MEAN_STD",
49
- "STATE": "MIN_MAX",
50
- "ACTION": "MIN_MAX"
51
  }
52
  },
53
  "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
 
46
  },
47
  "norm_map": {
48
  "VISUAL": "MEAN_STD",
49
+ "STATE": "MEAN_STD",
50
+ "ACTION": "MEAN_STD"
51
  }
52
  },
53
  "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
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",
@@ -110,64 +110,44 @@
110
  "device": "cuda",
111
  "use_amp": false,
112
  "push_to_hub": true,
113
- "repo_id": "author31/diffusion-policy-cup-stacking-front",
114
  "private": null,
115
  "tags": null,
116
  "license": null,
117
  "pretrained_path": null,
118
- "horizon": 16,
119
- "n_action_steps": 8,
120
  "normalization_mapping": {
121
  "VISUAL": "MEAN_STD",
122
- "STATE": "MIN_MAX",
123
- "ACTION": "MIN_MAX"
124
  },
125
- "drop_n_last_frames": 7,
126
  "vision_backbone": "resnet18",
127
- "crop_shape": [
128
- 84,
129
- 84
130
- ],
131
- "crop_is_random": true,
132
- "pretrained_backbone_weights": null,
133
- "use_group_norm": true,
134
- "spatial_softmax_num_keypoints": 32,
135
- "use_separate_rgb_encoder_per_camera": false,
136
- "down_dims": [
137
- 512,
138
- 1024,
139
- 2048
140
- ],
141
- "kernel_size": 5,
142
- "n_groups": 8,
143
- "diffusion_step_embed_dim": 128,
144
- "use_film_scale_modulation": true,
145
- "noise_scheduler_type": "DDPM",
146
- "num_train_timesteps": 100,
147
- "beta_schedule": "squaredcos_cap_v2",
148
- "beta_start": 0.0001,
149
- "beta_end": 0.02,
150
- "prediction_type": "epsilon",
151
- "clip_sample": true,
152
- "clip_sample_range": 1.0,
153
- "num_inference_steps": null,
154
- "do_mask_loss_for_padding": false,
155
- "optimizer_lr": 0.0003,
156
- "optimizer_betas": [
157
- 0.95,
158
- 0.999
159
- ],
160
- "optimizer_eps": 1e-08,
161
- "optimizer_weight_decay": 1e-06,
162
- "scheduler_name": "cosine",
163
- "scheduler_warmup_steps": 500
164
  },
165
- "output_dir": "outputs/train/cup-stacking-front",
166
- "job_name": "lerobot-cup-stacking-front",
167
  "resume": false,
168
  "seed": 1000,
169
- "num_workers": 0,
170
- "batch_size": 256,
171
  "steps": 500000,
172
  "eval_freq": 20000,
173
  "log_freq": 100,
@@ -175,21 +155,17 @@
175
  "save_freq": 5000,
176
  "use_policy_training_preset": true,
177
  "optimizer": {
178
- "type": "adam",
179
- "lr": 0.0003,
180
- "weight_decay": 1e-06,
181
  "grad_clip_norm": 10.0,
182
  "betas": [
183
- 0.95,
184
  0.999
185
  ],
186
  "eps": 1e-08
187
  },
188
- "scheduler": {
189
- "type": "diffuser",
190
- "num_warmup_steps": 500,
191
- "name": "cosine"
192
- },
193
  "eval": {
194
  "n_episodes": 50,
195
  "batch_size": 50,
@@ -201,7 +177,7 @@
201
  "project": "lerobot",
202
  "entity": null,
203
  "notes": null,
204
- "run_id": "bf99di5r",
205
  "mode": null
206
  },
207
  "checkpoint_path": null,
 
81
  },
82
  "env": null,
83
  "policy": {
84
+ "type": "act",
85
+ "n_obs_steps": 1,
86
  "input_features": {
87
  "observation.state": {
88
  "type": "STATE",
 
110
  "device": "cuda",
111
  "use_amp": false,
112
  "push_to_hub": true,
113
+ "repo_id": "author31/diffusion-policy-cup-stacking-front-ACT",
114
  "private": null,
115
  "tags": null,
116
  "license": null,
117
  "pretrained_path": null,
118
+ "chunk_size": 100,
119
+ "n_action_steps": 100,
120
  "normalization_mapping": {
121
  "VISUAL": "MEAN_STD",
122
+ "STATE": "MEAN_STD",
123
+ "ACTION": "MEAN_STD"
124
  },
 
125
  "vision_backbone": "resnet18",
126
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
127
+ "replace_final_stride_with_dilation": false,
128
+ "pre_norm": false,
129
+ "dim_model": 512,
130
+ "n_heads": 8,
131
+ "dim_feedforward": 3200,
132
+ "feedforward_activation": "relu",
133
+ "n_encoder_layers": 4,
134
+ "n_decoder_layers": 1,
135
+ "use_vae": true,
136
+ "latent_dim": 32,
137
+ "n_vae_encoder_layers": 4,
138
+ "temporal_ensemble_coeff": null,
139
+ "dropout": 0.1,
140
+ "kl_weight": 10.0,
141
+ "optimizer_lr": 1e-05,
142
+ "optimizer_weight_decay": 0.0001,
143
+ "optimizer_lr_backbone": 1e-05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  },
145
+ "output_dir": "outputs/train/cup-stacking-front-ACT",
146
+ "job_name": "lerobot-cup-stacking",
147
  "resume": false,
148
  "seed": 1000,
149
+ "num_workers": 4,
150
+ "batch_size": 64,
151
  "steps": 500000,
152
  "eval_freq": 20000,
153
  "log_freq": 100,
 
155
  "save_freq": 5000,
156
  "use_policy_training_preset": true,
157
  "optimizer": {
158
+ "type": "adamw",
159
+ "lr": 1e-05,
160
+ "weight_decay": 0.0001,
161
  "grad_clip_norm": 10.0,
162
  "betas": [
163
+ 0.9,
164
  0.999
165
  ],
166
  "eps": 1e-08
167
  },
168
+ "scheduler": null,
 
 
 
 
169
  "eval": {
170
  "n_episodes": 50,
171
  "batch_size": 50,
 
177
  "project": "lerobot",
178
  "entity": null,
179
  "notes": null,
180
+ "run_id": "r1lj80mi",
181
  "mode": null
182
  },
183
  "checkpoint_path": null,