AriRyo commited on
Commit
d627641
·
verified ·
1 Parent(s): 6dd3fae

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 +220 -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
+ - 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,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_12",
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:08ed4a927a94bf3205b0a4350a1ae7acf5f4320d93c7fb3d47865901aeb9e02f
3
+ size 8474064688
train_config.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ],
19
+ "image_transforms": {
20
+ "enable": false,
21
+ "max_num_transforms": 3,
22
+ "random_order": false,
23
+ "tfs": {
24
+ "brightness": {
25
+ "weight": 1.0,
26
+ "type": "ColorJitter",
27
+ "kwargs": {
28
+ "brightness": [
29
+ 0.8,
30
+ 1.2
31
+ ]
32
+ }
33
+ },
34
+ "contrast": {
35
+ "weight": 1.0,
36
+ "type": "ColorJitter",
37
+ "kwargs": {
38
+ "contrast": [
39
+ 0.8,
40
+ 1.2
41
+ ]
42
+ }
43
+ },
44
+ "saturation": {
45
+ "weight": 1.0,
46
+ "type": "ColorJitter",
47
+ "kwargs": {
48
+ "saturation": [
49
+ 0.5,
50
+ 1.5
51
+ ]
52
+ }
53
+ },
54
+ "hue": {
55
+ "weight": 1.0,
56
+ "type": "ColorJitter",
57
+ "kwargs": {
58
+ "hue": [
59
+ -0.05,
60
+ 0.05
61
+ ]
62
+ }
63
+ },
64
+ "sharpness": {
65
+ "weight": 1.0,
66
+ "type": "SharpnessJitter",
67
+ "kwargs": {
68
+ "sharpness": [
69
+ 0.5,
70
+ 1.5
71
+ ]
72
+ }
73
+ },
74
+ "affine": {
75
+ "weight": 1.0,
76
+ "type": "RandomAffine",
77
+ "kwargs": {
78
+ "degrees": [
79
+ -5.0,
80
+ 5.0
81
+ ],
82
+ "translate": [
83
+ 0.05,
84
+ 0.05
85
+ ]
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "revision": null,
91
+ "use_imagenet_stats": true,
92
+ "video_backend": "torchcodec",
93
+ "streaming": false
94
+ },
95
+ "env": null,
96
+ "policy": {
97
+ "type": "wall_x",
98
+ "n_obs_steps": 1,
99
+ "input_features": {
100
+ "observation.state": {
101
+ "type": "STATE",
102
+ "shape": [
103
+ 6
104
+ ]
105
+ },
106
+ "observation.images.above": {
107
+ "type": "VISUAL",
108
+ "shape": [
109
+ 3,
110
+ 480,
111
+ 640
112
+ ]
113
+ },
114
+ "observation.images.side": {
115
+ "type": "VISUAL",
116
+ "shape": [
117
+ 3,
118
+ 480,
119
+ 640
120
+ ]
121
+ }
122
+ },
123
+ "output_features": {
124
+ "action": {
125
+ "type": "ACTION",
126
+ "shape": [
127
+ 6
128
+ ]
129
+ }
130
+ },
131
+ "device": "cuda",
132
+ "use_amp": false,
133
+ "use_peft": false,
134
+ "push_to_hub": true,
135
+ "repo_id": "AriRyo/blockpick_gray_walloss_12",
136
+ "private": null,
137
+ "tags": null,
138
+ "license": null,
139
+ "pretrained_path": null,
140
+ "chunk_size": 32,
141
+ "n_action_steps": 32,
142
+ "max_action_dim": 20,
143
+ "max_state_dim": 20,
144
+ "normalization_mapping": {
145
+ "VISUAL": "IDENTITY",
146
+ "STATE": "MEAN_STD",
147
+ "ACTION": "MEAN_STD"
148
+ },
149
+ "pretrained_name_or_path": "x-square-robot/wall-oss-flow",
150
+ "action_tokenizer_path": null,
151
+ "prediction_mode": "diffusion",
152
+ "attn_implementation": "eager",
153
+ "optimizer_lr": 2e-05,
154
+ "optimizer_betas": [
155
+ 0.9,
156
+ 0.95
157
+ ],
158
+ "optimizer_eps": 1e-08,
159
+ "optimizer_weight_decay": 0.01,
160
+ "optimizer_grad_clip_norm": 1.0,
161
+ "scheduler_warmup_steps": 1000,
162
+ "scheduler_decay_steps": 100000,
163
+ "scheduler_decay_lr": 1e-06
164
+ },
165
+ "output_dir": "outputs/train/blockpick_gray_walloss_12",
166
+ "job_name": "blockpick_gray_walloss_12",
167
+ "resume": false,
168
+ "seed": 1000,
169
+ "cudnn_deterministic": false,
170
+ "num_workers": 4,
171
+ "batch_size": 2,
172
+ "steps": 4000,
173
+ "eval_freq": 20000,
174
+ "log_freq": 200,
175
+ "tolerance_s": 0.0001,
176
+ "save_checkpoint": true,
177
+ "save_freq": 1000,
178
+ "use_policy_training_preset": true,
179
+ "optimizer": {
180
+ "type": "adamw",
181
+ "lr": 2e-05,
182
+ "weight_decay": 0.01,
183
+ "grad_clip_norm": 1.0,
184
+ "betas": [
185
+ 0.9,
186
+ 0.95
187
+ ],
188
+ "eps": 1e-08
189
+ },
190
+ "scheduler": {
191
+ "type": "cosine_decay_with_warmup",
192
+ "num_warmup_steps": 1000,
193
+ "num_decay_steps": 100000,
194
+ "peak_lr": 2e-05,
195
+ "decay_lr": 1e-06
196
+ },
197
+ "eval": {
198
+ "n_episodes": 50,
199
+ "batch_size": 50,
200
+ "use_async_envs": false
201
+ },
202
+ "wandb": {
203
+ "enable": true,
204
+ "disable_artifact": true,
205
+ "project": "lerobot",
206
+ "entity": null,
207
+ "notes": null,
208
+ "run_id": "3wvj9s52",
209
+ "mode": null,
210
+ "add_tags": true
211
+ },
212
+ "peft": null,
213
+ "use_rabc": false,
214
+ "rabc_progress_path": null,
215
+ "rabc_kappa": 0.01,
216
+ "rabc_epsilon": 1e-06,
217
+ "rabc_head_mode": "sparse",
218
+ "rename_map": {},
219
+ "checkpoint_path": null
220
+ }