Robotics
LeRobot
Safetensors
act
funXedu commited on
Commit
2f129e4
·
verified ·
1 Parent(s): 06df8b1

Upload folder using huggingface_hub

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