yihao-brain-bot commited on
Commit
339a0fb
·
verified ·
1 Parent(s): 50aa923

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "act",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 25
9
+ ]
10
+ },
11
+ "observation.images.left_camera": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 256,
16
+ 288
17
+ ]
18
+ },
19
+ "observation.images.center_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 256,
24
+ 288
25
+ ]
26
+ },
27
+ "observation.images.right_camera": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 256,
32
+ 288
33
+ ]
34
+ }
35
+ },
36
+ "output_features": {
37
+ "action": {
38
+ "type": "ACTION",
39
+ "shape": [
40
+ 6
41
+ ]
42
+ }
43
+ },
44
+ "device": "cuda",
45
+ "use_amp": false,
46
+ "use_peft": false,
47
+ "push_to_hub": false,
48
+ "repo_id": null,
49
+ "private": null,
50
+ "tags": null,
51
+ "license": null,
52
+ "pretrained_path": null,
53
+ "chunk_size": 100,
54
+ "n_action_steps": 100,
55
+ "normalization_mapping": {
56
+ "VISUAL": "MEAN_STD",
57
+ "STATE": "MEAN_STD",
58
+ "ACTION": "MEAN_STD"
59
+ },
60
+ "vision_backbone": "resnet18",
61
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
62
+ "replace_final_stride_with_dilation": false,
63
+ "pre_norm": false,
64
+ "dim_model": 512,
65
+ "n_heads": 8,
66
+ "dim_feedforward": 3200,
67
+ "feedforward_activation": "relu",
68
+ "n_encoder_layers": 4,
69
+ "n_decoder_layers": 1,
70
+ "use_vae": true,
71
+ "latent_dim": 32,
72
+ "n_vae_encoder_layers": 4,
73
+ "temporal_ensemble_coeff": null,
74
+ "dropout": 0.1,
75
+ "kl_weight": 10.0,
76
+ "optimizer_lr": 1e-05,
77
+ "optimizer_weight_decay": 0.0001,
78
+ "optimizer_lr_backbone": 1e-05
79
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f53ca4b827a68b2b931b46fa72b5d5fdccbf2e3e144337a0d6572ddfabc3b003
3
+ size 206777560
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": "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:f46ddfb606f44f86d3367f1a76099ae5d5fd503bbea20105e876204f8f7b4628
3
+ size 9500
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
+ 25
30
+ ]
31
+ },
32
+ "observation.images.left_camera": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 256,
37
+ 288
38
+ ]
39
+ },
40
+ "observation.images.center_camera": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 256,
45
+ 288
46
+ ]
47
+ },
48
+ "observation.images.right_camera": {
49
+ "type": "VISUAL",
50
+ "shape": [
51
+ 3,
52
+ 256,
53
+ 288
54
+ ]
55
+ },
56
+ "action": {
57
+ "type": "ACTION",
58
+ "shape": [
59
+ 6
60
+ ]
61
+ }
62
+ },
63
+ "norm_map": {
64
+ "VISUAL": "MEAN_STD",
65
+ "STATE": "MEAN_STD",
66
+ "ACTION": "MEAN_STD"
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:f46ddfb606f44f86d3367f1a76099ae5d5fd503bbea20105e876204f8f7b4628
3
+ size 9500
train_config.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "local/ch_milestones_vla_sc_1",
4
+ "root": "/home/yl/aic_results/ch_milestones_vla_sc_1",
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
+ "return_uint8": false,
81
+ "streaming": false
82
+ },
83
+ "env": null,
84
+ "policy": {
85
+ "type": "act",
86
+ "n_obs_steps": 1,
87
+ "input_features": {
88
+ "observation.state": {
89
+ "type": "STATE",
90
+ "shape": [
91
+ 25
92
+ ]
93
+ },
94
+ "observation.images.left_camera": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 256,
99
+ 288
100
+ ]
101
+ },
102
+ "observation.images.center_camera": {
103
+ "type": "VISUAL",
104
+ "shape": [
105
+ 3,
106
+ 256,
107
+ 288
108
+ ]
109
+ },
110
+ "observation.images.right_camera": {
111
+ "type": "VISUAL",
112
+ "shape": [
113
+ 3,
114
+ 256,
115
+ 288
116
+ ]
117
+ }
118
+ },
119
+ "output_features": {
120
+ "action": {
121
+ "type": "ACTION",
122
+ "shape": [
123
+ 6
124
+ ]
125
+ }
126
+ },
127
+ "device": "cuda",
128
+ "use_amp": false,
129
+ "use_peft": false,
130
+ "push_to_hub": false,
131
+ "repo_id": null,
132
+ "private": null,
133
+ "tags": null,
134
+ "license": null,
135
+ "pretrained_path": null,
136
+ "chunk_size": 100,
137
+ "n_action_steps": 100,
138
+ "normalization_mapping": {
139
+ "VISUAL": "MEAN_STD",
140
+ "STATE": "MEAN_STD",
141
+ "ACTION": "MEAN_STD"
142
+ },
143
+ "vision_backbone": "resnet18",
144
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
145
+ "replace_final_stride_with_dilation": false,
146
+ "pre_norm": false,
147
+ "dim_model": 512,
148
+ "n_heads": 8,
149
+ "dim_feedforward": 3200,
150
+ "feedforward_activation": "relu",
151
+ "n_encoder_layers": 4,
152
+ "n_decoder_layers": 1,
153
+ "use_vae": true,
154
+ "latent_dim": 32,
155
+ "n_vae_encoder_layers": 4,
156
+ "temporal_ensemble_coeff": null,
157
+ "dropout": 0.1,
158
+ "kl_weight": 10.0,
159
+ "optimizer_lr": 1e-05,
160
+ "optimizer_weight_decay": 0.0001,
161
+ "optimizer_lr_backbone": 1e-05
162
+ },
163
+ "reward_model": null,
164
+ "output_dir": "/home/yl/aic_results/train/act_sc_1",
165
+ "job_name": "act_sc_1",
166
+ "resume": false,
167
+ "seed": 1000,
168
+ "cudnn_deterministic": false,
169
+ "num_workers": 4,
170
+ "batch_size": 8,
171
+ "prefetch_factor": 4,
172
+ "persistent_workers": true,
173
+ "steps": 500000,
174
+ "eval_freq": 20000,
175
+ "log_freq": 200,
176
+ "tolerance_s": 0.0001,
177
+ "save_checkpoint": true,
178
+ "save_freq": 20000,
179
+ "use_policy_training_preset": true,
180
+ "optimizer": {
181
+ "type": "adamw",
182
+ "lr": 1e-05,
183
+ "weight_decay": 0.0001,
184
+ "grad_clip_norm": 10.0,
185
+ "betas": [
186
+ 0.9,
187
+ 0.999
188
+ ],
189
+ "eps": 1e-08
190
+ },
191
+ "scheduler": null,
192
+ "eval": {
193
+ "n_episodes": 50,
194
+ "batch_size": 14,
195
+ "use_async_envs": true
196
+ },
197
+ "wandb": {
198
+ "enable": false,
199
+ "disable_artifact": false,
200
+ "project": "lerobot",
201
+ "entity": null,
202
+ "notes": null,
203
+ "run_id": null,
204
+ "mode": null,
205
+ "add_tags": true
206
+ },
207
+ "peft": null,
208
+ "sample_weighting": null,
209
+ "rename_map": {},
210
+ "checkpoint_path": null
211
+ }