try-catch commited on
Commit
605c51c
·
verified ·
1 Parent(s): e85d5a2

Upload folder using huggingface_hub

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