RzZ commited on
Commit
245a34a
·
verified ·
1 Parent(s): cbc83d0

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 26
9
+ ]
10
+ },
11
+ "observation.images.left_camera": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 256,
16
+ 256
17
+ ]
18
+ },
19
+ "observation.images.center_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 256,
24
+ 256
25
+ ]
26
+ },
27
+ "observation.images.right_camera": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 256,
32
+ 256
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": true,
48
+ "repo_id": "RzZ/tpolicy2",
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": 24,
57
+ "n_action_steps": 20,
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": true,
68
+ "relative_exclude_joints": [
69
+ "gripper"
70
+ ],
71
+ "action_feature_names": [
72
+ "position.x",
73
+ "position.y",
74
+ "position.z",
75
+ "orientation.x",
76
+ "orientation.y",
77
+ "orientation.z",
78
+ "orientation.w"
79
+ ],
80
+ "rtc_config": null,
81
+ "image_resolution": [
82
+ 224,
83
+ 224
84
+ ],
85
+ "empty_cameras": 0,
86
+ "tokenizer_max_length": 200,
87
+ "normalization_mapping": {
88
+ "VISUAL": "IDENTITY",
89
+ "STATE": "QUANTILES",
90
+ "ACTION": "QUANTILES"
91
+ },
92
+ "gradient_checkpointing": true,
93
+ "compile_model": true,
94
+ "compile_mode": "max-autotune-no-cudagraphs",
95
+ "freeze_vision_encoder": true,
96
+ "train_expert_only": true,
97
+ "optimizer_lr": 2.5e-05,
98
+ "optimizer_betas": [
99
+ 0.9,
100
+ 0.95
101
+ ],
102
+ "optimizer_eps": 1e-08,
103
+ "optimizer_weight_decay": 0.01,
104
+ "optimizer_grad_clip_norm": 1.0,
105
+ "scheduler_warmup_steps": 1000,
106
+ "scheduler_decay_steps": 30000,
107
+ "scheduler_decay_lr": 2.5e-06
108
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f922e8cc3484eb0206594f4c08414a934efa83ab87371933c38381ca751d4a76
3
+ size 9354050752
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
+ 7
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": "absolute_actions_processor",
26
+ "config": {
27
+ "enabled": true
28
+ }
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:0f64882466e20fa0c455410db0b595af3b9026e3f6f46e8a6cf4afc1d3fa331e
3
+ size 9572
policy_preprocessor.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "delta_actions_processor",
16
+ "config": {
17
+ "enabled": true,
18
+ "exclude_joints": [
19
+ "gripper"
20
+ ],
21
+ "action_names": [
22
+ "position.x",
23
+ "position.y",
24
+ "position.z",
25
+ "orientation.x",
26
+ "orientation.y",
27
+ "orientation.z",
28
+ "orientation.w"
29
+ ],
30
+ "convert_relative_quat_to_rotvec": true
31
+ }
32
+ },
33
+ {
34
+ "registry_name": "normalizer_processor",
35
+ "config": {
36
+ "eps": 1e-08,
37
+ "features": {
38
+ "observation.state": {
39
+ "type": "STATE",
40
+ "shape": [
41
+ 26
42
+ ]
43
+ },
44
+ "observation.images.left_camera": {
45
+ "type": "VISUAL",
46
+ "shape": [
47
+ 3,
48
+ 256,
49
+ 256
50
+ ]
51
+ },
52
+ "observation.images.center_camera": {
53
+ "type": "VISUAL",
54
+ "shape": [
55
+ 3,
56
+ 256,
57
+ 256
58
+ ]
59
+ },
60
+ "observation.images.right_camera": {
61
+ "type": "VISUAL",
62
+ "shape": [
63
+ 3,
64
+ 256,
65
+ 256
66
+ ]
67
+ },
68
+ "action": {
69
+ "type": "ACTION",
70
+ "shape": [
71
+ 7
72
+ ]
73
+ }
74
+ },
75
+ "norm_map": {
76
+ "VISUAL": "IDENTITY",
77
+ "STATE": "QUANTILES",
78
+ "ACTION": "QUANTILES"
79
+ }
80
+ },
81
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
82
+ },
83
+ {
84
+ "registry_name": "pi05_prepare_state_tokenizer_processor_step",
85
+ "config": {}
86
+ },
87
+ {
88
+ "registry_name": "tokenizer_processor",
89
+ "config": {
90
+ "max_length": 200,
91
+ "task_key": "task",
92
+ "padding_side": "right",
93
+ "padding": "max_length",
94
+ "truncation": true,
95
+ "tokenizer_name": "google/paligemma-3b-pt-224"
96
+ }
97
+ },
98
+ {
99
+ "registry_name": "device_processor",
100
+ "config": {
101
+ "device": "cuda",
102
+ "float_dtype": null
103
+ }
104
+ }
105
+ ]
106
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f64882466e20fa0c455410db0b595af3b9026e3f6f46e8a6cf4afc1d3fa331e
3
+ size 9572
train_config.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "RzZ/t1-v5",
4
+ "root": "",
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
+ 26
91
+ ]
92
+ },
93
+ "observation.images.left_camera": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 256,
98
+ 256
99
+ ]
100
+ },
101
+ "observation.images.center_camera": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 256,
106
+ 256
107
+ ]
108
+ },
109
+ "observation.images.right_camera": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 256,
114
+ 256
115
+ ]
116
+ }
117
+ },
118
+ "output_features": {
119
+ "action": {
120
+ "type": "ACTION",
121
+ "shape": [
122
+ 7
123
+ ]
124
+ }
125
+ },
126
+ "device": "cuda",
127
+ "use_amp": false,
128
+ "use_peft": false,
129
+ "push_to_hub": true,
130
+ "repo_id": "RzZ/tpolicy2",
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": 24,
139
+ "n_action_steps": 20,
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": true,
150
+ "relative_exclude_joints": [
151
+ "gripper"
152
+ ],
153
+ "action_feature_names": [
154
+ "position.x",
155
+ "position.y",
156
+ "position.z",
157
+ "orientation.x",
158
+ "orientation.y",
159
+ "orientation.z",
160
+ "orientation.w"
161
+ ],
162
+ "rtc_config": null,
163
+ "image_resolution": [
164
+ 224,
165
+ 224
166
+ ],
167
+ "empty_cameras": 0,
168
+ "tokenizer_max_length": 200,
169
+ "normalization_mapping": {
170
+ "VISUAL": "IDENTITY",
171
+ "STATE": "QUANTILES",
172
+ "ACTION": "QUANTILES"
173
+ },
174
+ "gradient_checkpointing": true,
175
+ "compile_model": true,
176
+ "compile_mode": "max-autotune-no-cudagraphs",
177
+ "freeze_vision_encoder": true,
178
+ "train_expert_only": true,
179
+ "optimizer_lr": 2.5e-05,
180
+ "optimizer_betas": [
181
+ 0.9,
182
+ 0.95
183
+ ],
184
+ "optimizer_eps": 1e-08,
185
+ "optimizer_weight_decay": 0.01,
186
+ "optimizer_grad_clip_norm": 1.0,
187
+ "scheduler_warmup_steps": 1000,
188
+ "scheduler_decay_steps": 30000,
189
+ "scheduler_decay_lr": 2.5e-06
190
+ },
191
+ "output_dir": "/lerobot/pi05-checkpoint-relative",
192
+ "job_name": "pi05_training",
193
+ "resume": false,
194
+ "seed": 1000,
195
+ "cudnn_deterministic": false,
196
+ "num_workers": 4,
197
+ "batch_size": 16,
198
+ "steps": 8000,
199
+ "eval_freq": 20000,
200
+ "log_freq": 50,
201
+ "tolerance_s": 0.0001,
202
+ "save_checkpoint": true,
203
+ "save_freq": 4000,
204
+ "use_policy_training_preset": true,
205
+ "optimizer": {
206
+ "type": "adamw",
207
+ "lr": 2.5e-05,
208
+ "weight_decay": 0.01,
209
+ "grad_clip_norm": 1.0,
210
+ "betas": [
211
+ 0.9,
212
+ 0.95
213
+ ],
214
+ "eps": 1e-08
215
+ },
216
+ "scheduler": {
217
+ "type": "cosine_decay_with_warmup",
218
+ "num_warmup_steps": 1000,
219
+ "num_decay_steps": 30000,
220
+ "peak_lr": 2.5e-05,
221
+ "decay_lr": 2.5e-06
222
+ },
223
+ "eval": {
224
+ "n_episodes": 50,
225
+ "batch_size": 50,
226
+ "use_async_envs": false
227
+ },
228
+ "wandb": {
229
+ "enable": true,
230
+ "disable_artifact": true,
231
+ "project": "lerobot",
232
+ "entity": null,
233
+ "notes": null,
234
+ "run_id": "i05jmokz",
235
+ "mode": null,
236
+ "add_tags": true
237
+ },
238
+ "peft": null,
239
+ "use_rabc": false,
240
+ "rabc_progress_path": null,
241
+ "rabc_kappa": 0.01,
242
+ "rabc_epsilon": 1e-06,
243
+ "rabc_head_mode": "sparse",
244
+ "rename_map": {},
245
+ "checkpoint_path": null
246
+ }