Robotics
LeRobot
Safetensors
rewact
villekuosmanen commited on
Commit
2a4e8ba
·
verified ·
1 Parent(s): 3bcbfc9

Upload policy weights, train config and readme

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