asma-4a commited on
Commit
fe7c376
·
verified ·
1 Parent(s): 170fa3c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.wrist": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 6
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "dtype": null,
38
+ "use_amp": false,
39
+ "use_peft": false,
40
+ "push_to_hub": false,
41
+ "repo_id": null,
42
+ "private": null,
43
+ "tags": null,
44
+ "license": null,
45
+ "pretrained_path": null,
46
+ "pretrained_revision": null,
47
+ "horizon": 32,
48
+ "n_action_steps": 16,
49
+ "normalization_mapping": {
50
+ "VISUAL": "MEAN_STD",
51
+ "STATE": "MIN_MAX",
52
+ "ACTION": "MIN_MAX"
53
+ },
54
+ "drop_n_last_frames": 7,
55
+ "vision_backbone": "resnet18",
56
+ "resize_shape": null,
57
+ "crop_ratio": 1.0,
58
+ "crop_shape": null,
59
+ "crop_is_random": true,
60
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
61
+ "use_group_norm": false,
62
+ "spatial_softmax_num_keypoints": 32,
63
+ "use_separate_rgb_encoder_per_camera": true,
64
+ "down_dims": [
65
+ 512,
66
+ 1024,
67
+ 2048
68
+ ],
69
+ "kernel_size": 5,
70
+ "n_groups": 8,
71
+ "diffusion_step_embed_dim": 128,
72
+ "use_film_scale_modulation": true,
73
+ "gradient_checkpointing": false,
74
+ "noise_scheduler_type": "DDPM",
75
+ "num_train_timesteps": 100,
76
+ "beta_schedule": "squaredcos_cap_v2",
77
+ "beta_start": 0.0001,
78
+ "beta_end": 0.02,
79
+ "prediction_type": "epsilon",
80
+ "clip_sample": true,
81
+ "clip_sample_range": 1.0,
82
+ "num_inference_steps": null,
83
+ "compile_model": false,
84
+ "compile_mode": "reduce-overhead",
85
+ "do_mask_loss_for_padding": false,
86
+ "optimizer_lr": 0.0001,
87
+ "optimizer_betas": [
88
+ 0.95,
89
+ 0.999
90
+ ],
91
+ "optimizer_eps": 1e-08,
92
+ "optimizer_weight_decay": 1e-06,
93
+ "scheduler_name": "cosine",
94
+ "scheduler_warmup_steps": 500
95
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:982ea7498dad3a77916c4ab03665715d5a358ea8bc37f6a6d10f99379fef38aa
3
+ size 1111408640
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
+ 6
13
+ ]
14
+ }
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"
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:54979baa930ff0d3668950e0830e2ea3840be313a70f1360fe50bf08c1cee4a5
3
+ size 7552
policy_preprocessor.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 6
30
+ ]
31
+ },
32
+ "observation.images.front": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 480,
37
+ 640
38
+ ]
39
+ },
40
+ "observation.images.wrist": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 480,
45
+ 640
46
+ ]
47
+ },
48
+ "action": {
49
+ "type": "ACTION",
50
+ "shape": [
51
+ 6
52
+ ]
53
+ }
54
+ },
55
+ "norm_map": {
56
+ "VISUAL": "MEAN_STD",
57
+ "STATE": "MIN_MAX",
58
+ "ACTION": "MIN_MAX"
59
+ }
60
+ },
61
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
62
+ }
63
+ ]
64
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0d91795ebe56c503ef2bbccb09adcca33ac976e0bffc0656780a04193282726
3
+ size 7560
train_config.json ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "shilpitha-03/so101_cube_grid",
4
+ "repo_type": "dataset",
5
+ "root": null,
6
+ "episodes": [
7
+ 0,
8
+ 1,
9
+ 2,
10
+ 3,
11
+ 4,
12
+ 5,
13
+ 6,
14
+ 7,
15
+ 8,
16
+ 9,
17
+ 10,
18
+ 11,
19
+ 13,
20
+ 14,
21
+ 15,
22
+ 16,
23
+ 17,
24
+ 18,
25
+ 19,
26
+ 21,
27
+ 22,
28
+ 23,
29
+ 24,
30
+ 25,
31
+ 26,
32
+ 27,
33
+ 28,
34
+ 29,
35
+ 30,
36
+ 31,
37
+ 32,
38
+ 33,
39
+ 34,
40
+ 35,
41
+ 36,
42
+ 37,
43
+ 39,
44
+ 40,
45
+ 41,
46
+ 42,
47
+ 43,
48
+ 44,
49
+ 45,
50
+ 46,
51
+ 47,
52
+ 48,
53
+ 49,
54
+ 50,
55
+ 51,
56
+ 52
57
+ ],
58
+ "exclude_episodes": null,
59
+ "image_transforms": {
60
+ "enable": true,
61
+ "backend": "dataloader",
62
+ "gpu_compile": true,
63
+ "gpu_chunk_size": 32,
64
+ "max_num_transforms": 3,
65
+ "random_order": false,
66
+ "tfs": {
67
+ "brightness": {
68
+ "weight": 1.0,
69
+ "type": "ColorJitter",
70
+ "kwargs": {
71
+ "brightness": [
72
+ 0.8,
73
+ 1.2
74
+ ]
75
+ }
76
+ },
77
+ "contrast": {
78
+ "weight": 1.0,
79
+ "type": "ColorJitter",
80
+ "kwargs": {
81
+ "contrast": [
82
+ 0.8,
83
+ 1.2
84
+ ]
85
+ }
86
+ },
87
+ "saturation": {
88
+ "weight": 1.0,
89
+ "type": "ColorJitter",
90
+ "kwargs": {
91
+ "saturation": [
92
+ 0.5,
93
+ 1.5
94
+ ]
95
+ }
96
+ },
97
+ "hue": {
98
+ "weight": 1.0,
99
+ "type": "ColorJitter",
100
+ "kwargs": {
101
+ "hue": [
102
+ -0.05,
103
+ 0.05
104
+ ]
105
+ }
106
+ },
107
+ "sharpness": {
108
+ "weight": 1.0,
109
+ "type": "SharpnessJitter",
110
+ "kwargs": {
111
+ "sharpness": [
112
+ 0.5,
113
+ 1.5
114
+ ]
115
+ }
116
+ },
117
+ "affine": {
118
+ "weight": 1.0,
119
+ "type": "RandomAffine",
120
+ "kwargs": {
121
+ "degrees": [
122
+ -5.0,
123
+ 5.0
124
+ ],
125
+ "translate": [
126
+ 0.05,
127
+ 0.05
128
+ ]
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "revision": null,
134
+ "use_imagenet_stats": true,
135
+ "video_backend": "pyav",
136
+ "return_uint8": false,
137
+ "depth_output_unit": "mm",
138
+ "streaming": false,
139
+ "streaming_episode_pool_size": null,
140
+ "streaming_sampling_strategy": "remaining",
141
+ "streaming_prefetch_episodes": 8,
142
+ "streaming_byte_budget_gb": 8.0,
143
+ "streaming_decode_threads": 2,
144
+ "streaming_decoded_queue_size": 8,
145
+ "streaming_native_http_connections": null,
146
+ "streaming_native_http_subranges": 1,
147
+ "streaming_sidecar_lock_timeout_s": 1800,
148
+ "video_decoder_cache_size": null,
149
+ "eval_split": 0.0
150
+ },
151
+ "env": null,
152
+ "policy": {
153
+ "type": "diffusion",
154
+ "n_obs_steps": 2,
155
+ "input_features": {
156
+ "observation.state": {
157
+ "type": "STATE",
158
+ "shape": [
159
+ 6
160
+ ]
161
+ },
162
+ "observation.images.front": {
163
+ "type": "VISUAL",
164
+ "shape": [
165
+ 3,
166
+ 480,
167
+ 640
168
+ ]
169
+ },
170
+ "observation.images.wrist": {
171
+ "type": "VISUAL",
172
+ "shape": [
173
+ 3,
174
+ 480,
175
+ 640
176
+ ]
177
+ }
178
+ },
179
+ "output_features": {
180
+ "action": {
181
+ "type": "ACTION",
182
+ "shape": [
183
+ 6
184
+ ]
185
+ }
186
+ },
187
+ "device": "cuda",
188
+ "dtype": null,
189
+ "use_amp": false,
190
+ "use_peft": false,
191
+ "push_to_hub": false,
192
+ "repo_id": null,
193
+ "private": null,
194
+ "tags": null,
195
+ "license": null,
196
+ "pretrained_path": null,
197
+ "pretrained_revision": null,
198
+ "horizon": 32,
199
+ "n_action_steps": 16,
200
+ "normalization_mapping": {
201
+ "VISUAL": "MEAN_STD",
202
+ "STATE": "MIN_MAX",
203
+ "ACTION": "MIN_MAX"
204
+ },
205
+ "drop_n_last_frames": 7,
206
+ "vision_backbone": "resnet18",
207
+ "resize_shape": null,
208
+ "crop_ratio": 1.0,
209
+ "crop_shape": null,
210
+ "crop_is_random": true,
211
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
212
+ "use_group_norm": false,
213
+ "spatial_softmax_num_keypoints": 32,
214
+ "use_separate_rgb_encoder_per_camera": true,
215
+ "down_dims": [
216
+ 512,
217
+ 1024,
218
+ 2048
219
+ ],
220
+ "kernel_size": 5,
221
+ "n_groups": 8,
222
+ "diffusion_step_embed_dim": 128,
223
+ "use_film_scale_modulation": true,
224
+ "gradient_checkpointing": false,
225
+ "noise_scheduler_type": "DDPM",
226
+ "num_train_timesteps": 100,
227
+ "beta_schedule": "squaredcos_cap_v2",
228
+ "beta_start": 0.0001,
229
+ "beta_end": 0.02,
230
+ "prediction_type": "epsilon",
231
+ "clip_sample": true,
232
+ "clip_sample_range": 1.0,
233
+ "num_inference_steps": null,
234
+ "compile_model": false,
235
+ "compile_mode": "reduce-overhead",
236
+ "do_mask_loss_for_padding": false,
237
+ "optimizer_lr": 0.0001,
238
+ "optimizer_betas": [
239
+ 0.95,
240
+ 0.999
241
+ ],
242
+ "optimizer_eps": 1e-08,
243
+ "optimizer_weight_decay": 1e-06,
244
+ "scheduler_name": "cosine",
245
+ "scheduler_warmup_steps": 500
246
+ },
247
+ "reward_model": null,
248
+ "output_dir": "/home/asmaalm-admin/lerobot_projects/diffusion/outputs/diffusion_full_bis7an7n",
249
+ "job_name": "diffusion_full",
250
+ "resume": false,
251
+ "seed": 1000,
252
+ "cudnn_deterministic": false,
253
+ "tf32": true,
254
+ "num_workers": 2,
255
+ "batch_size": 2,
256
+ "prefetch_factor": 4,
257
+ "persistent_workers": true,
258
+ "dataloader_multiprocessing_context": "spawn",
259
+ "steps": 40000,
260
+ "env_eval_freq": 20000,
261
+ "log_freq": 100,
262
+ "eval_steps": 0,
263
+ "max_eval_samples": 0,
264
+ "tolerance_s": 0.0001,
265
+ "save_checkpoint": true,
266
+ "save_freq": 5000,
267
+ "checkpoint_format": "safetensors",
268
+ "use_policy_training_preset": true,
269
+ "optimizer": {
270
+ "type": "adam",
271
+ "lr": 0.0001,
272
+ "weight_decay": 1e-06,
273
+ "grad_clip_norm": 10.0,
274
+ "betas": [
275
+ 0.95,
276
+ 0.999
277
+ ],
278
+ "eps": 1e-08,
279
+ "fused": null
280
+ },
281
+ "scheduler": {
282
+ "type": "diffuser",
283
+ "num_warmup_steps": 500,
284
+ "name": "cosine"
285
+ },
286
+ "parallelism": {
287
+ "dp_replicate": 1,
288
+ "dp_shard": 1,
289
+ "context_parallel": {
290
+ "ring_degree": 1,
291
+ "ulysses_degree": 1
292
+ },
293
+ "cfg_parallel": 1
294
+ },
295
+ "accelerator": {
296
+ "mixed_precision": "no",
297
+ "gradient_accumulation": {
298
+ "steps": 1,
299
+ "sync_each_batch": false
300
+ },
301
+ "grad_scaler": {
302
+ "init_scale": 65536.0,
303
+ "growth_factor": 2.0,
304
+ "backoff_factor": 0.5,
305
+ "growth_interval": 2000
306
+ },
307
+ "fsdp": {
308
+ "reshard_after_forward": true,
309
+ "wrap_modules": null,
310
+ "min_num_params": null,
311
+ "cpu_offload": false,
312
+ "ignored_modules": null,
313
+ "mixed_precision_policy": {
314
+ "param_dtype": null,
315
+ "reduce_dtype": null,
316
+ "output_dtype": null,
317
+ "cast_forward_inputs": true
318
+ }
319
+ },
320
+ "ddp": {
321
+ "find_unused_parameters": true,
322
+ "gradient_as_bucket_view": false,
323
+ "static_graph": false
324
+ },
325
+ "init_process_group": {
326
+ "backend": "nccl",
327
+ "init_method": null,
328
+ "timeout": null
329
+ },
330
+ "compile": {
331
+ "enabled": false,
332
+ "backend": "inductor",
333
+ "mode": null,
334
+ "regional": true
335
+ },
336
+ "activation_checkpointing": {
337
+ "mode": "none"
338
+ }
339
+ },
340
+ "eval": {
341
+ "n_episodes": 50,
342
+ "batch_size": 14,
343
+ "use_async_envs": true,
344
+ "recording": false,
345
+ "recording_repo_id": null,
346
+ "recording_private": false,
347
+ "max_episode_steps": null
348
+ },
349
+ "ema": null,
350
+ "trackio": {
351
+ "enable": false,
352
+ "disable_artifact": true,
353
+ "project": "lerobot",
354
+ "space_id": null,
355
+ "private": null,
356
+ "run_name": null,
357
+ "resume": null,
358
+ "capture_console": true
359
+ },
360
+ "peft": null,
361
+ "job": {
362
+ "target": null,
363
+ "image": "huggingface/lerobot-gpu:latest",
364
+ "timeout": "2d",
365
+ "detach": false,
366
+ "tags": []
367
+ },
368
+ "save_checkpoint_to_hub": false,
369
+ "sample_weighting": null,
370
+ "rename_map": {},
371
+ "checkpoint_path": null
372
+ }