Zasha01 commited on
Commit
2cd4d3e
·
verified ·
1 Parent(s): 1ef6f98

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 14
9
+ ]
10
+ },
11
+ "observation.state_ee": {
12
+ "type": "STATE",
13
+ "shape": [
14
+ 20
15
+ ]
16
+ },
17
+ "observation.images.wrist_left": {
18
+ "type": "VISUAL",
19
+ "shape": [
20
+ 480,
21
+ 640,
22
+ 3
23
+ ]
24
+ },
25
+ "observation.images.wrist_right": {
26
+ "type": "VISUAL",
27
+ "shape": [
28
+ 480,
29
+ 640,
30
+ 3
31
+ ]
32
+ },
33
+ "observation.images.top": {
34
+ "type": "VISUAL",
35
+ "shape": [
36
+ 480,
37
+ 640,
38
+ 3
39
+ ]
40
+ }
41
+ },
42
+ "output_features": {
43
+ "action": {
44
+ "type": "ACTION",
45
+ "shape": [
46
+ 14
47
+ ]
48
+ },
49
+ "action_ee": {
50
+ "type": "ACTION",
51
+ "shape": [
52
+ 20
53
+ ]
54
+ }
55
+ },
56
+ "device": "cuda",
57
+ "use_amp": false,
58
+ "use_peft": false,
59
+ "push_to_hub": true,
60
+ "repo_id": "Zasha01/yam_wire_policy_pi",
61
+ "private": null,
62
+ "tags": null,
63
+ "license": null,
64
+ "pretrained_path": "lerobot/pi05_base",
65
+ "paligemma_variant": "gemma_2b",
66
+ "action_expert_variant": "gemma_300m",
67
+ "dtype": "bfloat16",
68
+ "chunk_size": 50,
69
+ "n_action_steps": 50,
70
+ "max_state_dim": 32,
71
+ "max_action_dim": 32,
72
+ "num_inference_steps": 10,
73
+ "time_sampling_beta_alpha": 1.5,
74
+ "time_sampling_beta_beta": 1.0,
75
+ "time_sampling_scale": 0.999,
76
+ "time_sampling_offset": 0.001,
77
+ "min_period": 0.004,
78
+ "max_period": 4.0,
79
+ "rtc_config": null,
80
+ "image_resolution": [
81
+ 224,
82
+ 224
83
+ ],
84
+ "empty_cameras": 0,
85
+ "tokenizer_max_length": 200,
86
+ "normalization_mapping": {
87
+ "VISUAL": "IDENTITY",
88
+ "STATE": "QUANTILES",
89
+ "ACTION": "QUANTILES"
90
+ },
91
+ "gradient_checkpointing": true,
92
+ "compile_model": true,
93
+ "compile_mode": "max-autotune",
94
+ "freeze_vision_encoder": false,
95
+ "train_expert_only": false,
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
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b0aefb7e2603989cdf33b56d6342d77bfe1e01dbacc558e2f873da7854e9d1a
3
+ size 7473096344
policy_postprocessor.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 14
13
+ ]
14
+ },
15
+ "action_ee": {
16
+ "type": "ACTION",
17
+ "shape": [
18
+ 20
19
+ ]
20
+ }
21
+ },
22
+ "norm_map": {
23
+ "VISUAL": "IDENTITY",
24
+ "STATE": "QUANTILES",
25
+ "ACTION": "QUANTILES"
26
+ }
27
+ },
28
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
29
+ },
30
+ {
31
+ "registry_name": "device_processor",
32
+ "config": {
33
+ "device": "cpu",
34
+ "float_dtype": null
35
+ }
36
+ }
37
+ ]
38
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbab903f67879cc877c3d77a52dac9725d5398c491a4b556b8408c468094f713
3
+ size 12400
policy_preprocessor.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "normalizer_processor",
16
+ "config": {
17
+ "eps": 1e-08,
18
+ "features": {
19
+ "observation.state": {
20
+ "type": "STATE",
21
+ "shape": [
22
+ 14
23
+ ]
24
+ },
25
+ "observation.state_ee": {
26
+ "type": "STATE",
27
+ "shape": [
28
+ 20
29
+ ]
30
+ },
31
+ "observation.images.wrist_left": {
32
+ "type": "VISUAL",
33
+ "shape": [
34
+ 480,
35
+ 640,
36
+ 3
37
+ ]
38
+ },
39
+ "observation.images.wrist_right": {
40
+ "type": "VISUAL",
41
+ "shape": [
42
+ 480,
43
+ 640,
44
+ 3
45
+ ]
46
+ },
47
+ "observation.images.top": {
48
+ "type": "VISUAL",
49
+ "shape": [
50
+ 480,
51
+ 640,
52
+ 3
53
+ ]
54
+ },
55
+ "action": {
56
+ "type": "ACTION",
57
+ "shape": [
58
+ 14
59
+ ]
60
+ },
61
+ "action_ee": {
62
+ "type": "ACTION",
63
+ "shape": [
64
+ 20
65
+ ]
66
+ }
67
+ },
68
+ "norm_map": {
69
+ "VISUAL": "IDENTITY",
70
+ "STATE": "QUANTILES",
71
+ "ACTION": "QUANTILES"
72
+ }
73
+ },
74
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
75
+ },
76
+ {
77
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
78
+ "config": {}
79
+ },
80
+ {
81
+ "registry_name": "tokenizer_processor",
82
+ "config": {
83
+ "max_length": 200,
84
+ "task_key": "task",
85
+ "padding_side": "right",
86
+ "padding": "max_length",
87
+ "truncation": true,
88
+ "tokenizer_name": "google/paligemma-3b-pt-224"
89
+ }
90
+ },
91
+ {
92
+ "registry_name": "device_processor",
93
+ "config": {
94
+ "device": "cuda",
95
+ "float_dtype": null
96
+ }
97
+ }
98
+ ]
99
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbab903f67879cc877c3d77a52dac9725d5398c491a4b556b8408c468094f713
3
+ size 12400
train_config.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Zasha01/yam_wire",
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": "pi05",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 14
91
+ ]
92
+ },
93
+ "observation.state_ee": {
94
+ "type": "STATE",
95
+ "shape": [
96
+ 20
97
+ ]
98
+ },
99
+ "observation.images.wrist_left": {
100
+ "type": "VISUAL",
101
+ "shape": [
102
+ 480,
103
+ 640,
104
+ 3
105
+ ]
106
+ },
107
+ "observation.images.wrist_right": {
108
+ "type": "VISUAL",
109
+ "shape": [
110
+ 480,
111
+ 640,
112
+ 3
113
+ ]
114
+ },
115
+ "observation.images.top": {
116
+ "type": "VISUAL",
117
+ "shape": [
118
+ 480,
119
+ 640,
120
+ 3
121
+ ]
122
+ }
123
+ },
124
+ "output_features": {
125
+ "action": {
126
+ "type": "ACTION",
127
+ "shape": [
128
+ 14
129
+ ]
130
+ },
131
+ "action_ee": {
132
+ "type": "ACTION",
133
+ "shape": [
134
+ 20
135
+ ]
136
+ }
137
+ },
138
+ "device": "cuda",
139
+ "use_amp": false,
140
+ "use_peft": false,
141
+ "push_to_hub": true,
142
+ "repo_id": "Zasha01/yam_wire_policy_pi",
143
+ "private": null,
144
+ "tags": null,
145
+ "license": null,
146
+ "pretrained_path": "lerobot/pi05_base",
147
+ "paligemma_variant": "gemma_2b",
148
+ "action_expert_variant": "gemma_300m",
149
+ "dtype": "bfloat16",
150
+ "chunk_size": 50,
151
+ "n_action_steps": 50,
152
+ "max_state_dim": 32,
153
+ "max_action_dim": 32,
154
+ "num_inference_steps": 10,
155
+ "time_sampling_beta_alpha": 1.5,
156
+ "time_sampling_beta_beta": 1.0,
157
+ "time_sampling_scale": 0.999,
158
+ "time_sampling_offset": 0.001,
159
+ "min_period": 0.004,
160
+ "max_period": 4.0,
161
+ "rtc_config": null,
162
+ "image_resolution": [
163
+ 224,
164
+ 224
165
+ ],
166
+ "empty_cameras": 0,
167
+ "tokenizer_max_length": 200,
168
+ "normalization_mapping": {
169
+ "VISUAL": "IDENTITY",
170
+ "STATE": "QUANTILES",
171
+ "ACTION": "QUANTILES"
172
+ },
173
+ "gradient_checkpointing": true,
174
+ "compile_model": true,
175
+ "compile_mode": "max-autotune",
176
+ "freeze_vision_encoder": false,
177
+ "train_expert_only": false,
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
+ },
190
+ "output_dir": "outputs/pi05_training",
191
+ "job_name": "pi05_training",
192
+ "resume": false,
193
+ "seed": 1000,
194
+ "num_workers": 4,
195
+ "batch_size": 16,
196
+ "steps": 20000,
197
+ "eval_freq": 20000,
198
+ "log_freq": 200,
199
+ "tolerance_s": 0.0001,
200
+ "save_checkpoint": true,
201
+ "save_freq": 3000,
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": "r4y150ya",
233
+ "mode": null
234
+ },
235
+ "peft": null,
236
+ "use_rabc": false,
237
+ "rabc_progress_path": null,
238
+ "rabc_kappa": 0.01,
239
+ "rabc_epsilon": 1e-06,
240
+ "rabc_head_mode": "sparse",
241
+ "rename_map": {},
242
+ "checkpoint_path": null
243
+ }