TreeePlanter commited on
Commit
cbb0d3f
·
verified ·
1 Parent(s): 2b30e35

Upload ckpt

Browse files
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 14
9
+ ]
10
+ },
11
+ "observation.images.left": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 360,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.right": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 360,
24
+ 640
25
+ ]
26
+ },
27
+ "observation.images.top": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 360,
32
+ 640
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 14
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "push_to_hub": true,
47
+ "repo_id": "TreeePlanter/ma2_fold",
48
+ "private": null,
49
+ "tags": null,
50
+ "license": null,
51
+ "pretrained_path": null,
52
+ "horizon": 16,
53
+ "n_action_steps": 8,
54
+ "normalization_mapping": {
55
+ "VISUAL": "MEAN_STD",
56
+ "STATE": "MIN_MAX",
57
+ "ACTION": "MIN_MAX"
58
+ },
59
+ "drop_n_last_frames": 7,
60
+ "vision_backbone": "resnet18",
61
+ "crop_shape": [
62
+ 224,
63
+ 400
64
+ ],
65
+ "crop_is_random": true,
66
+ "pretrained_backbone_weights": null,
67
+ "use_group_norm": true,
68
+ "spatial_softmax_num_keypoints": 32,
69
+ "use_separate_rgb_encoder_per_camera": false,
70
+ "down_dims": [
71
+ 512,
72
+ 1024,
73
+ 2048
74
+ ],
75
+ "kernel_size": 5,
76
+ "n_groups": 8,
77
+ "diffusion_step_embed_dim": 128,
78
+ "use_film_scale_modulation": true,
79
+ "noise_scheduler_type": "DDPM",
80
+ "num_train_timesteps": 100,
81
+ "beta_schedule": "squaredcos_cap_v2",
82
+ "beta_start": 0.0001,
83
+ "beta_end": 0.02,
84
+ "prediction_type": "epsilon",
85
+ "clip_sample": true,
86
+ "clip_sample_range": 1.0,
87
+ "num_inference_steps": null,
88
+ "do_mask_loss_for_padding": false,
89
+ "optimizer_lr": 0.0001,
90
+ "optimizer_betas": [
91
+ 0.95,
92
+ 0.999
93
+ ],
94
+ "optimizer_eps": 1e-08,
95
+ "optimizer_weight_decay": 1e-06,
96
+ "scheduler_name": "cosine",
97
+ "scheduler_warmup_steps": 500
98
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2715a9fbc9f3257b219dcc604ef3939c1b8e2daeda0612baa26c732042b713
3
+ size 1083146840
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
+ 14
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "MEAN_STD",
18
+ "STATE": "MIN_MAX",
19
+ "ACTION": "MIN_MAX"
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:6801a7e21833d1434c0ff4a6368d1d615fb44ffdb73785f1dbacda8d2f0cfc7d
3
+ size 9168
policy_preprocessor.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "device_processor",
16
+ "config": {
17
+ "device": "cuda",
18
+ "float_dtype": null
19
+ }
20
+ },
21
+ {
22
+ "registry_name": "normalizer_processor",
23
+ "config": {
24
+ "eps": 1e-08,
25
+ "features": {
26
+ "observation.state": {
27
+ "type": "STATE",
28
+ "shape": [
29
+ 14
30
+ ]
31
+ },
32
+ "observation.images.left": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 360,
37
+ 640
38
+ ]
39
+ },
40
+ "observation.images.right": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 360,
45
+ 640
46
+ ]
47
+ },
48
+ "observation.images.top": {
49
+ "type": "VISUAL",
50
+ "shape": [
51
+ 3,
52
+ 360,
53
+ 640
54
+ ]
55
+ },
56
+ "action": {
57
+ "type": "ACTION",
58
+ "shape": [
59
+ 14
60
+ ]
61
+ }
62
+ },
63
+ "norm_map": {
64
+ "VISUAL": "MEAN_STD",
65
+ "STATE": "MIN_MAX",
66
+ "ACTION": "MIN_MAX"
67
+ }
68
+ },
69
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
70
+ }
71
+ ]
72
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6801a7e21833d1434c0ff4a6368d1d615fb44ffdb73785f1dbacda8d2f0cfc7d
3
+ size 9168
train_config.json ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "/weka/oe-training-default/shuol/ma_v2_fold",
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": "diffusion",
85
+ "n_obs_steps": 2,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 14
91
+ ]
92
+ },
93
+ "observation.images.left": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 360,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.right": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 360,
106
+ 640
107
+ ]
108
+ },
109
+ "observation.images.top": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 360,
114
+ 640
115
+ ]
116
+ }
117
+ },
118
+ "output_features": {
119
+ "action": {
120
+ "type": "ACTION",
121
+ "shape": [
122
+ 14
123
+ ]
124
+ }
125
+ },
126
+ "device": "cuda",
127
+ "use_amp": false,
128
+ "push_to_hub": true,
129
+ "repo_id": "TreeePlanter/ma2_fold",
130
+ "private": null,
131
+ "tags": null,
132
+ "license": null,
133
+ "pretrained_path": null,
134
+ "horizon": 16,
135
+ "n_action_steps": 8,
136
+ "normalization_mapping": {
137
+ "VISUAL": "MEAN_STD",
138
+ "STATE": "MIN_MAX",
139
+ "ACTION": "MIN_MAX"
140
+ },
141
+ "drop_n_last_frames": 7,
142
+ "vision_backbone": "resnet18",
143
+ "crop_shape": [
144
+ 224,
145
+ 400
146
+ ],
147
+ "crop_is_random": true,
148
+ "pretrained_backbone_weights": null,
149
+ "use_group_norm": true,
150
+ "spatial_softmax_num_keypoints": 32,
151
+ "use_separate_rgb_encoder_per_camera": false,
152
+ "down_dims": [
153
+ 512,
154
+ 1024,
155
+ 2048
156
+ ],
157
+ "kernel_size": 5,
158
+ "n_groups": 8,
159
+ "diffusion_step_embed_dim": 128,
160
+ "use_film_scale_modulation": true,
161
+ "noise_scheduler_type": "DDPM",
162
+ "num_train_timesteps": 100,
163
+ "beta_schedule": "squaredcos_cap_v2",
164
+ "beta_start": 0.0001,
165
+ "beta_end": 0.02,
166
+ "prediction_type": "epsilon",
167
+ "clip_sample": true,
168
+ "clip_sample_range": 1.0,
169
+ "num_inference_steps": null,
170
+ "do_mask_loss_for_padding": false,
171
+ "optimizer_lr": 0.0001,
172
+ "optimizer_betas": [
173
+ 0.95,
174
+ 0.999
175
+ ],
176
+ "optimizer_eps": 1e-08,
177
+ "optimizer_weight_decay": 1e-06,
178
+ "scheduler_name": "cosine",
179
+ "scheduler_warmup_steps": 500
180
+ },
181
+ "output_dir": "outputs/train/2025-11-26/05-22-37_diffusion",
182
+ "job_name": "diffusion",
183
+ "resume": false,
184
+ "seed": 1000,
185
+ "num_workers": 4,
186
+ "batch_size": 32,
187
+ "steps": 120000,
188
+ "eval_freq": 20000,
189
+ "log_freq": 200,
190
+ "save_checkpoint": true,
191
+ "save_freq": 20000,
192
+ "use_policy_training_preset": true,
193
+ "optimizer": {
194
+ "type": "adam",
195
+ "lr": 0.0001,
196
+ "weight_decay": 1e-06,
197
+ "grad_clip_norm": 10.0,
198
+ "betas": [
199
+ 0.95,
200
+ 0.999
201
+ ],
202
+ "eps": 1e-08
203
+ },
204
+ "scheduler": {
205
+ "type": "diffuser",
206
+ "num_warmup_steps": 500,
207
+ "name": "cosine"
208
+ },
209
+ "eval": {
210
+ "n_episodes": 50,
211
+ "batch_size": 50,
212
+ "use_async_envs": false
213
+ },
214
+ "wandb": {
215
+ "enable": true,
216
+ "disable_artifact": false,
217
+ "project": "lerobot",
218
+ "entity": null,
219
+ "notes": null,
220
+ "run_id": "xw15p4pv",
221
+ "mode": null
222
+ },
223
+ "checkpoint_path": null,
224
+ "rename_map": {}
225
+ }