HyeonseokE commited on
Commit
1c03472
·
verified ·
1 Parent(s): 98e0870

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi0",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 18
9
+ ]
10
+ },
11
+ "observation.images.robot1_front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 240,
16
+ 424
17
+ ]
18
+ },
19
+ "observation.images.robot1_top": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 240,
24
+ 424
25
+ ]
26
+ },
27
+ "observation.images.robot2_front": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 240,
32
+ 424
33
+ ]
34
+ },
35
+ "observation.images.robot2_top": {
36
+ "type": "VISUAL",
37
+ "shape": [
38
+ 3,
39
+ 240,
40
+ 424
41
+ ]
42
+ },
43
+ "observation.images.robot3_front": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 240,
48
+ 424
49
+ ]
50
+ }
51
+ },
52
+ "output_features": {
53
+ "action": {
54
+ "type": "ACTION",
55
+ "shape": [
56
+ 18
57
+ ]
58
+ }
59
+ },
60
+ "device": "cuda",
61
+ "use_amp": false,
62
+ "push_to_hub": false,
63
+ "repo_id": null,
64
+ "private": null,
65
+ "tags": null,
66
+ "license": null,
67
+ "pretrained_path": "lerobot/pi0_base",
68
+ "paligemma_variant": "gemma_2b",
69
+ "action_expert_variant": "gemma_300m",
70
+ "dtype": "bfloat16",
71
+ "chunk_size": 50,
72
+ "n_action_steps": 50,
73
+ "max_state_dim": 32,
74
+ "max_action_dim": 32,
75
+ "train_expert_only": true,
76
+ "num_inference_steps": 10,
77
+ "time_sampling_beta_alpha": 1.5,
78
+ "time_sampling_beta_beta": 1.0,
79
+ "time_sampling_scale": 0.999,
80
+ "time_sampling_offset": 0.001,
81
+ "min_period": 0.004,
82
+ "max_period": 4.0,
83
+ "image_resolution": [
84
+ 224,
85
+ 224
86
+ ],
87
+ "empty_cameras": 0,
88
+ "normalization_mapping": {
89
+ "VISUAL": "IDENTITY",
90
+ "STATE": "MEAN_STD",
91
+ "ACTION": "MEAN_STD"
92
+ },
93
+ "gradient_checkpointing": true,
94
+ "compile_model": false,
95
+ "compile_mode": "max-autotune",
96
+ "optimizer_lr": 2.5e-05,
97
+ "optimizer_betas": [
98
+ 0.9,
99
+ 0.95
100
+ ],
101
+ "optimizer_eps": 1e-08,
102
+ "optimizer_weight_decay": 0.01,
103
+ "optimizer_grad_clip_norm": 1.0,
104
+ "scheduler_warmup_steps": 1000,
105
+ "scheduler_decay_steps": 30000,
106
+ "scheduler_decay_lr": 2.5e-06,
107
+ "tokenizer_max_length": 48
108
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8c2fa1b0cb48402e55f3a919a7500a94d3616bc41fb7bc3d72ee9d7a5d860ff
3
+ size 7011548640
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
+ 18
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "IDENTITY",
18
+ "STATE": "MEAN_STD",
19
+ "ACTION": "MEAN_STD"
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:e88ab2a87093d3ba82e22015d685d3e0078daf1d4761958f2cc4d04a4bfbb74a
3
+ size 11840
policy_preprocessor.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "pi0_new_line_processor",
16
+ "config": {}
17
+ },
18
+ {
19
+ "registry_name": "tokenizer_processor",
20
+ "config": {
21
+ "max_length": 48,
22
+ "task_key": "task",
23
+ "padding_side": "right",
24
+ "padding": "max_length",
25
+ "truncation": true,
26
+ "tokenizer_name": "google/paligemma-3b-pt-224"
27
+ }
28
+ },
29
+ {
30
+ "registry_name": "device_processor",
31
+ "config": {
32
+ "device": "cuda",
33
+ "float_dtype": null
34
+ }
35
+ },
36
+ {
37
+ "registry_name": "normalizer_processor",
38
+ "config": {
39
+ "eps": 1e-08,
40
+ "features": {
41
+ "observation.state": {
42
+ "type": "STATE",
43
+ "shape": [
44
+ 18
45
+ ]
46
+ },
47
+ "observation.images.robot1_front": {
48
+ "type": "VISUAL",
49
+ "shape": [
50
+ 3,
51
+ 240,
52
+ 424
53
+ ]
54
+ },
55
+ "observation.images.robot1_top": {
56
+ "type": "VISUAL",
57
+ "shape": [
58
+ 3,
59
+ 240,
60
+ 424
61
+ ]
62
+ },
63
+ "observation.images.robot2_front": {
64
+ "type": "VISUAL",
65
+ "shape": [
66
+ 3,
67
+ 240,
68
+ 424
69
+ ]
70
+ },
71
+ "observation.images.robot2_top": {
72
+ "type": "VISUAL",
73
+ "shape": [
74
+ 3,
75
+ 240,
76
+ 424
77
+ ]
78
+ },
79
+ "observation.images.robot3_front": {
80
+ "type": "VISUAL",
81
+ "shape": [
82
+ 3,
83
+ 240,
84
+ 424
85
+ ]
86
+ },
87
+ "action": {
88
+ "type": "ACTION",
89
+ "shape": [
90
+ 18
91
+ ]
92
+ }
93
+ },
94
+ "norm_map": {
95
+ "VISUAL": "IDENTITY",
96
+ "STATE": "MEAN_STD",
97
+ "ACTION": "MEAN_STD"
98
+ }
99
+ },
100
+ "state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
101
+ }
102
+ ]
103
+ }
policy_preprocessor_step_5_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e88ab2a87093d3ba82e22015d685d3e0078daf1d4761958f2cc4d04a4bfbb74a
3
+ size 11840
train_config.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "CSI-Agent/merged_final",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": null,
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "pi0",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 18
91
+ ]
92
+ },
93
+ "observation.images.robot1_front": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 240,
98
+ 424
99
+ ]
100
+ },
101
+ "observation.images.robot1_top": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 240,
106
+ 424
107
+ ]
108
+ },
109
+ "observation.images.robot2_front": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 240,
114
+ 424
115
+ ]
116
+ },
117
+ "observation.images.robot2_top": {
118
+ "type": "VISUAL",
119
+ "shape": [
120
+ 3,
121
+ 240,
122
+ 424
123
+ ]
124
+ },
125
+ "observation.images.robot3_front": {
126
+ "type": "VISUAL",
127
+ "shape": [
128
+ 3,
129
+ 240,
130
+ 424
131
+ ]
132
+ }
133
+ },
134
+ "output_features": {
135
+ "action": {
136
+ "type": "ACTION",
137
+ "shape": [
138
+ 18
139
+ ]
140
+ }
141
+ },
142
+ "device": "cuda",
143
+ "use_amp": false,
144
+ "push_to_hub": false,
145
+ "repo_id": null,
146
+ "private": null,
147
+ "tags": null,
148
+ "license": null,
149
+ "pretrained_path": "lerobot/pi0_base",
150
+ "paligemma_variant": "gemma_2b",
151
+ "action_expert_variant": "gemma_300m",
152
+ "dtype": "bfloat16",
153
+ "chunk_size": 50,
154
+ "n_action_steps": 50,
155
+ "max_state_dim": 32,
156
+ "max_action_dim": 32,
157
+ "train_expert_only": true,
158
+ "num_inference_steps": 10,
159
+ "time_sampling_beta_alpha": 1.5,
160
+ "time_sampling_beta_beta": 1.0,
161
+ "time_sampling_scale": 0.999,
162
+ "time_sampling_offset": 0.001,
163
+ "min_period": 0.004,
164
+ "max_period": 4.0,
165
+ "image_resolution": [
166
+ 224,
167
+ 224
168
+ ],
169
+ "empty_cameras": 0,
170
+ "normalization_mapping": {
171
+ "VISUAL": "IDENTITY",
172
+ "STATE": "MEAN_STD",
173
+ "ACTION": "MEAN_STD"
174
+ },
175
+ "gradient_checkpointing": true,
176
+ "compile_model": false,
177
+ "compile_mode": "max-autotune",
178
+ "optimizer_lr": 2.5e-05,
179
+ "optimizer_betas": [
180
+ 0.9,
181
+ 0.95
182
+ ],
183
+ "optimizer_eps": 1e-08,
184
+ "optimizer_weight_decay": 0.01,
185
+ "optimizer_grad_clip_norm": 1.0,
186
+ "scheduler_warmup_steps": 1000,
187
+ "scheduler_decay_steps": 30000,
188
+ "scheduler_decay_lr": 2.5e-06,
189
+ "tokenizer_max_length": 48
190
+ },
191
+ "output_dir": "outputs/pi0_train_multi_expert_only",
192
+ "job_name": "pi0_train_multi_expert_only",
193
+ "resume": false,
194
+ "seed": 1000,
195
+ "num_workers": 8,
196
+ "batch_size": 64,
197
+ "steps": 2000,
198
+ "eval_freq": 20000,
199
+ "log_freq": 200,
200
+ "save_checkpoint": true,
201
+ "save_freq": 500,
202
+ "use_policy_training_preset": true,
203
+ "optimizer": {
204
+ "type": "adamw",
205
+ "lr": 2.5e-05,
206
+ "weight_decay": 0.01,
207
+ "grad_clip_norm": 1.0,
208
+ "betas": [
209
+ 0.9,
210
+ 0.95
211
+ ],
212
+ "eps": 1e-08
213
+ },
214
+ "scheduler": {
215
+ "type": "cosine_decay_with_warmup",
216
+ "num_warmup_steps": 1000,
217
+ "num_decay_steps": 30000,
218
+ "peak_lr": 2.5e-05,
219
+ "decay_lr": 2.5e-06
220
+ },
221
+ "eval": {
222
+ "n_episodes": 50,
223
+ "batch_size": 50,
224
+ "use_async_envs": false
225
+ },
226
+ "wandb": {
227
+ "enable": true,
228
+ "disable_artifact": false,
229
+ "project": "lerobot",
230
+ "entity": null,
231
+ "notes": null,
232
+ "run_id": "w69zlgst",
233
+ "mode": null
234
+ },
235
+ "checkpoint_path": null,
236
+ "rename_map": {}
237
+ }