jalal06 commited on
Commit
bcaffc4
·
verified ·
1 Parent(s): a2e856b

dit_real73_b88_h18e16 step 034662

Browse files
config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "dit_clip",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 8
9
+ ]
10
+ },
11
+ "observation.ee_pose": {
12
+ "type": "STATE",
13
+ "shape": [
14
+ 7
15
+ ]
16
+ },
17
+ "observation.images.main": {
18
+ "type": "VISUAL",
19
+ "shape": [
20
+ 3,
21
+ 224,
22
+ 400
23
+ ]
24
+ },
25
+ "observation.images.wrist": {
26
+ "type": "VISUAL",
27
+ "shape": [
28
+ 3,
29
+ 224,
30
+ 400
31
+ ]
32
+ }
33
+ },
34
+ "output_features": {
35
+ "action": {
36
+ "type": "ACTION",
37
+ "shape": [
38
+ 8
39
+ ]
40
+ }
41
+ },
42
+ "device": "cuda",
43
+ "use_amp": false,
44
+ "use_peft": false,
45
+ "push_to_hub": false,
46
+ "repo_id": null,
47
+ "private": null,
48
+ "tags": null,
49
+ "license": null,
50
+ "pretrained_path": null,
51
+ "pretrained_revision": null,
52
+ "horizon": 18,
53
+ "n_action_steps": 16,
54
+ "normalization_mapping": {
55
+ "VISUAL": "IDENTITY",
56
+ "STATE": "MIN_MAX",
57
+ "ACTION": "MIN_MAX"
58
+ },
59
+ "drop_n_last_frames": 0,
60
+ "vision_backbone": "resnet18",
61
+ "resize_shape": null,
62
+ "crop_ratio": 1.0,
63
+ "crop_shape": null,
64
+ "crop_is_random": true,
65
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
66
+ "use_group_norm": false,
67
+ "spatial_softmax_num_keypoints": 32,
68
+ "use_separate_rgb_encoder_per_camera": true,
69
+ "down_dims": [
70
+ 512
71
+ ],
72
+ "kernel_size": 5,
73
+ "n_groups": 8,
74
+ "diffusion_step_embed_dim": 128,
75
+ "use_film_scale_modulation": true,
76
+ "noise_scheduler_type": "DDPM",
77
+ "num_train_timesteps": 100,
78
+ "beta_schedule": "squaredcos_cap_v2",
79
+ "beta_start": 0.0001,
80
+ "beta_end": 0.02,
81
+ "prediction_type": "epsilon",
82
+ "clip_sample": true,
83
+ "clip_sample_range": 1.0,
84
+ "num_inference_steps": 100,
85
+ "compile_model": false,
86
+ "compile_mode": "reduce-overhead",
87
+ "do_mask_loss_for_padding": true,
88
+ "optimizer_lr": 3.3166247903554e-05,
89
+ "optimizer_betas": [
90
+ 0.95,
91
+ 0.999
92
+ ],
93
+ "optimizer_eps": 1e-08,
94
+ "optimizer_weight_decay": 0.0,
95
+ "scheduler_name": "cosine",
96
+ "scheduler_warmup_steps": 500,
97
+ "hidden_dim": 768,
98
+ "num_layers": 8,
99
+ "num_heads": 12,
100
+ "clip_name": "/mnt/lustre-grete/usr/u13581/ebt_twin/huggingface/hub/models--openai--clip-vit-base-patch16/snapshots/57c216476eefef5ab752ec549e440a49ae4ae5f3",
101
+ "crop_translation": 8,
102
+ "hidden_norm": "rms",
103
+ "mcmc_min": 15,
104
+ "mcmc_max": 45,
105
+ "alpha_min": 0.1,
106
+ "alpha_max": 1.0,
107
+ "noise_std": 0.1,
108
+ "noise_schedule": "cosine",
109
+ "backprop_last_steps": 1,
110
+ "energy_scaling": true,
111
+ "replay_buffer_size": 1024,
112
+ "replay_probability": 0.5,
113
+ "energy_l2": 0.01,
114
+ "inference_alpha": 0.5,
115
+ "inference_noise_free_last_steps": 50,
116
+ "vision_lr": 3.3166247903554e-06,
117
+ "dropout": 0.1
118
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa21623ec874b3fdaf64dc17e749e6874e42a045dd5c1514fb9ce8d58bae771
3
+ size 1064300760
policy_postprocessor.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "unnormalizer_processor",
6
+ "config": {
7
+ "eps": 1e-08,
8
+ "features": {
9
+ "action": {
10
+ "type": "ACTION",
11
+ "shape": [
12
+ 8
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "IDENTITY",
18
+ "STATE": "MIN_MAX",
19
+ "ACTION": "MIN_MAX"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "device_processor",
26
+ "config": {
27
+ "device": "cpu",
28
+ "float_dtype": null
29
+ }
30
+ }
31
+ ]
32
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d38ca6762c510ee06f2ea0f8990554169015c1efcba05e6f7b3d963b5d0870
3
+ size 8792
policy_preprocessor.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "device_processor",
16
+ "config": {
17
+ "device": "cuda",
18
+ "float_dtype": null
19
+ }
20
+ },
21
+ {
22
+ "registry_name": "normalizer_processor",
23
+ "config": {
24
+ "eps": 1e-08,
25
+ "features": {
26
+ "observation.state": {
27
+ "type": "STATE",
28
+ "shape": [
29
+ 8
30
+ ]
31
+ },
32
+ "observation.ee_pose": {
33
+ "type": "STATE",
34
+ "shape": [
35
+ 7
36
+ ]
37
+ },
38
+ "observation.images.main": {
39
+ "type": "VISUAL",
40
+ "shape": [
41
+ 3,
42
+ 224,
43
+ 400
44
+ ]
45
+ },
46
+ "observation.images.wrist": {
47
+ "type": "VISUAL",
48
+ "shape": [
49
+ 3,
50
+ 224,
51
+ 400
52
+ ]
53
+ },
54
+ "action": {
55
+ "type": "ACTION",
56
+ "shape": [
57
+ 8
58
+ ]
59
+ }
60
+ },
61
+ "norm_map": {
62
+ "VISUAL": "IDENTITY",
63
+ "STATE": "MIN_MAX",
64
+ "ACTION": "MIN_MAX"
65
+ }
66
+ },
67
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
68
+ }
69
+ ]
70
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cddbe12499d9dc3e80ec5f21a3f9b369352b6a780b6d63415bd170a83f39cda
3
+ size 8800
train_config.json ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "jalal06/real-franka-insertion",
4
+ "root": "/mnt/lustre-grete/usr/u13581/real_insertion/data/real-franka-insertion",
5
+ "episodes": [
6
+ 0,
7
+ 1,
8
+ 2,
9
+ 3,
10
+ 4,
11
+ 5,
12
+ 6,
13
+ 7,
14
+ 8,
15
+ 9,
16
+ 10,
17
+ 11,
18
+ 12,
19
+ 13,
20
+ 14,
21
+ 15,
22
+ 16,
23
+ 18,
24
+ 19,
25
+ 20,
26
+ 21,
27
+ 22,
28
+ 24,
29
+ 25,
30
+ 26,
31
+ 27,
32
+ 28,
33
+ 29,
34
+ 30,
35
+ 31,
36
+ 32,
37
+ 33,
38
+ 34,
39
+ 35,
40
+ 36,
41
+ 37,
42
+ 38,
43
+ 39,
44
+ 40,
45
+ 41,
46
+ 42,
47
+ 43,
48
+ 44,
49
+ 46,
50
+ 47,
51
+ 48,
52
+ 49,
53
+ 50,
54
+ 51,
55
+ 52,
56
+ 54,
57
+ 55,
58
+ 56,
59
+ 57,
60
+ 58,
61
+ 59,
62
+ 60,
63
+ 61,
64
+ 62,
65
+ 63,
66
+ 64,
67
+ 65,
68
+ 66,
69
+ 67,
70
+ 68,
71
+ 69,
72
+ 70,
73
+ 71,
74
+ 72,
75
+ 17,
76
+ 23,
77
+ 45,
78
+ 53
79
+ ],
80
+ "image_transforms": {
81
+ "enable": false,
82
+ "max_num_transforms": 3,
83
+ "random_order": false,
84
+ "tfs": {
85
+ "brightness": {
86
+ "weight": 1.0,
87
+ "type": "ColorJitter",
88
+ "kwargs": {
89
+ "brightness": [
90
+ 0.8,
91
+ 1.2
92
+ ]
93
+ }
94
+ },
95
+ "contrast": {
96
+ "weight": 1.0,
97
+ "type": "ColorJitter",
98
+ "kwargs": {
99
+ "contrast": [
100
+ 0.8,
101
+ 1.2
102
+ ]
103
+ }
104
+ },
105
+ "saturation": {
106
+ "weight": 1.0,
107
+ "type": "ColorJitter",
108
+ "kwargs": {
109
+ "saturation": [
110
+ 0.5,
111
+ 1.5
112
+ ]
113
+ }
114
+ },
115
+ "hue": {
116
+ "weight": 1.0,
117
+ "type": "ColorJitter",
118
+ "kwargs": {
119
+ "hue": [
120
+ -0.05,
121
+ 0.05
122
+ ]
123
+ }
124
+ },
125
+ "sharpness": {
126
+ "weight": 1.0,
127
+ "type": "SharpnessJitter",
128
+ "kwargs": {
129
+ "sharpness": [
130
+ 0.5,
131
+ 1.5
132
+ ]
133
+ }
134
+ },
135
+ "affine": {
136
+ "weight": 1.0,
137
+ "type": "RandomAffine",
138
+ "kwargs": {
139
+ "degrees": [
140
+ -5.0,
141
+ 5.0
142
+ ],
143
+ "translate": [
144
+ 0.05,
145
+ 0.05
146
+ ]
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "revision": "local",
152
+ "use_imagenet_stats": true,
153
+ "video_backend": "pyav",
154
+ "return_uint8": false,
155
+ "depth_output_unit": "mm",
156
+ "streaming": false,
157
+ "eval_split": 0.04794520547945205
158
+ },
159
+ "env": null,
160
+ "policy": {
161
+ "type": "dit_clip",
162
+ "n_obs_steps": 2,
163
+ "input_features": {
164
+ "observation.state": {
165
+ "type": "STATE",
166
+ "shape": [
167
+ 8
168
+ ]
169
+ },
170
+ "observation.ee_pose": {
171
+ "type": "STATE",
172
+ "shape": [
173
+ 7
174
+ ]
175
+ },
176
+ "observation.images.main": {
177
+ "type": "VISUAL",
178
+ "shape": [
179
+ 3,
180
+ 224,
181
+ 400
182
+ ]
183
+ },
184
+ "observation.images.wrist": {
185
+ "type": "VISUAL",
186
+ "shape": [
187
+ 3,
188
+ 224,
189
+ 400
190
+ ]
191
+ }
192
+ },
193
+ "output_features": {
194
+ "action": {
195
+ "type": "ACTION",
196
+ "shape": [
197
+ 8
198
+ ]
199
+ }
200
+ },
201
+ "device": "cuda",
202
+ "use_amp": false,
203
+ "use_peft": false,
204
+ "push_to_hub": false,
205
+ "repo_id": null,
206
+ "private": null,
207
+ "tags": null,
208
+ "license": null,
209
+ "pretrained_path": null,
210
+ "pretrained_revision": null,
211
+ "horizon": 18,
212
+ "n_action_steps": 16,
213
+ "normalization_mapping": {
214
+ "VISUAL": "IDENTITY",
215
+ "STATE": "MIN_MAX",
216
+ "ACTION": "MIN_MAX"
217
+ },
218
+ "drop_n_last_frames": 0,
219
+ "vision_backbone": "resnet18",
220
+ "resize_shape": null,
221
+ "crop_ratio": 1.0,
222
+ "crop_shape": null,
223
+ "crop_is_random": true,
224
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
225
+ "use_group_norm": false,
226
+ "spatial_softmax_num_keypoints": 32,
227
+ "use_separate_rgb_encoder_per_camera": true,
228
+ "down_dims": [
229
+ 512
230
+ ],
231
+ "kernel_size": 5,
232
+ "n_groups": 8,
233
+ "diffusion_step_embed_dim": 128,
234
+ "use_film_scale_modulation": true,
235
+ "noise_scheduler_type": "DDPM",
236
+ "num_train_timesteps": 100,
237
+ "beta_schedule": "squaredcos_cap_v2",
238
+ "beta_start": 0.0001,
239
+ "beta_end": 0.02,
240
+ "prediction_type": "epsilon",
241
+ "clip_sample": true,
242
+ "clip_sample_range": 1.0,
243
+ "num_inference_steps": 100,
244
+ "compile_model": false,
245
+ "compile_mode": "reduce-overhead",
246
+ "do_mask_loss_for_padding": true,
247
+ "optimizer_lr": 3.3166247903554e-05,
248
+ "optimizer_betas": [
249
+ 0.95,
250
+ 0.999
251
+ ],
252
+ "optimizer_eps": 1e-08,
253
+ "optimizer_weight_decay": 0.0,
254
+ "scheduler_name": "cosine",
255
+ "scheduler_warmup_steps": 500,
256
+ "hidden_dim": 768,
257
+ "num_layers": 8,
258
+ "num_heads": 12,
259
+ "clip_name": "/mnt/lustre-grete/usr/u13581/ebt_twin/huggingface/hub/models--openai--clip-vit-base-patch16/snapshots/57c216476eefef5ab752ec549e440a49ae4ae5f3",
260
+ "crop_translation": 8,
261
+ "hidden_norm": "rms",
262
+ "mcmc_min": 15,
263
+ "mcmc_max": 45,
264
+ "alpha_min": 0.1,
265
+ "alpha_max": 1.0,
266
+ "noise_std": 0.1,
267
+ "noise_schedule": "cosine",
268
+ "backprop_last_steps": 1,
269
+ "energy_scaling": true,
270
+ "replay_buffer_size": 1024,
271
+ "replay_probability": 0.5,
272
+ "energy_l2": 0.01,
273
+ "inference_alpha": 0.5,
274
+ "inference_noise_free_last_steps": 50,
275
+ "vision_lr": 3.3166247903554e-06,
276
+ "dropout": 0.1
277
+ },
278
+ "reward_model": null,
279
+ "output_dir": "/mnt/lustre-grete/usr/u13581/real_insertion/runs/dit_real73_b88_h18e16",
280
+ "job_name": "dit_real73_b88_h18e16",
281
+ "resume": false,
282
+ "seed": 0,
283
+ "cudnn_deterministic": false,
284
+ "num_workers": 14,
285
+ "batch_size": 88,
286
+ "prefetch_factor": 4,
287
+ "persistent_workers": true,
288
+ "steps": 57770,
289
+ "env_eval_freq": 0,
290
+ "log_freq": 50,
291
+ "eval_steps": 500,
292
+ "max_eval_samples": 256,
293
+ "tolerance_s": 0.0001,
294
+ "save_checkpoint": true,
295
+ "save_freq": 5777,
296
+ "use_policy_training_preset": true,
297
+ "optimizer": {
298
+ "type": "adamw",
299
+ "lr": 3.3166247903554e-05,
300
+ "weight_decay": 0.0,
301
+ "grad_clip_norm": 1.0,
302
+ "betas": [
303
+ 0.95,
304
+ 0.999
305
+ ],
306
+ "eps": 1e-08
307
+ },
308
+ "scheduler": {
309
+ "type": "constant_with_warmup",
310
+ "num_warmup_steps": 500
311
+ },
312
+ "eval": {
313
+ "n_episodes": 50,
314
+ "batch_size": 50,
315
+ "use_async_envs": true,
316
+ "recording": false,
317
+ "recording_repo_id": null,
318
+ "recording_private": false
319
+ },
320
+ "wandb": {
321
+ "enable": false,
322
+ "disable_artifact": false,
323
+ "project": "lerobot",
324
+ "entity": null,
325
+ "notes": null,
326
+ "run_id": null,
327
+ "mode": null,
328
+ "add_tags": true
329
+ },
330
+ "peft": null,
331
+ "job": {
332
+ "target": null,
333
+ "image": "huggingface/lerobot-gpu:latest",
334
+ "timeout": "2d",
335
+ "detach": false,
336
+ "tags": []
337
+ },
338
+ "save_checkpoint_to_hub": false,
339
+ "sample_weighting": null,
340
+ "rename_map": {},
341
+ "checkpoint_path": null
342
+ }