Keito-Sonehara commited on
Commit
f178aef
·
verified ·
1 Parent(s): 3a61201

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
+ 28
9
+ ]
10
+ },
11
+ "observation.images.cam_left_high": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.cam_left_wrist": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
+ ]
26
+ },
27
+ "observation.images.cam_right_wrist": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 480,
32
+ 640
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 28
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "push_to_hub": false,
47
+ "repo_id": null,
48
+ "private": null,
49
+ "tags": null,
50
+ "license": null,
51
+ "pretrained_path": null,
52
+ "paligemma_variant": "gemma_2b",
53
+ "action_expert_variant": "gemma_300m",
54
+ "dtype": "bfloat16",
55
+ "chunk_size": 50,
56
+ "n_action_steps": 50,
57
+ "max_state_dim": 32,
58
+ "max_action_dim": 32,
59
+ "num_inference_steps": 10,
60
+ "time_sampling_beta_alpha": 1.5,
61
+ "time_sampling_beta_beta": 1.0,
62
+ "time_sampling_scale": 0.999,
63
+ "time_sampling_offset": 0.001,
64
+ "min_period": 0.004,
65
+ "max_period": 4.0,
66
+ "image_resolution": [
67
+ 224,
68
+ 224
69
+ ],
70
+ "empty_cameras": 0,
71
+ "normalization_mapping": {
72
+ "VISUAL": "IDENTITY",
73
+ "STATE": "MEAN_STD",
74
+ "ACTION": "MEAN_STD"
75
+ },
76
+ "gradient_checkpointing": true,
77
+ "compile_model": false,
78
+ "compile_mode": "max-autotune",
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:2fa2f3e0edd8f5b046fb4dc72a476811ebd7db05996be4f045db5e0fc0f94082
3
+ size 7011548640
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
+ 28
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": "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:58062178357185b545d687a1d790d0d71638e592cc7999813019ad89eb40cdf3
3
+ size 10600
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": "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": "normalizer_processor",
38
+ "config": {
39
+ "eps": 1e-08,
40
+ "features": {
41
+ "observation.state": {
42
+ "type": "STATE",
43
+ "shape": [
44
+ 28
45
+ ]
46
+ },
47
+ "observation.images.cam_left_high": {
48
+ "type": "VISUAL",
49
+ "shape": [
50
+ 3,
51
+ 480,
52
+ 640
53
+ ]
54
+ },
55
+ "observation.images.cam_left_wrist": {
56
+ "type": "VISUAL",
57
+ "shape": [
58
+ 3,
59
+ 480,
60
+ 640
61
+ ]
62
+ },
63
+ "observation.images.cam_right_wrist": {
64
+ "type": "VISUAL",
65
+ "shape": [
66
+ 3,
67
+ 480,
68
+ 640
69
+ ]
70
+ },
71
+ "action": {
72
+ "type": "ACTION",
73
+ "shape": [
74
+ 28
75
+ ]
76
+ }
77
+ },
78
+ "norm_map": {
79
+ "VISUAL": "IDENTITY",
80
+ "STATE": "MEAN_STD",
81
+ "ACTION": "MEAN_STD"
82
+ }
83
+ },
84
+ "state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
85
+ }
86
+ ]
87
+ }
policy_preprocessor_step_5_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58062178357185b545d687a1d790d0d71638e592cc7999813019ad89eb40cdf3
3
+ size 10600
train_config.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "lt-s/merged_v30_fixed",
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": "pi0",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 28
91
+ ]
92
+ },
93
+ "observation.images.cam_left_high": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.cam_left_wrist": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 480,
106
+ 640
107
+ ]
108
+ },
109
+ "observation.images.cam_right_wrist": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 480,
114
+ 640
115
+ ]
116
+ }
117
+ },
118
+ "output_features": {
119
+ "action": {
120
+ "type": "ACTION",
121
+ "shape": [
122
+ 28
123
+ ]
124
+ }
125
+ },
126
+ "device": "cuda",
127
+ "use_amp": false,
128
+ "push_to_hub": false,
129
+ "repo_id": null,
130
+ "private": null,
131
+ "tags": null,
132
+ "license": null,
133
+ "pretrained_path": null,
134
+ "paligemma_variant": "gemma_2b",
135
+ "action_expert_variant": "gemma_300m",
136
+ "dtype": "bfloat16",
137
+ "chunk_size": 50,
138
+ "n_action_steps": 50,
139
+ "max_state_dim": 32,
140
+ "max_action_dim": 32,
141
+ "num_inference_steps": 10,
142
+ "time_sampling_beta_alpha": 1.5,
143
+ "time_sampling_beta_beta": 1.0,
144
+ "time_sampling_scale": 0.999,
145
+ "time_sampling_offset": 0.001,
146
+ "min_period": 0.004,
147
+ "max_period": 4.0,
148
+ "image_resolution": [
149
+ 224,
150
+ 224
151
+ ],
152
+ "empty_cameras": 0,
153
+ "normalization_mapping": {
154
+ "VISUAL": "IDENTITY",
155
+ "STATE": "MEAN_STD",
156
+ "ACTION": "MEAN_STD"
157
+ },
158
+ "gradient_checkpointing": true,
159
+ "compile_model": false,
160
+ "compile_mode": "max-autotune",
161
+ "optimizer_lr": 2.5e-05,
162
+ "optimizer_betas": [
163
+ 0.9,
164
+ 0.95
165
+ ],
166
+ "optimizer_eps": 1e-08,
167
+ "optimizer_weight_decay": 0.01,
168
+ "optimizer_grad_clip_norm": 1.0,
169
+ "scheduler_warmup_steps": 1000,
170
+ "scheduler_decay_steps": 30000,
171
+ "scheduler_decay_lr": 2.5e-06,
172
+ "tokenizer_max_length": 48
173
+ },
174
+ "output_dir": "outputs/pi0_test_100steps",
175
+ "job_name": "pi0_test_100steps",
176
+ "resume": false,
177
+ "seed": 1000,
178
+ "num_workers": 4,
179
+ "batch_size": 8,
180
+ "steps": 100,
181
+ "eval_freq": 20000,
182
+ "log_freq": 10,
183
+ "save_checkpoint": true,
184
+ "save_freq": 20000,
185
+ "use_policy_training_preset": true,
186
+ "optimizer": {
187
+ "type": "adamw",
188
+ "lr": 2.5e-05,
189
+ "weight_decay": 0.01,
190
+ "grad_clip_norm": 1.0,
191
+ "betas": [
192
+ 0.9,
193
+ 0.95
194
+ ],
195
+ "eps": 1e-08
196
+ },
197
+ "scheduler": {
198
+ "type": "cosine_decay_with_warmup",
199
+ "num_warmup_steps": 1000,
200
+ "num_decay_steps": 30000,
201
+ "peak_lr": 2.5e-05,
202
+ "decay_lr": 2.5e-06
203
+ },
204
+ "eval": {
205
+ "n_episodes": 50,
206
+ "batch_size": 50,
207
+ "use_async_envs": false
208
+ },
209
+ "wandb": {
210
+ "enable": true,
211
+ "disable_artifact": false,
212
+ "project": "pi0-training",
213
+ "entity": null,
214
+ "notes": null,
215
+ "run_id": "fo33ybwn",
216
+ "mode": null
217
+ },
218
+ "checkpoint_path": null,
219
+ "rename_map": {}
220
+ }