Robotics
LeRobot
Safetensors
bspline_diffusion
aryankakad commited on
Commit
a9fbe56
·
verified ·
1 Parent(s): 919a9b8

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "bspline_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.gripper": {
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
+ 112
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "aryankakad/cube_picking_bspline_diffusion",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 16,
47
+ "n_action_steps": 16,
48
+ "normalization_mapping": {
49
+ "VISUAL": "MEAN_STD",
50
+ "STATE": "MIN_MAX",
51
+ "ACTION": "MIN_MAX"
52
+ },
53
+ "drop_n_last_frames": 0,
54
+ "vision_backbone": "resnet18",
55
+ "resize_shape": null,
56
+ "crop_ratio": 1.0,
57
+ "crop_shape": null,
58
+ "crop_is_random": true,
59
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
60
+ "use_group_norm": false,
61
+ "spatial_softmax_num_keypoints": 32,
62
+ "use_separate_rgb_encoder_per_camera": true,
63
+ "down_dims": [
64
+ 512,
65
+ 1024,
66
+ 2048
67
+ ],
68
+ "kernel_size": 5,
69
+ "n_groups": 8,
70
+ "diffusion_step_embed_dim": 128,
71
+ "use_film_scale_modulation": true,
72
+ "gradient_checkpointing": false,
73
+ "noise_scheduler_type": "DDPM",
74
+ "num_train_timesteps": 100,
75
+ "beta_schedule": "squaredcos_cap_v2",
76
+ "beta_start": 0.0001,
77
+ "beta_end": 0.02,
78
+ "prediction_type": "epsilon",
79
+ "clip_sample": true,
80
+ "clip_sample_range": 1.0,
81
+ "num_inference_steps": null,
82
+ "compile_model": false,
83
+ "compile_mode": "reduce-overhead",
84
+ "do_mask_loss_for_padding": false,
85
+ "optimizer_lr": 0.0001,
86
+ "optimizer_betas": [
87
+ 0.95,
88
+ 0.999
89
+ ],
90
+ "optimizer_eps": 1e-08,
91
+ "optimizer_weight_decay": 1e-06,
92
+ "scheduler_name": "cosine",
93
+ "scheduler_warmup_steps": 500,
94
+ "bspline_degree": 3,
95
+ "bspline_chunk_size": 10,
96
+ "relative_knots": false,
97
+ "speed_up": 1.0,
98
+ "n_decoded_steps": 32,
99
+ "align_segments": true,
100
+ "align_error_threshold": 0.5,
101
+ "align_max_fraction": 0.2,
102
+ "align_exclude_last_dims": 1,
103
+ "replan_margin": 1.0,
104
+ "channels_last": true
105
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd9aec98a8888a7f58be856c74a761f9422e03c41f662279473c71cf4c274d17
3
+ size 1111424004
policy_postprocessor.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "device_processor",
6
+ "config": {
7
+ "device": "cpu",
8
+ "float_dtype": null
9
+ }
10
+ }
11
+ ]
12
+ }
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.gripper": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 480,
45
+ 640
46
+ ]
47
+ },
48
+ "action": {
49
+ "type": "ACTION",
50
+ "shape": [
51
+ 112
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:228d52067a33e6fa21db38376077036c585c95e30f448edb6afcb4428c3570be
3
+ size 11592
train_config.json ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "aryankakad/cube_picking_bspline",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": null,
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "return_uint8": false,
81
+ "depth_output_unit": "mm",
82
+ "streaming": false,
83
+ "eval_split": 0.0
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "bspline_diffusion",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 6
94
+ ]
95
+ },
96
+ "observation.images.front": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 480,
101
+ 640
102
+ ]
103
+ },
104
+ "observation.images.gripper": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 480,
109
+ 640
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 112
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": true,
125
+ "repo_id": "aryankakad/cube_picking_bspline_diffusion",
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 16,
132
+ "n_action_steps": 16,
133
+ "normalization_mapping": {
134
+ "VISUAL": "MEAN_STD",
135
+ "STATE": "MIN_MAX",
136
+ "ACTION": "MIN_MAX"
137
+ },
138
+ "drop_n_last_frames": 0,
139
+ "vision_backbone": "resnet18",
140
+ "resize_shape": null,
141
+ "crop_ratio": 1.0,
142
+ "crop_shape": null,
143
+ "crop_is_random": true,
144
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
145
+ "use_group_norm": false,
146
+ "spatial_softmax_num_keypoints": 32,
147
+ "use_separate_rgb_encoder_per_camera": true,
148
+ "down_dims": [
149
+ 512,
150
+ 1024,
151
+ 2048
152
+ ],
153
+ "kernel_size": 5,
154
+ "n_groups": 8,
155
+ "diffusion_step_embed_dim": 128,
156
+ "use_film_scale_modulation": true,
157
+ "gradient_checkpointing": false,
158
+ "noise_scheduler_type": "DDPM",
159
+ "num_train_timesteps": 100,
160
+ "beta_schedule": "squaredcos_cap_v2",
161
+ "beta_start": 0.0001,
162
+ "beta_end": 0.02,
163
+ "prediction_type": "epsilon",
164
+ "clip_sample": true,
165
+ "clip_sample_range": 1.0,
166
+ "num_inference_steps": null,
167
+ "compile_model": false,
168
+ "compile_mode": "reduce-overhead",
169
+ "do_mask_loss_for_padding": false,
170
+ "optimizer_lr": 0.0001,
171
+ "optimizer_betas": [
172
+ 0.95,
173
+ 0.999
174
+ ],
175
+ "optimizer_eps": 1e-08,
176
+ "optimizer_weight_decay": 1e-06,
177
+ "scheduler_name": "cosine",
178
+ "scheduler_warmup_steps": 500,
179
+ "bspline_degree": 3,
180
+ "bspline_chunk_size": 10,
181
+ "relative_knots": false,
182
+ "speed_up": 1.0,
183
+ "n_decoded_steps": 32,
184
+ "align_segments": true,
185
+ "align_error_threshold": 0.5,
186
+ "align_max_fraction": 0.2,
187
+ "align_exclude_last_dims": 1,
188
+ "replan_margin": 1.0,
189
+ "channels_last": true
190
+ },
191
+ "reward_model": null,
192
+ "output_dir": "outputs/cube_picking_bspline_diffusion",
193
+ "job_name": "cube_picking_bspline_diffusion",
194
+ "resume": false,
195
+ "seed": 1000,
196
+ "cudnn_deterministic": false,
197
+ "num_workers": 8,
198
+ "batch_size": 32,
199
+ "prefetch_factor": 4,
200
+ "persistent_workers": true,
201
+ "steps": 100000,
202
+ "env_eval_freq": 20000,
203
+ "log_freq": 200,
204
+ "eval_steps": 0,
205
+ "max_eval_samples": 0,
206
+ "tolerance_s": 0.0001,
207
+ "save_checkpoint": true,
208
+ "save_freq": 10000,
209
+ "use_policy_training_preset": true,
210
+ "optimizer": {
211
+ "type": "adam",
212
+ "lr": 0.0001,
213
+ "weight_decay": 1e-06,
214
+ "grad_clip_norm": 10.0,
215
+ "betas": [
216
+ 0.95,
217
+ 0.999
218
+ ],
219
+ "eps": 1e-08
220
+ },
221
+ "scheduler": {
222
+ "type": "diffuser",
223
+ "num_warmup_steps": 500,
224
+ "name": "cosine"
225
+ },
226
+ "eval": {
227
+ "n_episodes": 50,
228
+ "batch_size": 22,
229
+ "use_async_envs": true,
230
+ "recording": false,
231
+ "recording_repo_id": null,
232
+ "recording_private": false
233
+ },
234
+ "wandb": {
235
+ "enable": true,
236
+ "disable_artifact": false,
237
+ "project": "lerobot",
238
+ "entity": null,
239
+ "notes": null,
240
+ "run_id": "e9gqiknl",
241
+ "mode": null,
242
+ "add_tags": true
243
+ },
244
+ "peft": null,
245
+ "job": {
246
+ "target": null,
247
+ "image": "huggingface/lerobot-gpu:latest",
248
+ "timeout": "2d",
249
+ "detach": false,
250
+ "tags": []
251
+ },
252
+ "save_checkpoint_to_hub": false,
253
+ "sample_weighting": null,
254
+ "rename_map": {},
255
+ "checkpoint_path": null
256
+ }