bananaburp commited on
Commit
25849dd
·
verified ·
1 Parent(s): c3494a7

Upload checkpoint from step 008209

Browse files
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 4,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.gripper": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 6
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": true,
30
+ "use_peft": false,
31
+ "push_to_hub": true,
32
+ "repo_id": "open-cloth/diffusion-cloth-v2",
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": null,
37
+ "horizon": 64,
38
+ "n_action_steps": 32,
39
+ "normalization_mapping": {
40
+ "VISUAL": "MEAN_STD",
41
+ "STATE": "MIN_MAX",
42
+ "ACTION": "MIN_MAX"
43
+ },
44
+ "drop_n_last_frames": 7,
45
+ "vision_backbone": "resnet18",
46
+ "resize_shape": [
47
+ 320,
48
+ 480
49
+ ],
50
+ "crop_ratio": 0.9,
51
+ "crop_shape": [
52
+ 288,
53
+ 432
54
+ ],
55
+ "crop_is_random": true,
56
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
57
+ "use_group_norm": false,
58
+ "spatial_softmax_num_keypoints": 64,
59
+ "use_separate_rgb_encoder_per_camera": false,
60
+ "down_dims": [
61
+ 256,
62
+ 512,
63
+ 1024
64
+ ],
65
+ "kernel_size": 5,
66
+ "n_groups": 8,
67
+ "diffusion_step_embed_dim": 128,
68
+ "use_film_scale_modulation": true,
69
+ "noise_scheduler_type": "DDIM",
70
+ "num_train_timesteps": 100,
71
+ "beta_schedule": "squaredcos_cap_v2",
72
+ "beta_start": 0.0001,
73
+ "beta_end": 0.02,
74
+ "prediction_type": "epsilon",
75
+ "clip_sample": true,
76
+ "clip_sample_range": 1.0,
77
+ "num_inference_steps": 10,
78
+ "compile_model": false,
79
+ "compile_mode": "reduce-overhead",
80
+ "do_mask_loss_for_padding": false,
81
+ "optimizer_lr": 0.0001,
82
+ "optimizer_betas": [
83
+ 0.95,
84
+ 0.999
85
+ ],
86
+ "optimizer_eps": 1e-08,
87
+ "optimizer_weight_decay": 1e-06,
88
+ "scheduler_name": "cosine",
89
+ "scheduler_warmup_steps": 500
90
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a59df10639a3ba727aacc21ecd4dfd9cca9c2d66566e26e00f57085a6aec46e3
3
+ size 327664088
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
+ 6
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:53843a8a03b085e5a2ffa8f82afd6cfce7238d538bbc2f7450fa945a5e17780e
3
+ size 6584
policy_preprocessor.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 6
30
+ ]
31
+ },
32
+ "observation.images.gripper": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 480,
37
+ 640
38
+ ]
39
+ },
40
+ "action": {
41
+ "type": "ACTION",
42
+ "shape": [
43
+ 6
44
+ ]
45
+ }
46
+ },
47
+ "norm_map": {
48
+ "VISUAL": "MEAN_STD",
49
+ "STATE": "MIN_MAX",
50
+ "ACTION": "MIN_MAX"
51
+ }
52
+ },
53
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
54
+ }
55
+ ]
56
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53843a8a03b085e5a2ffa8f82afd6cfce7238d538bbc2f7450fa945a5e17780e
3
+ size 6584
train_config.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "open-cloth/so101-full-fold-merged-g8",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
8
+ "max_num_transforms": 4,
9
+ "random_order": true,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 3.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.75,
17
+ 1.25
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 3.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.6,
27
+ 1.4
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 3.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.8,
37
+ 1.2
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 2.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.15,
47
+ 0.15
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 2.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.6,
57
+ 1.4
58
+ ]
59
+ }
60
+ },
61
+ "rotation": {
62
+ "weight": 2.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ]
69
+ }
70
+ },
71
+ "translation": {
72
+ "weight": 2.0,
73
+ "type": "RandomAffine",
74
+ "kwargs": {
75
+ "degrees": [
76
+ 0.0,
77
+ 0.0
78
+ ],
79
+ "translate": [
80
+ 0.1,
81
+ 0.1
82
+ ]
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "revision": null,
88
+ "use_imagenet_stats": true,
89
+ "video_backend": "torchcodec",
90
+ "streaming": false
91
+ },
92
+ "env": null,
93
+ "policy": {
94
+ "type": "diffusion",
95
+ "n_obs_steps": 4,
96
+ "input_features": {
97
+ "observation.state": {
98
+ "type": "STATE",
99
+ "shape": [
100
+ 6
101
+ ]
102
+ },
103
+ "observation.images.gripper": {
104
+ "type": "VISUAL",
105
+ "shape": [
106
+ 3,
107
+ 480,
108
+ 640
109
+ ]
110
+ }
111
+ },
112
+ "output_features": {
113
+ "action": {
114
+ "type": "ACTION",
115
+ "shape": [
116
+ 6
117
+ ]
118
+ }
119
+ },
120
+ "device": "cuda",
121
+ "use_amp": true,
122
+ "use_peft": false,
123
+ "push_to_hub": true,
124
+ "repo_id": "open-cloth/diffusion-cloth-v2",
125
+ "private": null,
126
+ "tags": null,
127
+ "license": null,
128
+ "pretrained_path": null,
129
+ "horizon": 64,
130
+ "n_action_steps": 32,
131
+ "normalization_mapping": {
132
+ "VISUAL": "MEAN_STD",
133
+ "STATE": "MIN_MAX",
134
+ "ACTION": "MIN_MAX"
135
+ },
136
+ "drop_n_last_frames": 7,
137
+ "vision_backbone": "resnet18",
138
+ "resize_shape": [
139
+ 320,
140
+ 480
141
+ ],
142
+ "crop_ratio": 0.9,
143
+ "crop_shape": [
144
+ 288,
145
+ 432
146
+ ],
147
+ "crop_is_random": true,
148
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
149
+ "use_group_norm": false,
150
+ "spatial_softmax_num_keypoints": 64,
151
+ "use_separate_rgb_encoder_per_camera": false,
152
+ "down_dims": [
153
+ 256,
154
+ 512,
155
+ 1024
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": "DDIM",
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": 10,
170
+ "compile_model": false,
171
+ "compile_mode": "reduce-overhead",
172
+ "do_mask_loss_for_padding": false,
173
+ "optimizer_lr": 0.0001,
174
+ "optimizer_betas": [
175
+ 0.95,
176
+ 0.999
177
+ ],
178
+ "optimizer_eps": 1e-08,
179
+ "optimizer_weight_decay": 1e-06,
180
+ "scheduler_name": "cosine",
181
+ "scheduler_warmup_steps": 500
182
+ },
183
+ "output_dir": "outputs/train/diffusion",
184
+ "job_name": "diffusion-v2",
185
+ "resume": false,
186
+ "seed": 1000,
187
+ "cudnn_deterministic": false,
188
+ "num_workers": 8,
189
+ "batch_size": 64,
190
+ "steps": 98505,
191
+ "eval_freq": 20000,
192
+ "log_freq": 3,
193
+ "tolerance_s": 0.0001,
194
+ "save_checkpoint": true,
195
+ "save_freq": 8209,
196
+ "use_policy_training_preset": true,
197
+ "optimizer": {
198
+ "type": "adam",
199
+ "lr": 0.0001,
200
+ "weight_decay": 1e-06,
201
+ "grad_clip_norm": 10.0,
202
+ "betas": [
203
+ 0.95,
204
+ 0.999
205
+ ],
206
+ "eps": 1e-08
207
+ },
208
+ "scheduler": {
209
+ "type": "diffuser",
210
+ "num_warmup_steps": 500,
211
+ "name": "cosine"
212
+ },
213
+ "eval": {
214
+ "n_episodes": 50,
215
+ "batch_size": 50,
216
+ "use_async_envs": false
217
+ },
218
+ "wandb": {
219
+ "enable": true,
220
+ "disable_artifact": false,
221
+ "project": "open-cloth",
222
+ "entity": null,
223
+ "notes": null,
224
+ "run_id": "kcic4bgo",
225
+ "mode": null,
226
+ "add_tags": true
227
+ },
228
+ "peft": null,
229
+ "use_rabc": false,
230
+ "rabc_progress_path": null,
231
+ "rabc_kappa": 0.01,
232
+ "rabc_epsilon": 1e-06,
233
+ "rabc_head_mode": "sparse",
234
+ "rename_map": {
235
+ "observation.images.gripper": "observation.images.camera1"
236
+ },
237
+ "checkpoint_path": null
238
+ }