author31 commited on
Commit
9ef368c
·
verified ·
1 Parent(s): 945c1c3

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 9
9
+ ]
10
+ },
11
+ "observation.images.wrist": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.front": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 8
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "author31/cupstacking-multi-dit",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "horizon": 32,
46
+ "n_action_steps": 24,
47
+ "objective": "diffusion",
48
+ "noise_scheduler_type": "DDPM",
49
+ "num_train_timesteps": 100,
50
+ "beta_schedule": "squaredcos_cap_v2",
51
+ "beta_start": 0.0001,
52
+ "beta_end": 0.02,
53
+ "prediction_type": "epsilon",
54
+ "clip_sample": true,
55
+ "clip_sample_range": 1.0,
56
+ "num_inference_steps": null,
57
+ "sigma_min": 0.0,
58
+ "num_integration_steps": 100,
59
+ "integration_method": "euler",
60
+ "timestep_sampling_strategy": "beta",
61
+ "timestep_sampling_s": 0.999,
62
+ "timestep_sampling_alpha": 1.5,
63
+ "timestep_sampling_beta": 1.0,
64
+ "hidden_dim": 512,
65
+ "num_layers": 6,
66
+ "num_heads": 8,
67
+ "dropout": 0.1,
68
+ "use_positional_encoding": false,
69
+ "timestep_embed_dim": 256,
70
+ "use_rope": true,
71
+ "rope_base": 10000.0,
72
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
73
+ "use_separate_rgb_encoder_per_camera": false,
74
+ "vision_encoder_lr_multiplier": 0.1,
75
+ "image_resize_shape": null,
76
+ "image_crop_shape": [
77
+ 224,
78
+ 224
79
+ ],
80
+ "image_crop_is_random": true,
81
+ "text_encoder_name": "openai/clip-vit-base-patch16",
82
+ "tokenizer_max_length": 77,
83
+ "tokenizer_padding": "max_length",
84
+ "tokenizer_padding_side": "right",
85
+ "tokenizer_truncation": true,
86
+ "normalization_mapping": {
87
+ "VISUAL": "MEAN_STD",
88
+ "STATE": "MIN_MAX",
89
+ "ACTION": "MIN_MAX"
90
+ },
91
+ "optimizer_lr": 2e-05,
92
+ "optimizer_betas": [
93
+ 0.95,
94
+ 0.999
95
+ ],
96
+ "optimizer_eps": 1e-08,
97
+ "optimizer_weight_decay": 0.0,
98
+ "scheduler_name": "cosine",
99
+ "scheduler_warmup_steps": 0,
100
+ "do_mask_loss_for_padding": false,
101
+ "drop_n_last_frames": 7
102
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5647809d1cbb228cf1e74cc97c3444a3357de0772370259f01366d371a6baa
3
+ size 995944680
policy_postprocessor.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "unnormalizer_processor",
6
+ "config": {
7
+ "eps": 1e-08,
8
+ "features": {
9
+ "action": {
10
+ "type": "ACTION",
11
+ "shape": [
12
+ 8
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "MEAN_STD",
18
+ "STATE": "MIN_MAX",
19
+ "ACTION": "MIN_MAX"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "device_processor",
26
+ "config": {
27
+ "device": "cpu",
28
+ "float_dtype": null
29
+ }
30
+ }
31
+ ]
32
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d57655c8c121fe760383769155100f2448890500a190a0c89e29f8367aa164e
3
+ size 7756
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
+ 9
41
+ ]
42
+ },
43
+ "observation.images.wrist": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 480,
48
+ 640
49
+ ]
50
+ },
51
+ "observation.images.front": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 480,
56
+ 640
57
+ ]
58
+ },
59
+ "action": {
60
+ "type": "ACTION",
61
+ "shape": [
62
+ 8
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
+ }
policy_preprocessor_step_4_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d57655c8c121fe760383769155100f2448890500a190a0c89e29f8367aa164e
3
+ size 7756
train_config.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "author31/cup-stacking-twoviews-joint-positions",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": "main",
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "multi_task_dit",
85
+ "n_obs_steps": 2,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 9
91
+ ]
92
+ },
93
+ "observation.images.wrist": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.front": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 480,
106
+ 640
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 8
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "use_peft": false,
121
+ "push_to_hub": true,
122
+ "repo_id": "author31/cupstacking-multi-dit",
123
+ "private": null,
124
+ "tags": null,
125
+ "license": null,
126
+ "pretrained_path": null,
127
+ "horizon": 32,
128
+ "n_action_steps": 24,
129
+ "objective": "diffusion",
130
+ "noise_scheduler_type": "DDPM",
131
+ "num_train_timesteps": 100,
132
+ "beta_schedule": "squaredcos_cap_v2",
133
+ "beta_start": 0.0001,
134
+ "beta_end": 0.02,
135
+ "prediction_type": "epsilon",
136
+ "clip_sample": true,
137
+ "clip_sample_range": 1.0,
138
+ "num_inference_steps": null,
139
+ "sigma_min": 0.0,
140
+ "num_integration_steps": 100,
141
+ "integration_method": "euler",
142
+ "timestep_sampling_strategy": "beta",
143
+ "timestep_sampling_s": 0.999,
144
+ "timestep_sampling_alpha": 1.5,
145
+ "timestep_sampling_beta": 1.0,
146
+ "hidden_dim": 512,
147
+ "num_layers": 6,
148
+ "num_heads": 8,
149
+ "dropout": 0.1,
150
+ "use_positional_encoding": false,
151
+ "timestep_embed_dim": 256,
152
+ "use_rope": true,
153
+ "rope_base": 10000.0,
154
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
155
+ "use_separate_rgb_encoder_per_camera": false,
156
+ "vision_encoder_lr_multiplier": 0.1,
157
+ "image_resize_shape": null,
158
+ "image_crop_shape": [
159
+ 224,
160
+ 224
161
+ ],
162
+ "image_crop_is_random": true,
163
+ "text_encoder_name": "openai/clip-vit-base-patch16",
164
+ "tokenizer_max_length": 77,
165
+ "tokenizer_padding": "max_length",
166
+ "tokenizer_padding_side": "right",
167
+ "tokenizer_truncation": true,
168
+ "normalization_mapping": {
169
+ "VISUAL": "MEAN_STD",
170
+ "STATE": "MIN_MAX",
171
+ "ACTION": "MIN_MAX"
172
+ },
173
+ "optimizer_lr": 2e-05,
174
+ "optimizer_betas": [
175
+ 0.95,
176
+ 0.999
177
+ ],
178
+ "optimizer_eps": 1e-08,
179
+ "optimizer_weight_decay": 0.0,
180
+ "scheduler_name": "cosine",
181
+ "scheduler_warmup_steps": 0,
182
+ "do_mask_loss_for_padding": false,
183
+ "drop_n_last_frames": 7
184
+ },
185
+ "output_dir": "outputs/mutitask_dit_training",
186
+ "job_name": "multi_task_dit",
187
+ "resume": false,
188
+ "seed": 1000,
189
+ "cudnn_deterministic": false,
190
+ "num_workers": 4,
191
+ "batch_size": 64,
192
+ "steps": 10000000,
193
+ "eval_freq": 20000,
194
+ "log_freq": 200,
195
+ "tolerance_s": 0.0001,
196
+ "save_checkpoint": true,
197
+ "save_freq": 20000,
198
+ "use_policy_training_preset": true,
199
+ "optimizer": {
200
+ "type": "adam",
201
+ "lr": 2e-05,
202
+ "weight_decay": 0.0,
203
+ "grad_clip_norm": 10.0,
204
+ "betas": [
205
+ 0.95,
206
+ 0.999
207
+ ],
208
+ "eps": 1e-08
209
+ },
210
+ "scheduler": {
211
+ "type": "diffuser",
212
+ "num_warmup_steps": 0,
213
+ "name": "cosine"
214
+ },
215
+ "eval": {
216
+ "n_episodes": 50,
217
+ "batch_size": 50,
218
+ "use_async_envs": false
219
+ },
220
+ "wandb": {
221
+ "enable": true,
222
+ "disable_artifact": false,
223
+ "project": "lerobot",
224
+ "entity": null,
225
+ "notes": null,
226
+ "run_id": "76gago8o",
227
+ "mode": null,
228
+ "add_tags": true
229
+ },
230
+ "peft": null,
231
+ "use_rabc": false,
232
+ "rabc_progress_path": null,
233
+ "rabc_kappa": 0.01,
234
+ "rabc_epsilon": 1e-06,
235
+ "rabc_head_mode": "sparse",
236
+ "rename_map": {},
237
+ "checkpoint_path": null
238
+ }