msmandelbrot commited on
Commit
cfcaa8e
·
verified ·
1 Parent(s): 8040e1e

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "diffusion",
3
+ "n_obs_steps": 2,
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
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.right": {
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": false,
40
+ "repo_id": "/diffusion_aim-bolt-nut_rac",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": "/home/ds_team/aromanenko/workspace/robotics/lerobot/outputs/diffusion_aim-bolt-nut_rac/checkpoints/last/pretrained_model",
45
+ "horizon": 32,
46
+ "n_action_steps": 8,
47
+ "normalization_mapping": {
48
+ "VISUAL": "MEAN_STD",
49
+ "STATE": "MIN_MAX",
50
+ "ACTION": "MIN_MAX"
51
+ },
52
+ "drop_n_last_frames": 2,
53
+ "drop_n_first_frames": 30,
54
+ "vision_backbone": "resnet34",
55
+ "resize_shape": null,
56
+ "crop_ratio": 1.0,
57
+ "crop_shape": [
58
+ 384,
59
+ 512
60
+ ],
61
+ "crop_is_random": true,
62
+ "pretrained_backbone_weights": "ResNet34_Weights.IMAGENET1K_V1",
63
+ "use_group_norm": false,
64
+ "spatial_softmax_num_keypoints": 32,
65
+ "use_separate_rgb_encoder_per_camera": true,
66
+ "down_dims": [
67
+ 512,
68
+ 1024,
69
+ 2048
70
+ ],
71
+ "kernel_size": 5,
72
+ "n_groups": 8,
73
+ "diffusion_step_embed_dim": 128,
74
+ "use_film_scale_modulation": true,
75
+ "noise_scheduler_type": "DDIM",
76
+ "num_train_timesteps": 100,
77
+ "beta_schedule": "squaredcos_cap_v2",
78
+ "beta_start": 0.0001,
79
+ "beta_end": 0.02,
80
+ "prediction_type": "epsilon",
81
+ "clip_sample": true,
82
+ "clip_sample_range": 1.0,
83
+ "num_inference_steps": 20,
84
+ "compile_model": false,
85
+ "compile_mode": "reduce-overhead",
86
+ "do_mask_loss_for_padding": false,
87
+ "optimizer_lr": 0.0001,
88
+ "optimizer_betas": [
89
+ 0.95,
90
+ 0.999
91
+ ],
92
+ "optimizer_eps": 1e-08,
93
+ "optimizer_weight_decay": 1e-06,
94
+ "scheduler_name": "cosine",
95
+ "scheduler_warmup_steps": 500
96
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35b60391328d188665d53c12b5a0d3c62cad9587a628a7f1395c3c53ea9d12f0
3
+ size 1192354592
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:170d79c336757e7181479d5c00b0e3241da876ee0879fb93ce886ec4631dace3
3
+ size 7552
policy_preprocessor.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.front": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 480,
37
+ 640
38
+ ]
39
+ },
40
+ "observation.images.right": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 480,
45
+ 640
46
+ ]
47
+ },
48
+ "action": {
49
+ "type": "ACTION",
50
+ "shape": [
51
+ 6
52
+ ]
53
+ }
54
+ },
55
+ "norm_map": {
56
+ "VISUAL": "MEAN_STD",
57
+ "STATE": "MIN_MAX",
58
+ "ACTION": "MIN_MAX"
59
+ }
60
+ },
61
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
62
+ }
63
+ ]
64
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:170d79c336757e7181479d5c00b0e3241da876ee0879fb93ce886ec4631dace3
3
+ size 7552
train_config.json ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "kd-forge/aim-bolt-nut_rac",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
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
+ 6
91
+ ]
92
+ },
93
+ "observation.images.front": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.right": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 480,
106
+ 640
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 6
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "use_peft": false,
121
+ "push_to_hub": false,
122
+ "repo_id": "/diffusion_aim-bolt-nut_rac",
123
+ "private": null,
124
+ "tags": null,
125
+ "license": null,
126
+ "pretrained_path": "/home/ds_team/aromanenko/workspace/robotics/lerobot/outputs/diffusion_aim-bolt-nut_rac/checkpoints/last/pretrained_model",
127
+ "horizon": 32,
128
+ "n_action_steps": 8,
129
+ "normalization_mapping": {
130
+ "VISUAL": "MEAN_STD",
131
+ "STATE": "MIN_MAX",
132
+ "ACTION": "MIN_MAX"
133
+ },
134
+ "drop_n_last_frames": 2,
135
+ "drop_n_first_frames": 30,
136
+ "vision_backbone": "resnet34",
137
+ "resize_shape": null,
138
+ "crop_ratio": 1.0,
139
+ "crop_shape": [
140
+ 384,
141
+ 512
142
+ ],
143
+ "crop_is_random": true,
144
+ "pretrained_backbone_weights": "ResNet34_Weights.IMAGENET1K_V1",
145
+ "use_group_norm": false,
146
+ "spatial_softmax_num_keypoints": 32,
147
+ "use_separate_rgb_encoder_per_camera": true,
148
+ "down_dims": [
149
+ 512,
150
+ 1024,
151
+ 2048
152
+ ],
153
+ "kernel_size": 5,
154
+ "n_groups": 8,
155
+ "diffusion_step_embed_dim": 128,
156
+ "use_film_scale_modulation": true,
157
+ "noise_scheduler_type": "DDIM",
158
+ "num_train_timesteps": 100,
159
+ "beta_schedule": "squaredcos_cap_v2",
160
+ "beta_start": 0.0001,
161
+ "beta_end": 0.02,
162
+ "prediction_type": "epsilon",
163
+ "clip_sample": true,
164
+ "clip_sample_range": 1.0,
165
+ "num_inference_steps": 20,
166
+ "compile_model": false,
167
+ "compile_mode": "reduce-overhead",
168
+ "do_mask_loss_for_padding": false,
169
+ "optimizer_lr": 0.0001,
170
+ "optimizer_betas": [
171
+ 0.95,
172
+ 0.999
173
+ ],
174
+ "optimizer_eps": 1e-08,
175
+ "optimizer_weight_decay": 1e-06,
176
+ "scheduler_name": "cosine",
177
+ "scheduler_warmup_steps": 500
178
+ },
179
+ "output_dir": "outputs/diffusion_aim-bolt-nut_rac",
180
+ "job_name": "diffusion_aim-bolt-nut_rac_c",
181
+ "resume": true,
182
+ "seed": 1000,
183
+ "cudnn_deterministic": false,
184
+ "num_workers": 4,
185
+ "batch_size": 16,
186
+ "steps": 350000,
187
+ "save_freq": 10000,
188
+ "epochs": null,
189
+ "save_freq_epochs": null,
190
+ "eval_freq": 20000,
191
+ "log_freq": 200,
192
+ "tolerance_s": 0.0001,
193
+ "save_checkpoint": true,
194
+ "use_policy_training_preset": true,
195
+ "optimizer": {
196
+ "type": "adam",
197
+ "lr": 0.0001,
198
+ "weight_decay": 1e-06,
199
+ "grad_clip_norm": 10.0,
200
+ "betas": [
201
+ 0.95,
202
+ 0.999
203
+ ],
204
+ "eps": 1e-08
205
+ },
206
+ "scheduler": {
207
+ "type": "diffuser",
208
+ "num_warmup_steps": 500,
209
+ "name": "cosine"
210
+ },
211
+ "eval": {
212
+ "n_episodes": 50,
213
+ "batch_size": 50,
214
+ "use_async_envs": false
215
+ },
216
+ "wandb": {
217
+ "enable": false,
218
+ "disable_artifact": false,
219
+ "project": "lerobot",
220
+ "entity": null,
221
+ "notes": null,
222
+ "run_id": null,
223
+ "mode": null
224
+ },
225
+ "clearml": {
226
+ "enable": true,
227
+ "project": "lerobot/diffusion",
228
+ "output_uri": "s3://storage.yandexcloud.net/clearml-data-dsde",
229
+ "keep_local_checkpoints": true,
230
+ "upload_checkpoint_artifacts": false
231
+ },
232
+ "peft": null,
233
+ "checkpoint_path": "/home/ds_team/aromanenko/workspace/robotics/lerobot/outputs/diffusion_aim-bolt-nut_rac/checkpoints/last",
234
+ "rename_map": {},
235
+ "use_rabc": false,
236
+ "rabc_progress_path": null,
237
+ "rabc_head_mode": "sparse",
238
+ "rabc_kappa": 0.01,
239
+ "rabc_epsilon": 1e-06
240
+ }