Josephzzz commited on
Commit
dd8ad88
·
verified ·
1 Parent(s): b6807ba

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "act",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 14
9
+ ]
10
+ },
11
+ "observation.qvel": {
12
+ "type": "STATE",
13
+ "shape": [
14
+ 14
15
+ ]
16
+ },
17
+ "observation.images.left_wrist": {
18
+ "type": "VISUAL",
19
+ "shape": [
20
+ 3,
21
+ 480,
22
+ 640
23
+ ]
24
+ },
25
+ "observation.images.right_wrist": {
26
+ "type": "VISUAL",
27
+ "shape": [
28
+ 3,
29
+ 480,
30
+ 640
31
+ ]
32
+ },
33
+ "observation.images.top": {
34
+ "type": "VISUAL",
35
+ "shape": [
36
+ 3,
37
+ 480,
38
+ 640
39
+ ]
40
+ }
41
+ },
42
+ "output_features": {
43
+ "action": {
44
+ "type": "ACTION",
45
+ "shape": [
46
+ 14
47
+ ]
48
+ }
49
+ },
50
+ "device": "cuda",
51
+ "use_amp": false,
52
+ "push_to_hub": true,
53
+ "repo_id": "Josephzzz/act_peg_dobot_1002",
54
+ "private": null,
55
+ "tags": null,
56
+ "license": null,
57
+ "chunk_size": 100,
58
+ "n_action_steps": 100,
59
+ "normalization_mapping": {
60
+ "VISUAL": "MEAN_STD",
61
+ "STATE": "MEAN_STD",
62
+ "ACTION": "MEAN_STD"
63
+ },
64
+ "vision_backbone": "resnet18",
65
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
66
+ "replace_final_stride_with_dilation": false,
67
+ "pre_norm": false,
68
+ "dim_model": 512,
69
+ "n_heads": 8,
70
+ "dim_feedforward": 3200,
71
+ "feedforward_activation": "relu",
72
+ "n_encoder_layers": 4,
73
+ "n_decoder_layers": 1,
74
+ "use_vae": true,
75
+ "latent_dim": 32,
76
+ "n_vae_encoder_layers": 4,
77
+ "temporal_ensemble_coeff": null,
78
+ "dropout": 0.1,
79
+ "kl_weight": 10.0,
80
+ "optimizer_lr": 1e-05,
81
+ "optimizer_weight_decay": 0.0001,
82
+ "optimizer_lr_backbone": 1e-05
83
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d55c1fdd6c6286556787ee43cb039a9ee4cfab30c772523dd29d1a51453a28c6
3
+ size 206765304
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
+ 14
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:9362d977d2593f2ec6df44f86c61b1efe3f5e6dd20231e0f8b1d3a53b19d02c6
3
+ size 5180
policy_preprocessor.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 14
30
+ ]
31
+ },
32
+ "observation.qvel": {
33
+ "type": "STATE",
34
+ "shape": [
35
+ 14
36
+ ]
37
+ },
38
+ "observation.images.left_wrist": {
39
+ "type": "VISUAL",
40
+ "shape": [
41
+ 3,
42
+ 480,
43
+ 640
44
+ ]
45
+ },
46
+ "observation.images.right_wrist": {
47
+ "type": "VISUAL",
48
+ "shape": [
49
+ 3,
50
+ 480,
51
+ 640
52
+ ]
53
+ },
54
+ "observation.images.top": {
55
+ "type": "VISUAL",
56
+ "shape": [
57
+ 3,
58
+ 480,
59
+ 640
60
+ ]
61
+ },
62
+ "action": {
63
+ "type": "ACTION",
64
+ "shape": [
65
+ 14
66
+ ]
67
+ }
68
+ },
69
+ "norm_map": {
70
+ "VISUAL": "MEAN_STD",
71
+ "STATE": "MEAN_STD",
72
+ "ACTION": "MEAN_STD"
73
+ }
74
+ },
75
+ "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors"
76
+ }
77
+ ]
78
+ }
policy_preprocessor_step_3_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9362d977d2593f2ec6df44f86c61b1efe3f5e6dd20231e0f8b1d3a53b19d02c6
3
+ size 5180
train_config.json ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Josephzzz/dobot_peg_v3",
4
+ "root": "/home/zexi/Robo_data/dobot_peg_lerobot",
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
+ }
62
+ },
63
+ "revision": null,
64
+ "use_imagenet_stats": true,
65
+ "video_backend": "pyav",
66
+ "streaming": false
67
+ },
68
+ "env": null,
69
+ "policy": {
70
+ "type": "act",
71
+ "n_obs_steps": 1,
72
+ "input_features": {
73
+ "observation.state": {
74
+ "type": "STATE",
75
+ "shape": [
76
+ 14
77
+ ]
78
+ },
79
+ "observation.qvel": {
80
+ "type": "STATE",
81
+ "shape": [
82
+ 14
83
+ ]
84
+ },
85
+ "observation.images.left_wrist": {
86
+ "type": "VISUAL",
87
+ "shape": [
88
+ 3,
89
+ 480,
90
+ 640
91
+ ]
92
+ },
93
+ "observation.images.right_wrist": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.top": {
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
+ 14
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "push_to_hub": true,
121
+ "repo_id": "Josephzzz/act_peg_dobot_1002",
122
+ "private": null,
123
+ "tags": null,
124
+ "license": null,
125
+ "chunk_size": 100,
126
+ "n_action_steps": 100,
127
+ "normalization_mapping": {
128
+ "VISUAL": "MEAN_STD",
129
+ "STATE": "MEAN_STD",
130
+ "ACTION": "MEAN_STD"
131
+ },
132
+ "vision_backbone": "resnet18",
133
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
134
+ "replace_final_stride_with_dilation": false,
135
+ "pre_norm": false,
136
+ "dim_model": 512,
137
+ "n_heads": 8,
138
+ "dim_feedforward": 3200,
139
+ "feedforward_activation": "relu",
140
+ "n_encoder_layers": 4,
141
+ "n_decoder_layers": 1,
142
+ "use_vae": true,
143
+ "latent_dim": 32,
144
+ "n_vae_encoder_layers": 4,
145
+ "temporal_ensemble_coeff": null,
146
+ "dropout": 0.1,
147
+ "kl_weight": 10.0,
148
+ "optimizer_lr": 1e-05,
149
+ "optimizer_weight_decay": 0.0001,
150
+ "optimizer_lr_backbone": 1e-05
151
+ },
152
+ "output_dir": "ckpt/act_peg_dobot",
153
+ "job_name": "act",
154
+ "resume": false,
155
+ "seed": 1000,
156
+ "num_workers": 4,
157
+ "batch_size": 32,
158
+ "steps": 50000,
159
+ "eval_freq": 20000,
160
+ "log_freq": 200,
161
+ "save_checkpoint": true,
162
+ "save_freq": 20000,
163
+ "use_policy_training_preset": true,
164
+ "optimizer": {
165
+ "type": "adamw",
166
+ "lr": 1e-05,
167
+ "weight_decay": 0.0001,
168
+ "grad_clip_norm": 10.0,
169
+ "betas": [
170
+ 0.9,
171
+ 0.999
172
+ ],
173
+ "eps": 1e-08
174
+ },
175
+ "scheduler": null,
176
+ "eval": {
177
+ "n_episodes": 50,
178
+ "batch_size": 50,
179
+ "use_async_envs": false
180
+ },
181
+ "wandb": {
182
+ "enable": true,
183
+ "disable_artifact": false,
184
+ "project": "lerobot",
185
+ "entity": null,
186
+ "notes": null,
187
+ "run_id": "r2r2v7lx",
188
+ "mode": null
189
+ }
190
+ }