enyolanev-bit commited on
Commit
b5f5d6f
·
verified ·
1 Parent(s): f60a806

Upload folder using huggingface_hub

Browse files
enhanced-100demos/config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 96,
10
+ 96
11
+ ]
12
+ },
13
+ "observation.state": {
14
+ "type": "STATE",
15
+ "shape": [
16
+ 2
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 2
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "use_peft": false,
31
+ "push_to_hub": false,
32
+ "repo_id": null,
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": null,
37
+ "horizon": 16,
38
+ "n_action_steps": 8,
39
+ "normalization_mapping": {
40
+ "VISUAL": "MEAN_STD",
41
+ "STATE": "MIN_MAX",
42
+ "ACTION": "MIN_MAX"
43
+ },
44
+ "drop_n_last_frames": 7,
45
+ "vision_backbone": "resnet18",
46
+ "resize_shape": null,
47
+ "crop_ratio": 1.0,
48
+ "crop_shape": null,
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
+ "compile_model": false,
73
+ "compile_mode": "reduce-overhead",
74
+ "do_mask_loss_for_padding": false,
75
+ "optimizer_lr": 0.0001,
76
+ "optimizer_betas": [
77
+ 0.95,
78
+ 0.999
79
+ ],
80
+ "optimizer_eps": 1e-08,
81
+ "optimizer_weight_decay": 1e-06,
82
+ "scheduler_name": "cosine",
83
+ "scheduler_warmup_steps": 500
84
+ }
enhanced-100demos/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a413bc2977eba5383d5fd31bd09bd454de0127469e9f87f148495edf66e4e76a
3
+ size 1050861448
enhanced-100demos/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
+ 2
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
+ }
enhanced-100demos/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc174a7436ff5075efebe7be7cece5e5d8430658cc9b5314fb8a652eab912d96
3
+ size 4204
enhanced-100demos/policy_preprocessor.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.image": {
27
+ "type": "VISUAL",
28
+ "shape": [
29
+ 3,
30
+ 96,
31
+ 96
32
+ ]
33
+ },
34
+ "observation.state": {
35
+ "type": "STATE",
36
+ "shape": [
37
+ 2
38
+ ]
39
+ },
40
+ "action": {
41
+ "type": "ACTION",
42
+ "shape": [
43
+ 2
44
+ ]
45
+ }
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"
54
+ }
55
+ ]
56
+ }
enhanced-100demos/policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc174a7436ff5075efebe7be7cece5e5d8430658cc9b5314fb8a652eab912d96
3
+ size 4204
enhanced-100demos/train_config.json ADDED
@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34
+ 28,
35
+ 29,
36
+ 30,
37
+ 31,
38
+ 32,
39
+ 33,
40
+ 34,
41
+ 35,
42
+ 36,
43
+ 37,
44
+ 38,
45
+ 39,
46
+ 40,
47
+ 41,
48
+ 42,
49
+ 43,
50
+ 44,
51
+ 45,
52
+ 46,
53
+ 47,
54
+ 48,
55
+ 49,
56
+ 50,
57
+ 51,
58
+ 52,
59
+ 53,
60
+ 54,
61
+ 55,
62
+ 56,
63
+ 57,
64
+ 58,
65
+ 59,
66
+ 60,
67
+ 61,
68
+ 62,
69
+ 63,
70
+ 64,
71
+ 65,
72
+ 66,
73
+ 67,
74
+ 68,
75
+ 69,
76
+ 70,
77
+ 71,
78
+ 72,
79
+ 73,
80
+ 74,
81
+ 75,
82
+ 76,
83
+ 77,
84
+ 78,
85
+ 79,
86
+ 80,
87
+ 81,
88
+ 82,
89
+ 83,
90
+ 84,
91
+ 85,
92
+ 86,
93
+ 87,
94
+ 88,
95
+ 89,
96
+ 90,
97
+ 91,
98
+ 92,
99
+ 93,
100
+ 94,
101
+ 95,
102
+ 96,
103
+ 97,
104
+ 98,
105
+ 99
106
+ ],
107
+ "image_transforms": {
108
+ "enable": true,
109
+ "max_num_transforms": 3,
110
+ "random_order": false,
111
+ "tfs": {
112
+ "brightness": {
113
+ "weight": 1.0,
114
+ "type": "ColorJitter",
115
+ "kwargs": {
116
+ "brightness": [
117
+ 0.8,
118
+ 1.2
119
+ ]
120
+ }
121
+ },
122
+ "contrast": {
123
+ "weight": 1.0,
124
+ "type": "ColorJitter",
125
+ "kwargs": {
126
+ "contrast": [
127
+ 0.8,
128
+ 1.2
129
+ ]
130
+ }
131
+ },
132
+ "saturation": {
133
+ "weight": 1.0,
134
+ "type": "ColorJitter",
135
+ "kwargs": {
136
+ "saturation": [
137
+ 0.5,
138
+ 1.5
139
+ ]
140
+ }
141
+ },
142
+ "hue": {
143
+ "weight": 1.0,
144
+ "type": "ColorJitter",
145
+ "kwargs": {
146
+ "hue": [
147
+ -0.05,
148
+ 0.05
149
+ ]
150
+ }
151
+ },
152
+ "sharpness": {
153
+ "weight": 1.0,
154
+ "type": "SharpnessJitter",
155
+ "kwargs": {
156
+ "sharpness": [
157
+ 0.5,
158
+ 1.5
159
+ ]
160
+ }
161
+ },
162
+ "affine": {
163
+ "weight": 1.0,
164
+ "type": "RandomAffine",
165
+ "kwargs": {
166
+ "degrees": [
167
+ -5.0,
168
+ 5.0
169
+ ],
170
+ "translate": [
171
+ 0.05,
172
+ 0.05
173
+ ]
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "revision": null,
179
+ "use_imagenet_stats": true,
180
+ "video_backend": "pyav",
181
+ "streaming": false
182
+ },
183
+ "env": {
184
+ "type": "pusht",
185
+ "task": "PushT-v0",
186
+ "fps": 10,
187
+ "features": {
188
+ "action": {
189
+ "type": "ACTION",
190
+ "shape": [
191
+ 2
192
+ ]
193
+ },
194
+ "agent_pos": {
195
+ "type": "STATE",
196
+ "shape": [
197
+ 2
198
+ ]
199
+ },
200
+ "pixels": {
201
+ "type": "VISUAL",
202
+ "shape": [
203
+ 384,
204
+ 384,
205
+ 3
206
+ ]
207
+ }
208
+ },
209
+ "features_map": {
210
+ "action": "action",
211
+ "agent_pos": "observation.state",
212
+ "environment_state": "observation.environment_state",
213
+ "pixels": "observation.image"
214
+ },
215
+ "max_parallel_tasks": 1,
216
+ "disable_env_checker": true,
217
+ "episode_length": 300,
218
+ "obs_type": "pixels_agent_pos",
219
+ "render_mode": "rgb_array",
220
+ "visualization_width": 384,
221
+ "visualization_height": 384,
222
+ "observation_height": 384,
223
+ "observation_width": 384
224
+ },
225
+ "policy": {
226
+ "type": "diffusion",
227
+ "n_obs_steps": 2,
228
+ "input_features": {
229
+ "observation.image": {
230
+ "type": "VISUAL",
231
+ "shape": [
232
+ 3,
233
+ 96,
234
+ 96
235
+ ]
236
+ },
237
+ "observation.state": {
238
+ "type": "STATE",
239
+ "shape": [
240
+ 2
241
+ ]
242
+ }
243
+ },
244
+ "output_features": {
245
+ "action": {
246
+ "type": "ACTION",
247
+ "shape": [
248
+ 2
249
+ ]
250
+ }
251
+ },
252
+ "device": "cuda",
253
+ "use_amp": false,
254
+ "use_peft": false,
255
+ "push_to_hub": false,
256
+ "repo_id": null,
257
+ "private": null,
258
+ "tags": null,
259
+ "license": null,
260
+ "pretrained_path": null,
261
+ "horizon": 16,
262
+ "n_action_steps": 8,
263
+ "normalization_mapping": {
264
+ "VISUAL": "MEAN_STD",
265
+ "STATE": "MIN_MAX",
266
+ "ACTION": "MIN_MAX"
267
+ },
268
+ "drop_n_last_frames": 7,
269
+ "vision_backbone": "resnet18",
270
+ "resize_shape": null,
271
+ "crop_ratio": 1.0,
272
+ "crop_shape": null,
273
+ "crop_is_random": true,
274
+ "pretrained_backbone_weights": null,
275
+ "use_group_norm": true,
276
+ "spatial_softmax_num_keypoints": 32,
277
+ "use_separate_rgb_encoder_per_camera": false,
278
+ "down_dims": [
279
+ 512,
280
+ 1024,
281
+ 2048
282
+ ],
283
+ "kernel_size": 5,
284
+ "n_groups": 8,
285
+ "diffusion_step_embed_dim": 128,
286
+ "use_film_scale_modulation": true,
287
+ "noise_scheduler_type": "DDPM",
288
+ "num_train_timesteps": 100,
289
+ "beta_schedule": "squaredcos_cap_v2",
290
+ "beta_start": 0.0001,
291
+ "beta_end": 0.02,
292
+ "prediction_type": "epsilon",
293
+ "clip_sample": true,
294
+ "clip_sample_range": 1.0,
295
+ "num_inference_steps": null,
296
+ "compile_model": false,
297
+ "compile_mode": "reduce-overhead",
298
+ "do_mask_loss_for_padding": false,
299
+ "optimizer_lr": 0.0001,
300
+ "optimizer_betas": [
301
+ 0.95,
302
+ 0.999
303
+ ],
304
+ "optimizer_eps": 1e-08,
305
+ "optimizer_weight_decay": 1e-06,
306
+ "scheduler_name": "cosine",
307
+ "scheduler_warmup_steps": 500
308
+ },
309
+ "output_dir": "/home/jovyan/sample-efficient-imitation/runs/de_diffusion_enhanced_n100_s0",
310
+ "job_name": "de_diffusion_enhanced_n100_s0",
311
+ "resume": false,
312
+ "seed": 0,
313
+ "cudnn_deterministic": false,
314
+ "num_workers": 4,
315
+ "batch_size": 8,
316
+ "steps": 150000,
317
+ "eval_freq": 150000,
318
+ "log_freq": 200,
319
+ "tolerance_s": 0.0001,
320
+ "save_checkpoint": true,
321
+ "save_freq": 20000,
322
+ "use_policy_training_preset": true,
323
+ "optimizer": {
324
+ "type": "adam",
325
+ "lr": 0.0001,
326
+ "weight_decay": 1e-06,
327
+ "grad_clip_norm": 10.0,
328
+ "betas": [
329
+ 0.95,
330
+ 0.999
331
+ ],
332
+ "eps": 1e-08
333
+ },
334
+ "scheduler": {
335
+ "type": "diffuser",
336
+ "num_warmup_steps": 500,
337
+ "name": "cosine"
338
+ },
339
+ "eval": {
340
+ "n_episodes": 100,
341
+ "batch_size": 10,
342
+ "use_async_envs": false
343
+ },
344
+ "wandb": {
345
+ "enable": false,
346
+ "disable_artifact": false,
347
+ "project": "lerobot",
348
+ "entity": null,
349
+ "notes": null,
350
+ "run_id": null,
351
+ "mode": null,
352
+ "add_tags": true
353
+ },
354
+ "peft": null,
355
+ "use_rabc": false,
356
+ "rabc_progress_path": null,
357
+ "rabc_kappa": 0.01,
358
+ "rabc_epsilon": 1e-06,
359
+ "rabc_head_mode": "sparse",
360
+ "rename_map": {},
361
+ "checkpoint_path": null
362
+ }