gimarchetti commited on
Commit
a8fb330
·
verified ·
1 Parent(s): e21f6cc

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +91 -0
  3. model.safetensors +3 -0
  4. train_config.json +227 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: gimarchetti/clr-experiment-dataset
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: wall_x
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - wall_x
9
+ - robotics
10
+ - lerobot
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,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "wall_x",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 448,
10
+ 448
11
+ ]
12
+ },
13
+ "observation.wrist_image": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 448,
18
+ 448
19
+ ]
20
+ },
21
+ "observation.left_scene_image": {
22
+ "type": "VISUAL",
23
+ "shape": [
24
+ 3,
25
+ 448,
26
+ 448
27
+ ]
28
+ },
29
+ "observation.right_scene_image": {
30
+ "type": "VISUAL",
31
+ "shape": [
32
+ 3,
33
+ 448,
34
+ 448
35
+ ]
36
+ },
37
+ "observation.state": {
38
+ "type": "STATE",
39
+ "shape": [
40
+ 7
41
+ ]
42
+ },
43
+ "observation.eef_pose": {
44
+ "type": "STATE",
45
+ "shape": [
46
+ 7
47
+ ]
48
+ }
49
+ },
50
+ "output_features": {
51
+ "action": {
52
+ "type": "ACTION",
53
+ "shape": [
54
+ 7
55
+ ]
56
+ }
57
+ },
58
+ "device": "cuda",
59
+ "use_amp": false,
60
+ "use_peft": false,
61
+ "push_to_hub": true,
62
+ "repo_id": "gimarchetti/clr-experiment-wall_x",
63
+ "private": null,
64
+ "tags": null,
65
+ "license": null,
66
+ "pretrained_path": null,
67
+ "chunk_size": 30,
68
+ "n_action_steps": 15,
69
+ "max_action_dim": 20,
70
+ "max_state_dim": 20,
71
+ "normalization_mapping": {
72
+ "VISUAL": "IDENTITY",
73
+ "STATE": "MEAN_STD",
74
+ "ACTION": "MEAN_STD"
75
+ },
76
+ "pretrained_name_or_path": "x-square-robot/wall-oss-flow",
77
+ "action_tokenizer_path": null,
78
+ "prediction_mode": "diffusion",
79
+ "attn_implementation": "eager",
80
+ "optimizer_lr": 2e-05,
81
+ "optimizer_betas": [
82
+ 0.9,
83
+ 0.95
84
+ ],
85
+ "optimizer_eps": 1e-08,
86
+ "optimizer_weight_decay": 0.01,
87
+ "optimizer_grad_clip_norm": 1.0,
88
+ "scheduler_warmup_steps": 1000,
89
+ "scheduler_decay_steps": 100000,
90
+ "scheduler_decay_lr": 1e-06
91
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15eb030b16266689877e0369089593e2bc0c88e7933b42880fa4e8fa3725ff30
3
+ size 8474064688
train_config.json ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "gimarchetti/clr-experiment-dataset",
4
+ "root": "./dataset/teleoperation_clr_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": "wall_x",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.image": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 448,
92
+ 448
93
+ ]
94
+ },
95
+ "observation.wrist_image": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 3,
99
+ 448,
100
+ 448
101
+ ]
102
+ },
103
+ "observation.left_scene_image": {
104
+ "type": "VISUAL",
105
+ "shape": [
106
+ 3,
107
+ 448,
108
+ 448
109
+ ]
110
+ },
111
+ "observation.right_scene_image": {
112
+ "type": "VISUAL",
113
+ "shape": [
114
+ 3,
115
+ 448,
116
+ 448
117
+ ]
118
+ },
119
+ "observation.state": {
120
+ "type": "STATE",
121
+ "shape": [
122
+ 7
123
+ ]
124
+ },
125
+ "observation.eef_pose": {
126
+ "type": "STATE",
127
+ "shape": [
128
+ 7
129
+ ]
130
+ }
131
+ },
132
+ "output_features": {
133
+ "action": {
134
+ "type": "ACTION",
135
+ "shape": [
136
+ 7
137
+ ]
138
+ }
139
+ },
140
+ "device": "cuda",
141
+ "use_amp": false,
142
+ "use_peft": false,
143
+ "push_to_hub": true,
144
+ "repo_id": "gimarchetti/clr-experiment-wall_x",
145
+ "private": null,
146
+ "tags": null,
147
+ "license": null,
148
+ "pretrained_path": null,
149
+ "chunk_size": 30,
150
+ "n_action_steps": 15,
151
+ "max_action_dim": 20,
152
+ "max_state_dim": 20,
153
+ "normalization_mapping": {
154
+ "VISUAL": "IDENTITY",
155
+ "STATE": "MEAN_STD",
156
+ "ACTION": "MEAN_STD"
157
+ },
158
+ "pretrained_name_or_path": "x-square-robot/wall-oss-flow",
159
+ "action_tokenizer_path": null,
160
+ "prediction_mode": "diffusion",
161
+ "attn_implementation": "eager",
162
+ "optimizer_lr": 2e-05,
163
+ "optimizer_betas": [
164
+ 0.9,
165
+ 0.95
166
+ ],
167
+ "optimizer_eps": 1e-08,
168
+ "optimizer_weight_decay": 0.01,
169
+ "optimizer_grad_clip_norm": 1.0,
170
+ "scheduler_warmup_steps": 1000,
171
+ "scheduler_decay_steps": 100000,
172
+ "scheduler_decay_lr": 1e-06
173
+ },
174
+ "output_dir": "ckpt/clr-experiment-wall_x2026-04-09_03-57-32",
175
+ "job_name": "clr-experiment-wall_x2026-04-09_03-57-32",
176
+ "resume": false,
177
+ "seed": 1000,
178
+ "num_workers": 4,
179
+ "batch_size": 2,
180
+ "steps": 3000,
181
+ "eval_freq": -1,
182
+ "log_freq": 50,
183
+ "tolerance_s": 0.0001,
184
+ "save_checkpoint": true,
185
+ "save_freq": 20000,
186
+ "use_policy_training_preset": true,
187
+ "optimizer": {
188
+ "type": "adamw",
189
+ "lr": 2e-05,
190
+ "weight_decay": 0.01,
191
+ "grad_clip_norm": 1.0,
192
+ "betas": [
193
+ 0.9,
194
+ 0.95
195
+ ],
196
+ "eps": 1e-08
197
+ },
198
+ "scheduler": {
199
+ "type": "cosine_decay_with_warmup",
200
+ "num_warmup_steps": 1000,
201
+ "num_decay_steps": 100000,
202
+ "peak_lr": 2e-05,
203
+ "decay_lr": 1e-06
204
+ },
205
+ "eval": {
206
+ "n_episodes": 50,
207
+ "batch_size": 50,
208
+ "use_async_envs": false
209
+ },
210
+ "wandb": {
211
+ "enable": true,
212
+ "disable_artifact": false,
213
+ "project": "lerobot",
214
+ "entity": null,
215
+ "notes": null,
216
+ "run_id": "g7aky94a",
217
+ "mode": null
218
+ },
219
+ "peft": null,
220
+ "use_rabc": false,
221
+ "rabc_progress_path": null,
222
+ "rabc_kappa": 0.01,
223
+ "rabc_epsilon": 1e-06,
224
+ "rabc_head_mode": "sparse",
225
+ "rename_map": {},
226
+ "checkpoint_path": null
227
+ }