HYHero commited on
Commit
95dcf5f
·
verified ·
1 Parent(s): 1e5f8d4

Upload all flow matching checkpoints

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. all_checkpoints/010000/pretrained_model/config.json +106 -0
  2. all_checkpoints/010000/pretrained_model/model.safetensors +3 -0
  3. all_checkpoints/010000/pretrained_model/policy_postprocessor.json +32 -0
  4. all_checkpoints/010000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  5. all_checkpoints/010000/pretrained_model/policy_preprocessor.json +75 -0
  6. all_checkpoints/010000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  7. all_checkpoints/010000/pretrained_model/train_config.json +257 -0
  8. all_checkpoints/020000/pretrained_model/config.json +106 -0
  9. all_checkpoints/020000/pretrained_model/model.safetensors +3 -0
  10. all_checkpoints/020000/pretrained_model/policy_postprocessor.json +32 -0
  11. all_checkpoints/020000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  12. all_checkpoints/020000/pretrained_model/policy_preprocessor.json +75 -0
  13. all_checkpoints/020000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  14. all_checkpoints/020000/pretrained_model/train_config.json +257 -0
  15. all_checkpoints/030000/pretrained_model/config.json +106 -0
  16. all_checkpoints/030000/pretrained_model/model.safetensors +3 -0
  17. all_checkpoints/030000/pretrained_model/policy_postprocessor.json +32 -0
  18. all_checkpoints/030000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  19. all_checkpoints/030000/pretrained_model/policy_preprocessor.json +75 -0
  20. all_checkpoints/030000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  21. all_checkpoints/030000/pretrained_model/train_config.json +257 -0
  22. all_checkpoints/040000/pretrained_model/config.json +106 -0
  23. all_checkpoints/040000/pretrained_model/model.safetensors +3 -0
  24. all_checkpoints/040000/pretrained_model/policy_postprocessor.json +32 -0
  25. all_checkpoints/040000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  26. all_checkpoints/040000/pretrained_model/policy_preprocessor.json +75 -0
  27. all_checkpoints/040000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  28. all_checkpoints/040000/pretrained_model/train_config.json +257 -0
  29. all_checkpoints/050000/pretrained_model/config.json +106 -0
  30. all_checkpoints/050000/pretrained_model/model.safetensors +3 -0
  31. all_checkpoints/050000/pretrained_model/policy_postprocessor.json +32 -0
  32. all_checkpoints/050000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  33. all_checkpoints/050000/pretrained_model/policy_preprocessor.json +75 -0
  34. all_checkpoints/050000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  35. all_checkpoints/050000/pretrained_model/train_config.json +257 -0
  36. all_checkpoints/060000/pretrained_model/config.json +106 -0
  37. all_checkpoints/060000/pretrained_model/model.safetensors +3 -0
  38. all_checkpoints/060000/pretrained_model/policy_postprocessor.json +32 -0
  39. all_checkpoints/060000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  40. all_checkpoints/060000/pretrained_model/policy_preprocessor.json +75 -0
  41. all_checkpoints/060000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  42. all_checkpoints/060000/pretrained_model/train_config.json +257 -0
  43. all_checkpoints/070000/pretrained_model/config.json +106 -0
  44. all_checkpoints/070000/pretrained_model/model.safetensors +3 -0
  45. all_checkpoints/070000/pretrained_model/policy_postprocessor.json +32 -0
  46. all_checkpoints/070000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors +3 -0
  47. all_checkpoints/070000/pretrained_model/policy_preprocessor.json +75 -0
  48. all_checkpoints/070000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors +3 -0
  49. all_checkpoints/070000/pretrained_model/train_config.json +257 -0
  50. all_checkpoints/080000/pretrained_model/config.json +106 -0
