Sevleete commited on
Commit
fba8c44
·
verified ·
1 Parent(s): 4049bf1

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.base_0_rgb": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 224,
10
+ 224
11
+ ]
12
+ },
13
+ "observation.images.left_wrist_0_rgb": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 224,
18
+ 224
19
+ ]
20
+ },
21
+ "observation.images.right_wrist_0_rgb": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 3,
25
+ 224,
26
+ 224
27
+ ]
28
+ },
29
+ "observation.state": {
30
+ "type": "STATE",
31
+ "shape": [
32
+ 32
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 8
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": false,
48
+ "repo_id": null,
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": "/workspace/yangtong/gq/WorkSpace/EBiM/outputs/pi05_continue_0814/checkpoints/020000/pretrained_model",
53
+ "pretrained_revision": null,
54
+ "paligemma_variant": "gemma_2b",
55
+ "action_expert_variant": "gemma_300m",
56
+ "dtype": "bfloat16",
57
+ "chunk_size": 50,
58
+ "n_action_steps": 50,
59
+ "max_state_dim": 32,
60
+ "max_action_dim": 32,
61
+ "num_inference_steps": 10,
62
+ "time_sampling_beta_alpha": 1.5,
63
+ "time_sampling_beta_beta": 1.0,
64
+ "time_sampling_scale": 0.999,
65
+ "time_sampling_offset": 0.001,
66
+ "min_period": 0.004,
67
+ "max_period": 4.0,
68
+ "use_relative_actions": false,
69
+ "relative_exclude_joints": [
70
+ "gripper"
71
+ ],
72
+ "action_feature_names": [
73
+ "right_fr3v2_joint1.target",
74
+ "right_fr3v2_joint2.target",
75
+ "right_fr3v2_joint3.target",
76
+ "right_fr3v2_joint4.target",
77
+ "right_fr3v2_joint5.target",
78
+ "right_fr3v2_joint6.target",
79
+ "right_fr3v2_joint7.target",
80
+ "right_gripper.open_fraction.target"
81
+ ],
82
+ "rtc_config": null,
83
+ "image_resolution": [
84
+ 224,
85
+ 224
86
+ ],
87
+ "empty_cameras": 0,
88
+ "tokenizer_max_length": 200,
89
+ "normalization_mapping": {
90
+ "VISUAL": "IDENTITY",
91
+ "STATE": "QUANTILES",
92
+ "ACTION": "QUANTILES"
93
+ },
94
+ "gradient_checkpointing": true,
95
+ "compile_model": false,
96
+ "compile_mode": "max-autotune",
97
+ "freeze_vision_encoder": false,
98
+ "train_expert_only": false,
99
+ "optimizer_lr": 2.5e-05,
100
+ "optimizer_betas": [
101
+ 0.9,
102
+ 0.95
103
+ ],
104
+ "optimizer_eps": 1e-08,
105
+ "optimizer_weight_decay": 0.01,
106
+ "optimizer_grad_clip_norm": 1.0,
107
+ "scheduler_warmup_steps": 1000,
108
+ "scheduler_decay_steps": 30000,
109
+ "scheduler_decay_lr": 2.5e-06
110
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad2502cb2268613c18b6e3846f69916a0841f5f9f54c3c12efec011a9c163b5d
3
+ size 9354050784
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": "IDENTITY",
18
+ "STATE": "QUANTILES",
19
+ "ACTION": "QUANTILES"
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:36af12a2a2efe972a9ac3fa9dfc444bdc30db5963af95a812d47646dd9b70f2b
3
+ size 7752
policy_preprocessor.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {
8
+ "observation.images.head": "observation.images.base_0_rgb",
9
+ "observation.images.wrist_right": "observation.images.right_wrist_0_rgb"
10
+ }
11
+ }
12
+ },
13
+ {
14
+ "registry_name": "to_batch_processor",
15
+ "config": {}
16
+ },
17
+ {
18
+ "registry_name": "normalizer_processor",
19
+ "config": {
20
+ "eps": 1e-08,
21
+ "features": {
22
+ "observation.images.base_0_rgb": {
23
+ "type": "VISUAL",
24
+ "shape": [
25
+ 3,
26
+ 224,
27
+ 224
28
+ ]
29
+ },
30
+ "observation.images.left_wrist_0_rgb": {
31
+ "type": "VISUAL",
32
+ "shape": [
33
+ 3,
34
+ 224,
35
+ 224
36
+ ]
37
+ },
38
+ "observation.images.right_wrist_0_rgb": {
39
+ "type": "VISUAL",
40
+ "shape": [
41
+ 3,
42
+ 224,
43
+ 224
44
+ ]
45
+ },
46
+ "observation.state": {
47
+ "type": "STATE",
48
+ "shape": [
49
+ 32
50
+ ]
51
+ },
52
+ "action": {
53
+ "type": "ACTION",
54
+ "shape": [
55
+ 8
56
+ ]
57
+ }
58
+ },
59
+ "norm_map": {
60
+ "VISUAL": "IDENTITY",
61
+ "STATE": "QUANTILES",
62
+ "ACTION": "QUANTILES"
63
+ }
64
+ },
65
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
66
+ },
67
+ {
68
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
69
+ "config": {}
70
+ },
71
+ {
72
+ "registry_name": "tokenizer_processor",
73
+ "config": {
74
+ "max_length": 200,
75
+ "task_key": "task",
76
+ "padding_side": "right",
77
+ "padding": "max_length",
78
+ "truncation": true,
79
+ "tokenizer_name": "tokenizer"
80
+ },
81
+ "artifacts": {
82
+ "tokenizer_name": "tokenizer"
83
+ }
84
+ },
85
+ {
86
+ "registry_name": "device_processor",
87
+ "config": {
88
+ "device": "cuda",
89
+ "float_dtype": null
90
+ }
91
+ }
92
+ ]
93
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36af12a2a2efe972a9ac3fa9dfc444bdc30db5963af95a812d47646dd9b70f2b
3
+ size 7752
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a29a78a3c72f7e3cc1e44e0b1ba6ae8921f8eff3e7b6b3f112cde67e1b01898c
3
+ size 34383052
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<bos>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<eos>",
6
+ "extra_special_tokens": [
7
+ "<image>"
8
+ ],
9
+ "is_local": true,
10
+ "mask_token": "<mask>",
11
+ "max_length": 200,
12
+ "model_max_length": 1000000000000000019884624838656,
13
+ "pad_to_multiple_of": null,
14
+ "pad_token": "<pad>",
15
+ "pad_token_type_id": 0,
16
+ "padding_side": "right",
17
+ "processor_class": "PaliGemmaProcessor",
18
+ "sp_model_kwargs": {},
19
+ "spaces_between_special_tokens": false,
20
+ "stride": 0,
21
+ "tokenizer_class": "GemmaTokenizer",
22
+ "truncation_side": "right",
23
+ "truncation_strategy": "longest_first",
24
+ "unk_token": "<unk>",
25
+ "use_default_system_prompt": false,
26
+ "vocab_file": "/workspace/yangtong/gq/models/google_paligemma_3b_pt_224/tokenizer.model"
27
+ }
train_config.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "sev/pi_final_data",
4
+ "repo_type": "dataset",
5
+ "root": "/workspace/yangtong/gq/WorkSpace/EBiM/data/pi_final_data",
6
+ "episodes": null,
7
+ "exclude_episodes": null,
8
+ "image_transforms": {
9
+ "enable": false,
10
+ "max_num_transforms": 3,
11
+ "random_order": false,
12
+ "tfs": {
13
+ "brightness": {
14
+ "weight": 1.0,
15
+ "type": "ColorJitter",
16
+ "kwargs": {
17
+ "brightness": [
18
+ 0.8,
19
+ 1.2
20
+ ]
21
+ }
22
+ },
23
+ "contrast": {
24
+ "weight": 1.0,
25
+ "type": "ColorJitter",
26
+ "kwargs": {
27
+ "contrast": [
28
+ 0.8,
29
+ 1.2
30
+ ]
31
+ }
32
+ },
33
+ "saturation": {
34
+ "weight": 1.0,
35
+ "type": "ColorJitter",
36
+ "kwargs": {
37
+ "saturation": [
38
+ 0.5,
39
+ 1.5
40
+ ]
41
+ }
42
+ },
43
+ "hue": {
44
+ "weight": 1.0,
45
+ "type": "ColorJitter",
46
+ "kwargs": {
47
+ "hue": [
48
+ -0.05,
49
+ 0.05
50
+ ]
51
+ }
52
+ },
53
+ "sharpness": {
54
+ "weight": 1.0,
55
+ "type": "SharpnessJitter",
56
+ "kwargs": {
57
+ "sharpness": [
58
+ 0.5,
59
+ 1.5
60
+ ]
61
+ }
62
+ },
63
+ "affine": {
64
+ "weight": 1.0,
65
+ "type": "RandomAffine",
66
+ "kwargs": {
67
+ "degrees": [
68
+ -5.0,
69
+ 5.0
70
+ ],
71
+ "translate": [
72
+ 0.05,
73
+ 0.05
74
+ ]
75
+ }
76
+ }
77
+ }
78
+ },
79
+ "revision": null,
80
+ "use_imagenet_stats": true,
81
+ "video_backend": "pyav",
82
+ "return_uint8": false,
83
+ "depth_output_unit": "mm",
84
+ "streaming": false,
85
+ "eval_split": 0.0
86
+ },
87
+ "env": null,
88
+ "policy": {
89
+ "type": "pi05",
90
+ "n_obs_steps": 1,
91
+ "input_features": {
92
+ "observation.images.base_0_rgb": {
93
+ "type": "VISUAL",
94
+ "shape": [
95
+ 3,
96
+ 224,
97
+ 224
98
+ ]
99
+ },
100
+ "observation.images.left_wrist_0_rgb": {
101
+ "type": "VISUAL",
102
+ "shape": [
103
+ 3,
104
+ 224,
105
+ 224
106
+ ]
107
+ },
108
+ "observation.images.right_wrist_0_rgb": {
109
+ "type": "VISUAL",
110
+ "shape": [
111
+ 3,
112
+ 224,
113
+ 224
114
+ ]
115
+ },
116
+ "observation.state": {
117
+ "type": "STATE",
118
+ "shape": [
119
+ 32
120
+ ]
121
+ }
122
+ },
123
+ "output_features": {
124
+ "action": {
125
+ "type": "ACTION",
126
+ "shape": [
127
+ 8
128
+ ]
129
+ }
130
+ },
131
+ "device": "cuda",
132
+ "use_amp": false,
133
+ "use_peft": false,
134
+ "push_to_hub": false,
135
+ "repo_id": null,
136
+ "private": null,
137
+ "tags": null,
138
+ "license": null,
139
+ "pretrained_path": "/workspace/yangtong/gq/WorkSpace/EBiM/outputs/pi05_continue_0814/checkpoints/020000/pretrained_model",
140
+ "pretrained_revision": null,
141
+ "paligemma_variant": "gemma_2b",
142
+ "action_expert_variant": "gemma_300m",
143
+ "dtype": "bfloat16",
144
+ "chunk_size": 50,
145
+ "n_action_steps": 50,
146
+ "max_state_dim": 32,
147
+ "max_action_dim": 32,
148
+ "num_inference_steps": 10,
149
+ "time_sampling_beta_alpha": 1.5,
150
+ "time_sampling_beta_beta": 1.0,
151
+ "time_sampling_scale": 0.999,
152
+ "time_sampling_offset": 0.001,
153
+ "min_period": 0.004,
154
+ "max_period": 4.0,
155
+ "use_relative_actions": false,
156
+ "relative_exclude_joints": [
157
+ "gripper"
158
+ ],
159
+ "action_feature_names": [
160
+ "right_fr3v2_joint1.target",
161
+ "right_fr3v2_joint2.target",
162
+ "right_fr3v2_joint3.target",
163
+ "right_fr3v2_joint4.target",
164
+ "right_fr3v2_joint5.target",
165
+ "right_fr3v2_joint6.target",
166
+ "right_fr3v2_joint7.target",
167
+ "right_gripper.open_fraction.target"
168
+ ],
169
+ "rtc_config": null,
170
+ "image_resolution": [
171
+ 224,
172
+ 224
173
+ ],
174
+ "empty_cameras": 0,
175
+ "tokenizer_max_length": 200,
176
+ "normalization_mapping": {
177
+ "VISUAL": "IDENTITY",
178
+ "STATE": "QUANTILES",
179
+ "ACTION": "QUANTILES"
180
+ },
181
+ "gradient_checkpointing": true,
182
+ "compile_model": false,
183
+ "compile_mode": "max-autotune",
184
+ "freeze_vision_encoder": false,
185
+ "train_expert_only": false,
186
+ "optimizer_lr": 2.5e-05,
187
+ "optimizer_betas": [
188
+ 0.9,
189
+ 0.95
190
+ ],
191
+ "optimizer_eps": 1e-08,
192
+ "optimizer_weight_decay": 0.01,
193
+ "optimizer_grad_clip_norm": 1.0,
194
+ "scheduler_warmup_steps": 1000,
195
+ "scheduler_decay_steps": 30000,
196
+ "scheduler_decay_lr": 2.5e-06
197
+ },
198
+ "reward_model": null,
199
+ "output_dir": "/workspace/yangtong/gq/WorkSpace/EBiM/outputs/pi05_final_0815",
200
+ "job_name": "pi05_final_0815",
201
+ "resume": false,
202
+ "seed": 1000,
203
+ "cudnn_deterministic": false,
204
+ "num_workers": 8,
205
+ "batch_size": 32,
206
+ "prefetch_factor": 4,
207
+ "persistent_workers": true,
208
+ "dataloader_multiprocessing_context": "spawn",
209
+ "steps": 15000,
210
+ "env_eval_freq": 0,
211
+ "log_freq": 100,
212
+ "eval_steps": 0,
213
+ "max_eval_samples": 0,
214
+ "tolerance_s": 0.0001,
215
+ "save_checkpoint": true,
216
+ "save_freq": 3000,
217
+ "checkpoint_format": "safetensors",
218
+ "use_policy_training_preset": true,
219
+ "optimizer": {
220
+ "type": "adamw",
221
+ "lr": 2.5e-05,
222
+ "weight_decay": 0.01,
223
+ "grad_clip_norm": 1.0,
224
+ "betas": [
225
+ 0.9,
226
+ 0.95
227
+ ],
228
+ "eps": 1e-08
229
+ },
230
+ "scheduler": {
231
+ "type": "cosine_decay_with_warmup",
232
+ "num_warmup_steps": 1000,
233
+ "num_decay_steps": 30000,
234
+ "peak_lr": 2.5e-05,
235
+ "decay_lr": 2.5e-06
236
+ },
237
+ "parallelism": {
238
+ "dp_replicate": 56,
239
+ "dp_shard": 1,
240
+ "context_parallel": {
241
+ "ring_degree": 1,
242
+ "ulysses_degree": 1
243
+ },
244
+ "cfg_parallel": 1
245
+ },
246
+ "accelerator": {
247
+ "mixed_precision": "no",
248
+ "gradient_accumulation": {
249
+ "steps": 1
250
+ },
251
+ "fsdp": {
252
+ "reshard_after_forward": true,
253
+ "wrap_modules": null,
254
+ "min_num_params": null,
255
+ "cpu_offload": false,
256
+ "ignored_modules": null
257
+ },
258
+ "ddp": {
259
+ "find_unused_parameters": true,
260
+ "gradient_as_bucket_view": false,
261
+ "static_graph": false
262
+ },
263
+ "compile": {
264
+ "enabled": false,
265
+ "backend": "inductor",
266
+ "mode": null,
267
+ "regional": true
268
+ },
269
+ "activation_checkpointing": {
270
+ "mode": "none"
271
+ }
272
+ },
273
+ "eval": {
274
+ "n_episodes": 50,
275
+ "batch_size": 50,
276
+ "use_async_envs": true,
277
+ "recording": false,
278
+ "recording_repo_id": null,
279
+ "recording_private": false
280
+ },
281
+ "ema": {
282
+ "enable": true,
283
+ "decay": 0.99,
284
+ "update_after_step": 0,
285
+ "inv_gamma": 1.0,
286
+ "power": 0.75,
287
+ "min_decay": 0.0,
288
+ "max_decay": 0.9999,
289
+ "use_for_eval": true
290
+ },
291
+ "wandb": {
292
+ "enable": false,
293
+ "disable_artifact": false,
294
+ "project": "lerobot",
295
+ "entity": null,
296
+ "notes": null,
297
+ "run_id": null,
298
+ "mode": null,
299
+ "add_tags": true
300
+ },
301
+ "peft": null,
302
+ "job": {
303
+ "target": null,
304
+ "image": "huggingface/lerobot-gpu:latest",
305
+ "timeout": "2d",
306
+ "detach": false,
307
+ "tags": []
308
+ },
309
+ "save_checkpoint_to_hub": false,
310
+ "sample_weighting": null,
311
+ "rename_map": {
312
+ "observation.images.head": "observation.images.base_0_rgb",
313
+ "observation.images.wrist_right": "observation.images.right_wrist_0_rgb"
314
+ },
315
+ "checkpoint_path": null
316
+ }