Atabaku commited on
Commit
d2ded2f
·
verified ·
1 Parent(s): 13fc51b

Upload folder using huggingface_hub

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