Dimios45 commited on
Commit
ae2432c
·
verified ·
1 Parent(s): e31ca3c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "sarm",
3
+ "n_obs_steps": 8,
4
+ "input_features": {
5
+ "observation.images.top": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 480,
9
+ 640,
10
+ 3
11
+ ]
12
+ },
13
+ "observation.state": {
14
+ "type": "STATE",
15
+ "shape": [
16
+ 32
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {},
21
+ "device": "cuda",
22
+ "use_amp": false,
23
+ "use_peft": false,
24
+ "push_to_hub": false,
25
+ "repo_id": "local/sarm_wbcd_packing",
26
+ "private": null,
27
+ "tags": null,
28
+ "license": null,
29
+ "pretrained_path": null,
30
+ "annotation_mode": "single_stage",
31
+ "frame_gap": 2,
32
+ "max_rewind_steps": 4,
33
+ "image_dim": 512,
34
+ "text_dim": 512,
35
+ "hidden_dim": 768,
36
+ "num_heads": 12,
37
+ "num_layers": 8,
38
+ "max_state_dim": 32,
39
+ "drop_n_last_frames": 1,
40
+ "batch_size": 64,
41
+ "clip_batch_size": 64,
42
+ "dropout": 0.1,
43
+ "stage_loss_weight": 1.0,
44
+ "rewind_probability": 0.8,
45
+ "language_perturbation_probability": 0.2,
46
+ "num_sparse_stages": 1,
47
+ "sparse_subtask_names": [
48
+ "task"
49
+ ],
50
+ "sparse_temporal_proportions": [
51
+ 1.0
52
+ ],
53
+ "num_dense_stages": null,
54
+ "dense_subtask_names": null,
55
+ "dense_temporal_proportions": null,
56
+ "pretrained_model_path": null,
57
+ "image_key": "observation.images.top",
58
+ "state_key": "observation.state",
59
+ "normalization_mapping": {
60
+ "VISUAL": "IDENTITY",
61
+ "STATE": "MEAN_STD",
62
+ "LANGUAGE": "IDENTITY",
63
+ "REWARD": "IDENTITY"
64
+ }
65
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8e52fbf48e7bca7c5bce55a2cdaeb738aaddfd36e211e7a794b87a73b34139e
3
+ size 476739240
policy_postprocessor.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "device_processor",
6
+ "config": {
7
+ "device": "cpu",
8
+ "float_dtype": null
9
+ }
10
+ }
11
+ ]
12
+ }
policy_preprocessor.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "to_batch_processor",
6
+ "config": {}
7
+ },
8
+ {
9
+ "registry_name": "rename_observations_processor",
10
+ "config": {
11
+ "rename_map": {}
12
+ }
13
+ },
14
+ {
15
+ "registry_name": "normalizer_processor",
16
+ "config": {
17
+ "eps": 1e-08,
18
+ "features": {
19
+ "observation.images.top": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 480,
23
+ 640,
24
+ 3
25
+ ]
26
+ },
27
+ "observation.state": {
28
+ "type": "STATE",
29
+ "shape": [
30
+ 32
31
+ ]
32
+ }
33
+ },
34
+ "norm_map": {
35
+ "VISUAL": "IDENTITY",
36
+ "STATE": "MEAN_STD",
37
+ "LANGUAGE": "IDENTITY",
38
+ "REWARD": "IDENTITY"
39
+ }
40
+ },
41
+ "state_file": "policy_preprocessor_step_2_normalizer_processor.safetensors"
42
+ },
43
+ {
44
+ "class": "lerobot.policies.sarm.processor_sarm.SARMEncodingProcessorStep",
45
+ "config": {}
46
+ },
47
+ {
48
+ "registry_name": "device_processor",
49
+ "config": {
50
+ "device": "cuda",
51
+ "float_dtype": null
52
+ }
53
+ }
54
+ ]
55
+ }
policy_preprocessor_step_2_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34fbfa61641b9902b5dacfcbd06c7e2bd07db4ed32000883e3fb410b56036a0d
3
+ size 912
train_config.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "/home/sra/packsarm/sarm_wbcd_packing/scripts/../lerobot_dataset",
4
+ "root": "/home/sra/packsarm/sarm_wbcd_packing/scripts/../lerobot_dataset",
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
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "sarm",
85
+ "n_obs_steps": 8,
86
+ "input_features": {
87
+ "observation.images.top": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 480,
91
+ 640,
92
+ 3
93
+ ]
94
+ },
95
+ "observation.state": {
96
+ "type": "STATE",
97
+ "shape": [
98
+ 32
99
+ ]
100
+ }
101
+ },
102
+ "output_features": {},
103
+ "device": "cuda",
104
+ "use_amp": false,
105
+ "use_peft": false,
106
+ "push_to_hub": false,
107
+ "repo_id": "local/sarm_wbcd_packing",
108
+ "private": null,
109
+ "tags": null,
110
+ "license": null,
111
+ "pretrained_path": null,
112
+ "annotation_mode": "single_stage",
113
+ "frame_gap": 2,
114
+ "max_rewind_steps": 4,
115
+ "image_dim": 512,
116
+ "text_dim": 512,
117
+ "hidden_dim": 768,
118
+ "num_heads": 12,
119
+ "num_layers": 8,
120
+ "max_state_dim": 32,
121
+ "drop_n_last_frames": 1,
122
+ "batch_size": 64,
123
+ "clip_batch_size": 64,
124
+ "dropout": 0.1,
125
+ "stage_loss_weight": 1.0,
126
+ "rewind_probability": 0.8,
127
+ "language_perturbation_probability": 0.2,
128
+ "num_sparse_stages": 1,
129
+ "sparse_subtask_names": [
130
+ "task"
131
+ ],
132
+ "sparse_temporal_proportions": [
133
+ 1.0
134
+ ],
135
+ "num_dense_stages": null,
136
+ "dense_subtask_names": null,
137
+ "dense_temporal_proportions": null,
138
+ "pretrained_model_path": null,
139
+ "image_key": "observation.images.top",
140
+ "state_key": "observation.state",
141
+ "normalization_mapping": {
142
+ "VISUAL": "IDENTITY",
143
+ "STATE": "MEAN_STD",
144
+ "LANGUAGE": "IDENTITY",
145
+ "REWARD": "IDENTITY"
146
+ }
147
+ },
148
+ "output_dir": "/home/sra/packsarm/sarm_wbcd_packing/scripts/../outputs/sarm_wbcd_packing",
149
+ "job_name": "sarm",
150
+ "resume": false,
151
+ "seed": 1000,
152
+ "num_workers": 4,
153
+ "batch_size": 32,
154
+ "steps": 5000,
155
+ "eval_freq": 0,
156
+ "log_freq": 100,
157
+ "tolerance_s": 0.0001,
158
+ "save_checkpoint": true,
159
+ "save_freq": 1000,
160
+ "use_policy_training_preset": true,
161
+ "optimizer": {
162
+ "type": "adamw",
163
+ "lr": 5e-05,
164
+ "weight_decay": 0.001,
165
+ "grad_clip_norm": 10.0,
166
+ "betas": [
167
+ 0.9,
168
+ 0.999
169
+ ],
170
+ "eps": 1e-08
171
+ },
172
+ "scheduler": {
173
+ "type": "cosine_decay_with_warmup",
174
+ "num_warmup_steps": 500,
175
+ "num_decay_steps": 50000,
176
+ "peak_lr": 5e-05,
177
+ "decay_lr": 5e-06
178
+ },
179
+ "eval": {
180
+ "n_episodes": 50,
181
+ "batch_size": 50,
182
+ "use_async_envs": false
183
+ },
184
+ "wandb": {
185
+ "enable": false,
186
+ "disable_artifact": false,
187
+ "project": "lerobot",
188
+ "entity": null,
189
+ "notes": null,
190
+ "run_id": null,
191
+ "mode": null
192
+ },
193
+ "peft": null,
194
+ "use_rabc": false,
195
+ "rabc_progress_path": null,
196
+ "rabc_kappa": 0.01,
197
+ "rabc_epsilon": 1e-06,
198
+ "rabc_head_mode": "sparse",
199
+ "rename_map": {},
200
+ "checkpoint_path": null
201
+ }