AriRyo commited on
Commit
24139a7
·
verified ·
1 Parent(s): 39fc34b

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +69 -0
  3. model.safetensors +3 -0
  4. train_config.json +256 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: AriRyo/blockpick_gray_03
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: wall_x
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - lerobot
10
+ - wall_x
11
+ ---
12
+
13
+ # Model Card for wall_x
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "wall_x",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.above": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.side": {
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
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "AriRyo/blockpick_gray_walloss_48",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "chunk_size": 32,
46
+ "n_action_steps": 32,
47
+ "max_action_dim": 20,
48
+ "max_state_dim": 20,
49
+ "normalization_mapping": {
50
+ "VISUAL": "IDENTITY",
51
+ "STATE": "MEAN_STD",
52
+ "ACTION": "MEAN_STD"
53
+ },
54
+ "pretrained_name_or_path": "x-square-robot/wall-oss-flow",
55
+ "action_tokenizer_path": null,
56
+ "prediction_mode": "diffusion",
57
+ "attn_implementation": "eager",
58
+ "optimizer_lr": 2e-05,
59
+ "optimizer_betas": [
60
+ 0.9,
61
+ 0.95
62
+ ],
63
+ "optimizer_eps": 1e-08,
64
+ "optimizer_weight_decay": 0.01,
65
+ "optimizer_grad_clip_norm": 1.0,
66
+ "scheduler_warmup_steps": 1000,
67
+ "scheduler_decay_steps": 100000,
68
+ "scheduler_decay_lr": 1e-06
69
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fd2170b93bfdb58f76a33e71b0762e6d11bc3840ef1ad84d5d1075793fbc3e6
3
+ size 8474064688
train_config.json ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "AriRyo/blockpick_gray_03",
4
+ "root": null,
5
+ "episodes": [
6
+ 0,
7
+ 1,
8
+ 2,
9
+ 3,
10
+ 4,
11
+ 5,
12
+ 6,
13
+ 7,
14
+ 8,
15
+ 9,
16
+ 10,
17
+ 11,
18
+ 12,
19
+ 13,
20
+ 14,
21
+ 15,
22
+ 16,
23
+ 17,
24
+ 18,
25
+ 19,
26
+ 20,
27
+ 21,
28
+ 22,
29
+ 23,
30
+ 24,
31
+ 25,
32
+ 26,
33
+ 27,
34
+ 28,
35
+ 29,
36
+ 30,
37
+ 31,
38
+ 32,
39
+ 33,
40
+ 34,
41
+ 35,
42
+ 36,
43
+ 37,
44
+ 38,
45
+ 39,
46
+ 40,
47
+ 41,
48
+ 42,
49
+ 43,
50
+ 44,
51
+ 45,
52
+ 46,
53
+ 47
54
+ ],
55
+ "image_transforms": {
56
+ "enable": false,
57
+ "max_num_transforms": 3,
58
+ "random_order": false,
59
+ "tfs": {
60
+ "brightness": {
61
+ "weight": 1.0,
62
+ "type": "ColorJitter",
63
+ "kwargs": {
64
+ "brightness": [
65
+ 0.8,
66
+ 1.2
67
+ ]
68
+ }
69
+ },
70
+ "contrast": {
71
+ "weight": 1.0,
72
+ "type": "ColorJitter",
73
+ "kwargs": {
74
+ "contrast": [
75
+ 0.8,
76
+ 1.2
77
+ ]
78
+ }
79
+ },
80
+ "saturation": {
81
+ "weight": 1.0,
82
+ "type": "ColorJitter",
83
+ "kwargs": {
84
+ "saturation": [
85
+ 0.5,
86
+ 1.5
87
+ ]
88
+ }
89
+ },
90
+ "hue": {
91
+ "weight": 1.0,
92
+ "type": "ColorJitter",
93
+ "kwargs": {
94
+ "hue": [
95
+ -0.05,
96
+ 0.05
97
+ ]
98
+ }
99
+ },
100
+ "sharpness": {
101
+ "weight": 1.0,
102
+ "type": "SharpnessJitter",
103
+ "kwargs": {
104
+ "sharpness": [
105
+ 0.5,
106
+ 1.5
107
+ ]
108
+ }
109
+ },
110
+ "affine": {
111
+ "weight": 1.0,
112
+ "type": "RandomAffine",
113
+ "kwargs": {
114
+ "degrees": [
115
+ -5.0,
116
+ 5.0
117
+ ],
118
+ "translate": [
119
+ 0.05,
120
+ 0.05
121
+ ]
122
+ }
123
+ }
124
+ }
125
+ },
126
+ "revision": null,
127
+ "use_imagenet_stats": true,
128
+ "video_backend": "torchcodec",
129
+ "streaming": false
130
+ },
131
+ "env": null,
132
+ "policy": {
133
+ "type": "wall_x",
134
+ "n_obs_steps": 1,
135
+ "input_features": {
136
+ "observation.state": {
137
+ "type": "STATE",
138
+ "shape": [
139
+ 6
140
+ ]
141
+ },
142
+ "observation.images.above": {
143
+ "type": "VISUAL",
144
+ "shape": [
145
+ 3,
146
+ 480,
147
+ 640
148
+ ]
149
+ },
150
+ "observation.images.side": {
151
+ "type": "VISUAL",
152
+ "shape": [
153
+ 3,
154
+ 480,
155
+ 640
156
+ ]
157
+ }
158
+ },
159
+ "output_features": {
160
+ "action": {
161
+ "type": "ACTION",
162
+ "shape": [
163
+ 6
164
+ ]
165
+ }
166
+ },
167
+ "device": "cuda",
168
+ "use_amp": false,
169
+ "use_peft": false,
170
+ "push_to_hub": true,
171
+ "repo_id": "AriRyo/blockpick_gray_walloss_48",
172
+ "private": null,
173
+ "tags": null,
174
+ "license": null,
175
+ "pretrained_path": null,
176
+ "chunk_size": 32,
177
+ "n_action_steps": 32,
178
+ "max_action_dim": 20,
179
+ "max_state_dim": 20,
180
+ "normalization_mapping": {
181
+ "VISUAL": "IDENTITY",
182
+ "STATE": "MEAN_STD",
183
+ "ACTION": "MEAN_STD"
184
+ },
185
+ "pretrained_name_or_path": "x-square-robot/wall-oss-flow",
186
+ "action_tokenizer_path": null,
187
+ "prediction_mode": "diffusion",
188
+ "attn_implementation": "eager",
189
+ "optimizer_lr": 2e-05,
190
+ "optimizer_betas": [
191
+ 0.9,
192
+ 0.95
193
+ ],
194
+ "optimizer_eps": 1e-08,
195
+ "optimizer_weight_decay": 0.01,
196
+ "optimizer_grad_clip_norm": 1.0,
197
+ "scheduler_warmup_steps": 1000,
198
+ "scheduler_decay_steps": 100000,
199
+ "scheduler_decay_lr": 1e-06
200
+ },
201
+ "output_dir": "outputs/train/blockpick_gray_walloss_48",
202
+ "job_name": "blockpick_gray_walloss_48",
203
+ "resume": false,
204
+ "seed": 1000,
205
+ "cudnn_deterministic": false,
206
+ "num_workers": 4,
207
+ "batch_size": 2,
208
+ "steps": 4000,
209
+ "eval_freq": 20000,
210
+ "log_freq": 200,
211
+ "tolerance_s": 0.0001,
212
+ "save_checkpoint": true,
213
+ "save_freq": 1000,
214
+ "use_policy_training_preset": true,
215
+ "optimizer": {
216
+ "type": "adamw",
217
+ "lr": 2e-05,
218
+ "weight_decay": 0.01,
219
+ "grad_clip_norm": 1.0,
220
+ "betas": [
221
+ 0.9,
222
+ 0.95
223
+ ],
224
+ "eps": 1e-08
225
+ },
226
+ "scheduler": {
227
+ "type": "cosine_decay_with_warmup",
228
+ "num_warmup_steps": 1000,
229
+ "num_decay_steps": 100000,
230
+ "peak_lr": 2e-05,
231
+ "decay_lr": 1e-06
232
+ },
233
+ "eval": {
234
+ "n_episodes": 50,
235
+ "batch_size": 50,
236
+ "use_async_envs": false
237
+ },
238
+ "wandb": {
239
+ "enable": true,
240
+ "disable_artifact": true,
241
+ "project": "lerobot",
242
+ "entity": null,
243
+ "notes": null,
244
+ "run_id": "ygyewjjo",
245
+ "mode": null,
246
+ "add_tags": true
247
+ },
248
+ "peft": null,
249
+ "use_rabc": false,
250
+ "rabc_progress_path": null,
251
+ "rabc_kappa": 0.01,
252
+ "rabc_epsilon": 1e-06,
253
+ "rabc_head_mode": "sparse",
254
+ "rename_map": {},
255
+ "checkpoint_path": null
256
+ }