Renbago commited on
Commit
f317b82
·
verified ·
1 Parent(s): 751524c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 16
9
+ ]
10
+ },
11
+ "observation.images.head_left": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 720,
16
+ 1280
17
+ ]
18
+ },
19
+ "observation.images.wrist_left": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 600,
24
+ 960
25
+ ]
26
+ },
27
+ "observation.images.wrist_right": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 600,
32
+ 960
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 16
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": "lerobot/pi05_base",
53
+ "paligemma_variant": "gemma_2b",
54
+ "action_expert_variant": "gemma_300m",
55
+ "dtype": "bfloat16",
56
+ "chunk_size": 50,
57
+ "n_action_steps": 50,
58
+ "max_state_dim": 32,
59
+ "max_action_dim": 32,
60
+ "num_inference_steps": 10,
61
+ "time_sampling_beta_alpha": 1.5,
62
+ "time_sampling_beta_beta": 1.0,
63
+ "time_sampling_scale": 0.999,
64
+ "time_sampling_offset": 0.001,
65
+ "min_period": 0.004,
66
+ "max_period": 4.0,
67
+ "use_relative_actions": false,
68
+ "relative_exclude_joints": [
69
+ "gripper"
70
+ ],
71
+ "action_feature_names": [
72
+ "right_joint1.pos",
73
+ "right_joint2.pos",
74
+ "right_joint3.pos",
75
+ "right_joint4.pos",
76
+ "right_joint5.pos",
77
+ "right_joint6.pos",
78
+ "right_joint7.pos",
79
+ "right_gripper.pos",
80
+ "left_joint1.pos",
81
+ "left_joint2.pos",
82
+ "left_joint3.pos",
83
+ "left_joint4.pos",
84
+ "left_joint5.pos",
85
+ "left_joint6.pos",
86
+ "left_joint7.pos",
87
+ "left_gripper.pos"
88
+ ],
89
+ "rtc_config": null,
90
+ "image_resolution": [
91
+ 224,
92
+ 224
93
+ ],
94
+ "empty_cameras": 0,
95
+ "tokenizer_max_length": 200,
96
+ "normalization_mapping": {
97
+ "VISUAL": "IDENTITY",
98
+ "STATE": "QUANTILES",
99
+ "ACTION": "QUANTILES"
100
+ },
101
+ "gradient_checkpointing": true,
102
+ "compile_model": false,
103
+ "compile_mode": "max-autotune",
104
+ "freeze_vision_encoder": false,
105
+ "train_expert_only": true,
106
+ "optimizer_lr": 2.5e-05,
107
+ "optimizer_betas": [
108
+ 0.9,
109
+ 0.95
110
+ ],
111
+ "optimizer_eps": 1e-08,
112
+ "optimizer_weight_decay": 0.01,
113
+ "optimizer_grad_clip_norm": 1.0,
114
+ "scheduler_warmup_steps": 1000,
115
+ "scheduler_decay_steps": 30000,
116
+ "scheduler_decay_lr": 2.5e-06
117
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca2a6ff69cb0e8111b2abe5f6582ae3a49d98b41db04a12d22240626aebce130
3
+ size 9354050752
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
+ 16
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:1cd03e051f28830c8b6111cc18983a6d087fe8dd89fa9b3e5d5b262c765c0dd5
3
+ size 7916
policy_preprocessor.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 16
23
+ ]
24
+ },
25
+ "observation.images.head_left": {
26
+ "type": "VISUAL",
27
+ "shape": [
28
+ 3,
29
+ 720,
30
+ 1280
31
+ ]
32
+ },
33
+ "observation.images.wrist_left": {
34
+ "type": "VISUAL",
35
+ "shape": [
36
+ 3,
37
+ 600,
38
+ 960
39
+ ]
40
+ },
41
+ "observation.images.wrist_right": {
42
+ "type": "VISUAL",
43
+ "shape": [
44
+ 3,
45
+ 600,
46
+ 960
47
+ ]
48
+ },
49
+ "action": {
50
+ "type": "ACTION",
51
+ "shape": [
52
+ 16
53
+ ]
54
+ }
55
+ },
56
+ "norm_map": {
57
+ "VISUAL": "IDENTITY",
58
+ "STATE": "QUANTILES",
59
+ "ACTION": "QUANTILES"
60
+ }
61
+ },
62
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
63
+ },
64
+ {
65
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
66
+ "config": {}
67
+ },
68
+ {
69
+ "registry_name": "tokenizer_processor",
70
+ "config": {
71
+ "max_length": 200,
72
+ "task_key": "task",
73
+ "padding_side": "right",
74
+ "padding": "max_length",
75
+ "truncation": true,
76
+ "tokenizer_name": "google/paligemma-3b-pt-224"
77
+ }
78
+ },
79
+ {
80
+ "registry_name": "device_processor",
81
+ "config": {
82
+ "device": "cuda",
83
+ "float_dtype": null
84
+ }
85
+ }
86
+ ]
87
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cd03e051f28830c8b6111cc18983a6d087fe8dd89fa9b3e5d5b262c765c0dd5
3
+ size 7916
train_config.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "enactic/openarm-2-cell-pick_up_cube_mujoco-lerobot",
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": "pyav",
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
+ 16
91
+ ]
92
+ },
93
+ "observation.images.head_left": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 720,
98
+ 1280
99
+ ]
100
+ },
101
+ "observation.images.wrist_left": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 600,
106
+ 960
107
+ ]
108
+ },
109
+ "observation.images.wrist_right": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 600,
114
+ 960
115
+ ]
116
+ }
117
+ },
118
+ "output_features": {
119
+ "action": {
120
+ "type": "ACTION",
121
+ "shape": [
122
+ 16
123
+ ]
124
+ }
125
+ },
126
+ "device": "cuda",
127
+ "use_amp": false,
128
+ "use_peft": false,
129
+ "push_to_hub": false,
130
+ "repo_id": null,
131
+ "private": null,
132
+ "tags": null,
133
+ "license": null,
134
+ "pretrained_path": "lerobot/pi05_base",
135
+ "paligemma_variant": "gemma_2b",
136
+ "action_expert_variant": "gemma_300m",
137
+ "dtype": "bfloat16",
138
+ "chunk_size": 50,
139
+ "n_action_steps": 50,
140
+ "max_state_dim": 32,
141
+ "max_action_dim": 32,
142
+ "num_inference_steps": 10,
143
+ "time_sampling_beta_alpha": 1.5,
144
+ "time_sampling_beta_beta": 1.0,
145
+ "time_sampling_scale": 0.999,
146
+ "time_sampling_offset": 0.001,
147
+ "min_period": 0.004,
148
+ "max_period": 4.0,
149
+ "use_relative_actions": false,
150
+ "relative_exclude_joints": [
151
+ "gripper"
152
+ ],
153
+ "action_feature_names": [
154
+ "right_joint1.pos",
155
+ "right_joint2.pos",
156
+ "right_joint3.pos",
157
+ "right_joint4.pos",
158
+ "right_joint5.pos",
159
+ "right_joint6.pos",
160
+ "right_joint7.pos",
161
+ "right_gripper.pos",
162
+ "left_joint1.pos",
163
+ "left_joint2.pos",
164
+ "left_joint3.pos",
165
+ "left_joint4.pos",
166
+ "left_joint5.pos",
167
+ "left_joint6.pos",
168
+ "left_joint7.pos",
169
+ "left_gripper.pos"
170
+ ],
171
+ "rtc_config": null,
172
+ "image_resolution": [
173
+ 224,
174
+ 224
175
+ ],
176
+ "empty_cameras": 0,
177
+ "tokenizer_max_length": 200,
178
+ "normalization_mapping": {
179
+ "VISUAL": "IDENTITY",
180
+ "STATE": "QUANTILES",
181
+ "ACTION": "QUANTILES"
182
+ },
183
+ "gradient_checkpointing": true,
184
+ "compile_model": false,
185
+ "compile_mode": "max-autotune",
186
+ "freeze_vision_encoder": false,
187
+ "train_expert_only": true,
188
+ "optimizer_lr": 2.5e-05,
189
+ "optimizer_betas": [
190
+ 0.9,
191
+ 0.95
192
+ ],
193
+ "optimizer_eps": 1e-08,
194
+ "optimizer_weight_decay": 0.01,
195
+ "optimizer_grad_clip_norm": 1.0,
196
+ "scheduler_warmup_steps": 1000,
197
+ "scheduler_decay_steps": 30000,
198
+ "scheduler_decay_lr": 2.5e-06
199
+ },
200
+ "output_dir": "/content/pi05_openarm_cube",
201
+ "job_name": "pi05_openarm_cube",
202
+ "resume": false,
203
+ "seed": 1000,
204
+ "cudnn_deterministic": false,
205
+ "num_workers": 4,
206
+ "batch_size": 16,
207
+ "steps": 4000,
208
+ "eval_freq": 20000,
209
+ "log_freq": 200,
210
+ "tolerance_s": 0.0001,
211
+ "save_checkpoint": true,
212
+ "save_freq": 2000,
213
+ "use_policy_training_preset": true,
214
+ "optimizer": {
215
+ "type": "adamw",
216
+ "lr": 2.5e-05,
217
+ "weight_decay": 0.01,
218
+ "grad_clip_norm": 1.0,
219
+ "betas": [
220
+ 0.9,
221
+ 0.95
222
+ ],
223
+ "eps": 1e-08
224
+ },
225
+ "scheduler": {
226
+ "type": "cosine_decay_with_warmup",
227
+ "num_warmup_steps": 1000,
228
+ "num_decay_steps": 30000,
229
+ "peak_lr": 2.5e-05,
230
+ "decay_lr": 2.5e-06
231
+ },
232
+ "eval": {
233
+ "n_episodes": 50,
234
+ "batch_size": 50,
235
+ "use_async_envs": false
236
+ },
237
+ "wandb": {
238
+ "enable": false,
239
+ "disable_artifact": false,
240
+ "project": "lerobot",
241
+ "entity": null,
242
+ "notes": null,
243
+ "run_id": null,
244
+ "mode": null,
245
+ "add_tags": true
246
+ },
247
+ "peft": null,
248
+ "use_rabc": false,
249
+ "rabc_progress_path": null,
250
+ "rabc_kappa": 0.01,
251
+ "rabc_epsilon": 1e-06,
252
+ "rabc_head_mode": "sparse",
253
+ "rename_map": {},
254
+ "checkpoint_path": null
255
+ }