KelinLiIC commited on
Commit
2889c19
·
verified ·
1 Parent(s): c0b65dc

Add the bc model of stackcube

Browse files
ft_maniskill/stackcube/models/bc/config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "act",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.images.base_camera": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 480,
10
+ 480
11
+ ]
12
+ },
13
+ "observation.images.wrist_camera": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 480,
18
+ 480
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 9
25
+ ]
26
+ },
27
+ "observation.qvel": {
28
+ "type": "STATE",
29
+ "shape": [
30
+ 9
31
+ ]
32
+ },
33
+ "observation.torque": {
34
+ "type": "STATE",
35
+ "shape": [
36
+ 7
37
+ ]
38
+ },
39
+ "observation.contact_force": {
40
+ "type": "STATE",
41
+ "shape": [
42
+ 1
43
+ ]
44
+ }
45
+ },
46
+ "output_features": {
47
+ "action": {
48
+ "type": "ACTION",
49
+ "shape": [
50
+ 8
51
+ ]
52
+ }
53
+ },
54
+ "device": "cuda",
55
+ "use_amp": false,
56
+ "use_peft": false,
57
+ "push_to_hub": false,
58
+ "repo_id": null,
59
+ "private": null,
60
+ "tags": null,
61
+ "license": null,
62
+ "pretrained_path": null,
63
+ "pretrained_revision": null,
64
+ "chunk_size": 1,
65
+ "n_action_steps": 1,
66
+ "normalization_mapping": {
67
+ "VISUAL": "MEAN_STD",
68
+ "STATE": "MEAN_STD",
69
+ "ACTION": "MEAN_STD"
70
+ },
71
+ "vision_backbone": "resnet18",
72
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
73
+ "replace_final_stride_with_dilation": false,
74
+ "pre_norm": false,
75
+ "dim_model": 512,
76
+ "n_heads": 8,
77
+ "dim_feedforward": 3200,
78
+ "feedforward_activation": "relu",
79
+ "n_encoder_layers": 4,
80
+ "n_decoder_layers": 1,
81
+ "use_vae": false,
82
+ "latent_dim": 32,
83
+ "n_vae_encoder_layers": 4,
84
+ "temporal_ensemble_coeff": null,
85
+ "dropout": 0.1,
86
+ "kl_weight": 10.0,
87
+ "optimizer_lr": 1e-05,
88
+ "optimizer_weight_decay": 0.0001,
89
+ "optimizer_lr_backbone": 1e-05
90
+ }
ft_maniskill/stackcube/models/bc/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d043336b34cb0c525b50ea5b1f26c346dcd059197a10da8e37681a3710a411a4
3
+ size 136798944
ft_maniskill/stackcube/models/bc/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
+ 8
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "MEAN_STD",
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
+ }
ft_maniskill/stackcube/models/bc/policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69fa26f6e680beda6b03aa79dfed084bdf468bf2e11beab00892aea10e00a90
3
+ size 12444
ft_maniskill/stackcube/models/bc/policy_preprocessor.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.images.base_camera": {
27
+ "type": "VISUAL",
28
+ "shape": [
29
+ 3,
30
+ 480,
31
+ 480
32
+ ]
33
+ },
34
+ "observation.images.wrist_camera": {
35
+ "type": "VISUAL",
36
+ "shape": [
37
+ 3,
38
+ 480,
39
+ 480
40
+ ]
41
+ },
42
+ "observation.state": {
43
+ "type": "STATE",
44
+ "shape": [
45
+ 9
46
+ ]
47
+ },
48
+ "observation.qvel": {
49
+ "type": "STATE",
50
+ "shape": [
51
+ 9
52
+ ]
53
+ },
54
+ "observation.torque": {
55
+ "type": "STATE",
56
+ "shape": [
57
+ 7
58
+ ]
59
+ },
60
+ "observation.contact_force": {
61
+ "type": "STATE",
62
+ "shape": [
63
+ 1
64
+ ]
65
+ },
66
+ "action": {
67
+ "type": "ACTION",
68
+ "shape": [
69
+ 8
70
+ ]
71
+ }
72
+ },
73
+ "norm_map": {
74
+ "VISUAL": "MEAN_STD",
75
+ "STATE": "MEAN_STD",
76
+ "ACTION": "MEAN_STD"
77
+ }
78
+ },
79
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
80
+ }
81
+ ]
82
+ }
ft_maniskill/stackcube/models/bc/policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6f7e7d71d8892ae682d8e6e43a0cb7c7152b26d9012e9f13c8006ed3d9bec07
3
+ size 12452
ft_maniskill/stackcube/models/bc/train_config.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "stackcube-1000-raw",
4
+ "root": null,
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "preset": null,
11
+ "tfs": {
12
+ "brightness": {
13
+ "weight": 1.0,
14
+ "type": "ColorJitter",
15
+ "kwargs": {
16
+ "brightness": [
17
+ 0.8,
18
+ 1.2
19
+ ]
20
+ }
21
+ },
22
+ "contrast": {
23
+ "weight": 1.0,
24
+ "type": "ColorJitter",
25
+ "kwargs": {
26
+ "contrast": [
27
+ 0.8,
28
+ 1.2
29
+ ]
30
+ }
31
+ },
32
+ "saturation": {
33
+ "weight": 1.0,
34
+ "type": "ColorJitter",
35
+ "kwargs": {
36
+ "saturation": [
37
+ 0.5,
38
+ 1.5
39
+ ]
40
+ }
41
+ },
42
+ "hue": {
43
+ "weight": 1.0,
44
+ "type": "ColorJitter",
45
+ "kwargs": {
46
+ "hue": [
47
+ -0.05,
48
+ 0.05
49
+ ]
50
+ }
51
+ },
52
+ "sharpness": {
53
+ "weight": 1.0,
54
+ "type": "SharpnessJitter",
55
+ "kwargs": {
56
+ "sharpness": [
57
+ 0.5,
58
+ 1.5
59
+ ]
60
+ }
61
+ },
62
+ "affine": {
63
+ "weight": 1.0,
64
+ "type": "RandomAffine",
65
+ "kwargs": {
66
+ "degrees": [
67
+ -5.0,
68
+ 5.0
69
+ ],
70
+ "translate": [
71
+ 0.05,
72
+ 0.05
73
+ ]
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "revision": null,
79
+ "use_imagenet_stats": true,
80
+ "video_backend": "torchcodec",
81
+ "return_uint8": false,
82
+ "depth_output_unit": "mm",
83
+ "streaming": false,
84
+ "eval_split": 0.0
85
+ },
86
+ "env": null,
87
+ "policy": {
88
+ "type": "act",
89
+ "n_obs_steps": 1,
90
+ "input_features": {
91
+ "observation.images.base_camera": {
92
+ "type": "VISUAL",
93
+ "shape": [
94
+ 3,
95
+ 480,
96
+ 480
97
+ ]
98
+ },
99
+ "observation.images.wrist_camera": {
100
+ "type": "VISUAL",
101
+ "shape": [
102
+ 3,
103
+ 480,
104
+ 480
105
+ ]
106
+ },
107
+ "observation.state": {
108
+ "type": "STATE",
109
+ "shape": [
110
+ 9
111
+ ]
112
+ },
113
+ "observation.qvel": {
114
+ "type": "STATE",
115
+ "shape": [
116
+ 9
117
+ ]
118
+ },
119
+ "observation.torque": {
120
+ "type": "STATE",
121
+ "shape": [
122
+ 7
123
+ ]
124
+ },
125
+ "observation.contact_force": {
126
+ "type": "STATE",
127
+ "shape": [
128
+ 1
129
+ ]
130
+ }
131
+ },
132
+ "output_features": {
133
+ "action": {
134
+ "type": "ACTION",
135
+ "shape": [
136
+ 8
137
+ ]
138
+ }
139
+ },
140
+ "device": "cuda",
141
+ "use_amp": false,
142
+ "use_peft": false,
143
+ "push_to_hub": false,
144
+ "repo_id": null,
145
+ "private": null,
146
+ "tags": null,
147
+ "license": null,
148
+ "pretrained_path": null,
149
+ "pretrained_revision": null,
150
+ "chunk_size": 1,
151
+ "n_action_steps": 1,
152
+ "normalization_mapping": {
153
+ "VISUAL": "MEAN_STD",
154
+ "STATE": "MEAN_STD",
155
+ "ACTION": "MEAN_STD"
156
+ },
157
+ "vision_backbone": "resnet18",
158
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
159
+ "replace_final_stride_with_dilation": false,
160
+ "pre_norm": false,
161
+ "dim_model": 512,
162
+ "n_heads": 8,
163
+ "dim_feedforward": 3200,
164
+ "feedforward_activation": "relu",
165
+ "n_encoder_layers": 4,
166
+ "n_decoder_layers": 1,
167
+ "use_vae": false,
168
+ "latent_dim": 32,
169
+ "n_vae_encoder_layers": 4,
170
+ "temporal_ensemble_coeff": null,
171
+ "dropout": 0.1,
172
+ "kl_weight": 10.0,
173
+ "optimizer_lr": 1e-05,
174
+ "optimizer_weight_decay": 0.0001,
175
+ "optimizer_lr_backbone": 1e-05
176
+ },
177
+ "reward_model": null,
178
+ "output_dir": "/out/bc",
179
+ "job_name": "act",
180
+ "resume": false,
181
+ "seed": 1000,
182
+ "cudnn_deterministic": false,
183
+ "num_workers": 4,
184
+ "batch_size": 32,
185
+ "prefetch_factor": 4,
186
+ "persistent_workers": true,
187
+ "steps": 150000,
188
+ "env_eval_freq": 20000,
189
+ "log_freq": 200,
190
+ "eval_steps": 0,
191
+ "max_eval_samples": 0,
192
+ "tolerance_s": 0.0001,
193
+ "save_checkpoint": true,
194
+ "save_freq": 7500,
195
+ "use_policy_training_preset": true,
196
+ "optimizer": {
197
+ "type": "adamw",
198
+ "lr": 1e-05,
199
+ "weight_decay": 0.0001,
200
+ "grad_clip_norm": 10.0,
201
+ "betas": [
202
+ 0.9,
203
+ 0.999
204
+ ],
205
+ "eps": 1e-08
206
+ },
207
+ "scheduler": null,
208
+ "eval": {
209
+ "n_episodes": 50,
210
+ "batch_size": 18,
211
+ "use_async_envs": true,
212
+ "recording": false,
213
+ "recording_repo_id": null,
214
+ "recording_private": false,
215
+ "max_episodes_rendered": 10
216
+ },
217
+ "wandb": {
218
+ "enable": false,
219
+ "disable_artifact": false,
220
+ "project": "lerobot",
221
+ "entity": null,
222
+ "notes": null,
223
+ "run_id": null,
224
+ "mode": null,
225
+ "add_tags": true
226
+ },
227
+ "peft": null,
228
+ "job": {
229
+ "target": null,
230
+ "image": "huggingface/lerobot-gpu:latest",
231
+ "timeout": "2d",
232
+ "detach": false,
233
+ "tags": []
234
+ },
235
+ "save_checkpoint_to_hub": false,
236
+ "sample_weighting": null,
237
+ "dagger_sampling": null,
238
+ "rename_map": {},
239
+ "features": {
240
+ "image_keys": null,
241
+ "state_dims": null,
242
+ "action_dims": null
243
+ },
244
+ "checkpoint_path": null
245
+ }