all_checkpoints/010000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/010000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:898da5d3ffa06e243548921ccb7e9a2e3bfdc7fc95d0833f4dbc1bd88228a29f
3
+ size 995640924
all_checkpoints/010000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/010000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/010000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/010000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/010000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/020000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/020000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f2e841ee1e3647b6f617fda40e95936db1eaa35747553860403ec481bd0a3d1
3
+ size 995640924
all_checkpoints/020000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/020000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/020000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/020000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/020000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/030000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/030000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693a9e33a0bfe305b4027742ee20795272ad4ef94ef879141f9bb883bad0e834
3
+ size 995640924
all_checkpoints/030000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/030000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/030000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/030000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/030000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/040000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/040000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:626bf3c339291729d8aca477e5c7c86a94f611189d6efd6ccfcb4c16de015e4e
3
+ size 995640924
all_checkpoints/040000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/040000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/040000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/040000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/040000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/050000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/050000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0459e22000f1c311da7b9162b33fbaa6cf8c7c7eb887ce0e7a893cba68914348
3
+ size 995640924
all_checkpoints/050000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/050000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/050000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/050000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/050000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/060000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/060000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a172e7b65f29500afe3d0ccca3ee5b9c0861f3c521c03da19cd6870ba0e0ec80
3
+ size 995640924
all_checkpoints/060000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/060000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/060000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/060000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/060000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/070000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }
all_checkpoints/070000/pretrained_model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5cd59eacaf671e62e28df4691ea39c98c1e5000db5daa52de8d55dbe7e86aac
3
+ size 995640924
all_checkpoints/070000/pretrained_model/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
+ 7
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
+ }
all_checkpoints/070000/pretrained_model/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebcf8788ac2c38ccae8bc139e57a83da88fa38f6ab01a8fcc40cdbccdeb5286b
3
+ size 7608
all_checkpoints/070000/pretrained_model/policy_preprocessor.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "tokenizer_processor",
16
+ "config": {
17
+ "max_length": 77,
18
+ "task_key": "task",
19
+ "padding_side": "right",
20
+ "padding": "max_length",
21
+ "truncation": true,
22
+ "tokenizer_name": "openai/clip-vit-base-patch16"
23
+ }
24
+ },
25
+ {
26
+ "registry_name": "device_processor",
27
+ "config": {
28
+ "device": "cuda",
29
+ "float_dtype": null
30
+ }
31
+ },
32
+ {
33
+ "registry_name": "normalizer_processor",
34
+ "config": {
35
+ "eps": 1e-08,
36
+ "features": {
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.images.cam1": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 720,
48
+ 1280
49
+ ]
50
+ },
51
+ "observation.images.cam2": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 720,
56
+ 1280
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 7
63
+ ]
64
+ }
65
+ },
66
+ "norm_map": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MIN_MAX",
69
+ "ACTION": "MIN_MAX"
70
+ }
71
+ },
72
+ "state_file": "policy_preprocessor_step_4_normalizer_processor.safetensors"
73
+ }
74
+ ]
75
+ }
all_checkpoints/070000/pretrained_model/policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1483261062d5f6b8a80141ebb343170a30f06f9cda00c5b433b378d54610753c
3
+ size 7616
all_checkpoints/070000/pretrained_model/train_config.json ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Bigenlight/cube_in_cup_lerobot_v3",
4
+ "root": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/dataset",
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.13
84
+ },
85
+ "env": null,
86
+ "policy": {
87
+ "type": "multi_task_dit",
88
+ "n_obs_steps": 2,
89
+ "input_features": {
90
+ "observation.state": {
91
+ "type": "STATE",
92
+ "shape": [
93
+ 7
94
+ ]
95
+ },
96
+ "observation.images.cam1": {
97
+ "type": "VISUAL",
98
+ "shape": [
99
+ 3,
100
+ 720,
101
+ 1280
102
+ ]
103
+ },
104
+ "observation.images.cam2": {
105
+ "type": "VISUAL",
106
+ "shape": [
107
+ 3,
108
+ 720,
109
+ 1280
110
+ ]
111
+ }
112
+ },
113
+ "output_features": {
114
+ "action": {
115
+ "type": "ACTION",
116
+ "shape": [
117
+ 7
118
+ ]
119
+ }
120
+ },
121
+ "device": "cuda",
122
+ "use_amp": false,
123
+ "use_peft": false,
124
+ "push_to_hub": false,
125
+ "repo_id": null,
126
+ "private": null,
127
+ "tags": null,
128
+ "license": null,
129
+ "pretrained_path": null,
130
+ "pretrained_revision": null,
131
+ "horizon": 32,
132
+ "n_action_steps": 24,
133
+ "objective": "flow_matching",
134
+ "noise_scheduler_type": "DDPM",
135
+ "num_train_timesteps": 100,
136
+ "beta_schedule": "squaredcos_cap_v2",
137
+ "beta_start": 0.0001,
138
+ "beta_end": 0.02,
139
+ "prediction_type": "epsilon",
140
+ "clip_sample": true,
141
+ "clip_sample_range": 1.0,
142
+ "num_inference_steps": null,
143
+ "sigma_min": 0.0,
144
+ "num_integration_steps": 100,
145
+ "integration_method": "euler",
146
+ "timestep_sampling_strategy": "beta",
147
+ "timestep_sampling_s": 0.999,
148
+ "timestep_sampling_alpha": 1.5,
149
+ "timestep_sampling_beta": 1.0,
150
+ "hidden_dim": 512,
151
+ "num_layers": 6,
152
+ "num_heads": 8,
153
+ "dropout": 0.1,
154
+ "use_positional_encoding": false,
155
+ "timestep_embed_dim": 256,
156
+ "use_rope": true,
157
+ "rope_base": 10000.0,
158
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
159
+ "use_separate_rgb_encoder_per_camera": false,
160
+ "vision_encoder_lr_multiplier": 0.1,
161
+ "image_resize_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_shape": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "image_crop_is_random": true,
170
+ "text_encoder_name": "openai/clip-vit-base-patch16",
171
+ "tokenizer_max_length": 77,
172
+ "tokenizer_padding": "max_length",
173
+ "tokenizer_padding_side": "right",
174
+ "tokenizer_truncation": true,
175
+ "normalization_mapping": {
176
+ "VISUAL": "MEAN_STD",
177
+ "STATE": "MIN_MAX",
178
+ "ACTION": "MIN_MAX"
179
+ },
180
+ "optimizer_lr": 2e-05,
181
+ "optimizer_betas": [
182
+ 0.95,
183
+ 0.999
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 0.0,
187
+ "scheduler_name": "cosine",
188
+ "scheduler_warmup_steps": 0,
189
+ "do_mask_loss_for_padding": false,
190
+ "drop_n_last_frames": 7
191
+ },
192
+ "reward_model": null,
193
+ "output_dir": "/home/junhyeong/workspace/youngwoong/cube_flow_matching/training/outputs/flow_matching_cube_in_cup",
194
+ "job_name": "flow_matching_cube_in_cup",
195
+ "resume": false,
196
+ "seed": 1000,
197
+ "cudnn_deterministic": false,
198
+ "num_workers": 4,
199
+ "batch_size": 8,
200
+ "prefetch_factor": 4,
201
+ "persistent_workers": true,
202
+ "steps": 100000,
203
+ "env_eval_freq": 20000,
204
+ "log_freq": 200,
205
+ "eval_steps": 2000,
206
+ "max_eval_samples": 0,
207
+ "tolerance_s": 0.0001,
208
+ "save_checkpoint": true,
209
+ "save_freq": 10000,
210
+ "use_policy_training_preset": true,
211
+ "optimizer": {
212
+ "type": "adam",
213
+ "lr": 2e-05,
214
+ "weight_decay": 0.0,
215
+ "grad_clip_norm": 10.0,
216
+ "betas": [
217
+ 0.95,
218
+ 0.999
219
+ ],
220
+ "eps": 1e-08
221
+ },
222
+ "scheduler": {
223
+ "type": "diffuser",
224
+ "num_warmup_steps": 0,
225
+ "name": "cosine"
226
+ },
227
+ "eval": {
228
+ "n_episodes": 50,
229
+ "batch_size": 44,
230
+ "use_async_envs": true,
231
+ "recording": false,
232
+ "recording_repo_id": null,
233
+ "recording_private": false
234
+ },
235
+ "wandb": {
236
+ "enable": false,
237
+ "disable_artifact": false,
238
+ "project": "lerobot",
239
+ "entity": null,
240
+ "notes": null,
241
+ "run_id": null,
242
+ "mode": null,
243
+ "add_tags": true
244
+ },
245
+ "peft": null,
246
+ "job": {
247
+ "target": null,
248
+ "image": "huggingface/lerobot-gpu:latest",
249
+ "timeout": "2d",
250
+ "detach": false,
251
+ "tags": []
252
+ },
253
+ "save_checkpoint_to_hub": false,
254
+ "sample_weighting": null,
255
+ "rename_map": {},
256
+ "checkpoint_path": null
257
+ }
all_checkpoints/080000/pretrained_model/config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 7
9
+ ]
10
+ },
11
+ "observation.images.cam1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.cam2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 720,
24
+ 1280
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 7
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": false,
40
+ "repo_id": null,
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "pretrained_revision": null,
46
+ "horizon": 32,
47
+ "n_action_steps": 24,
48
+ "objective": "flow_matching",
49
+ "noise_scheduler_type": "DDPM",
50
+ "num_train_timesteps": 100,
51
+ "beta_schedule": "squaredcos_cap_v2",
52
+ "beta_start": 0.0001,
53
+ "beta_end": 0.02,
54
+ "prediction_type": "epsilon",
55
+ "clip_sample": true,
56
+ "clip_sample_range": 1.0,
57
+ "num_inference_steps": null,
58
+ "sigma_min": 0.0,
59
+ "num_integration_steps": 100,
60
+ "integration_method": "euler",
61
+ "timestep_sampling_strategy": "beta",
62
+ "timestep_sampling_s": 0.999,
63
+ "timestep_sampling_alpha": 1.5,
64
+ "timestep_sampling_beta": 1.0,
65
+ "hidden_dim": 512,
66
+ "num_layers": 6,
67
+ "num_heads": 8,
68
+ "dropout": 0.1,
69
+ "use_positional_encoding": false,
70
+ "timestep_embed_dim": 256,
71
+ "use_rope": true,
72
+ "rope_base": 10000.0,
73
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
74
+ "use_separate_rgb_encoder_per_camera": false,
75
+ "vision_encoder_lr_multiplier": 0.1,
76
+ "image_resize_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_shape": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "image_crop_is_random": true,
85
+ "text_encoder_name": "openai/clip-vit-base-patch16",
86
+ "tokenizer_max_length": 77,
87
+ "tokenizer_padding": "max_length",
88
+ "tokenizer_padding_side": "right",
89
+ "tokenizer_truncation": true,
90
+ "normalization_mapping": {
91
+ "VISUAL": "MEAN_STD",
92
+ "STATE": "MIN_MAX",
93
+ "ACTION": "MIN_MAX"
94
+ },
95
+ "optimizer_lr": 2e-05,
96
+ "optimizer_betas": [
97
+ 0.95,
98
+ 0.999
99
+ ],
100
+ "optimizer_eps": 1e-08,
101
+ "optimizer_weight_decay": 0.0,
102
+ "scheduler_name": "cosine",
103
+ "scheduler_warmup_steps": 0,
104
+ "do_mask_loss_for_padding": false,
105
+ "drop_n_last_frames": 7
106
+ }