Robotics
LeRobot
Safetensors
pistar06
Dicomsky commited on
Commit
6ea63ba
·
verified ·
1 Parent(s): a233759

Upload policy weights, train config and readme

Browse files
Files changed (5) hide show
  1. README.md +62 -0
  2. config.json +82 -0
  3. model.safetensors +3 -0
  4. pistar06_save_info.json +11 -0
  5. value_train_config.json +214 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: Dicomsky/human_inloop_grasp
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: pistar06
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - pistar06
9
+ - lerobot
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for pistar06
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,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pistar06",
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
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.wrist": {
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": "Dicomsky/value_human_inloop_grasp",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "vision_repo_id": "google/siglip-so400m-patch14-384",
46
+ "language_repo_id": "google/gemma-3-270m",
47
+ "vision_revision": null,
48
+ "language_revision": null,
49
+ "task_field": "task",
50
+ "camera_features": [],
51
+ "state_feature": "observation.state",
52
+ "include_state_in_prompt": true,
53
+ "max_state_dim": 32,
54
+ "state_discretization_bins": 256,
55
+ "target_key": "observation.value_target",
56
+ "loss_weight_key": "observation.value_loss_weight",
57
+ "task_index_feature": "task_index",
58
+ "tokenizer_max_length": 200,
59
+ "state_proj_dim": 512,
60
+ "fusion_hidden_dim": 512,
61
+ "fusion_num_layers": 2,
62
+ "fusion_num_heads": 8,
63
+ "num_bins": 201,
64
+ "bin_min": -1.0,
65
+ "bin_max": 0.0,
66
+ "dropout": 0.1,
67
+ "dtype": "bfloat16",
68
+ "freeze_vision_encoder": true,
69
+ "freeze_language_model": true,
70
+ "use_gradient_checkpointing": false,
71
+ "optimizer_lr": 5e-05,
72
+ "optimizer_weight_decay": 1e-05,
73
+ "optimizer_grad_clip_norm": 10.0,
74
+ "scheduler_warmup_steps": 500,
75
+ "scheduler_decay_steps": 8000,
76
+ "scheduler_decay_lr": 1e-06,
77
+ "normalization_mapping": {
78
+ "VISUAL": "IDENTITY",
79
+ "STATE": "QUANTILES",
80
+ "ACTION": "IDENTITY"
81
+ }
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b8990146c8562fea035b1a081be1a99e1683a722b6687a83264f39540fd4ab5
3
+ size 6194892
pistar06_save_info.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "excluded_prefixes": [
3
+ "model.vision_encoder.",
4
+ "model.language_model."
5
+ ],
6
+ "format_version": 1,
7
+ "freeze_language_model": true,
8
+ "freeze_vision_encoder": true,
9
+ "saved_tensor_count": 10,
10
+ "weights_mode": "partial"
11
+ }
value_train_config.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Dicomsky/human_inloop_grasp",
4
+ "root": null,
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
+ "value": {
83
+ "type": "pistar06",
84
+ "n_obs_steps": 1,
85
+ "input_features": {
86
+ "observation.state": {
87
+ "type": "STATE",
88
+ "shape": [
89
+ 6
90
+ ]
91
+ },
92
+ "observation.images.top": {
93
+ "type": "VISUAL",
94
+ "shape": [
95
+ 3,
96
+ 480,
97
+ 640
98
+ ]
99
+ },
100
+ "observation.images.wrist": {
101
+ "type": "VISUAL",
102
+ "shape": [
103
+ 3,
104
+ 480,
105
+ 640
106
+ ]
107
+ }
108
+ },
109
+ "output_features": {
110
+ "action": {
111
+ "type": "ACTION",
112
+ "shape": [
113
+ 6
114
+ ]
115
+ }
116
+ },
117
+ "device": "cuda",
118
+ "use_amp": false,
119
+ "use_peft": false,
120
+ "push_to_hub": true,
121
+ "repo_id": "Dicomsky/value_human_inloop_grasp",
122
+ "private": null,
123
+ "tags": null,
124
+ "license": null,
125
+ "pretrained_path": null,
126
+ "vision_repo_id": "google/siglip-so400m-patch14-384",
127
+ "language_repo_id": "google/gemma-3-270m",
128
+ "vision_revision": null,
129
+ "language_revision": null,
130
+ "task_field": "task",
131
+ "camera_features": [],
132
+ "state_feature": "observation.state",
133
+ "include_state_in_prompt": true,
134
+ "max_state_dim": 32,
135
+ "state_discretization_bins": 256,
136
+ "target_key": "observation.value_target",
137
+ "loss_weight_key": "observation.value_loss_weight",
138
+ "task_index_feature": "task_index",
139
+ "tokenizer_max_length": 200,
140
+ "state_proj_dim": 512,
141
+ "fusion_hidden_dim": 512,
142
+ "fusion_num_layers": 2,
143
+ "fusion_num_heads": 8,
144
+ "num_bins": 201,
145
+ "bin_min": -1.0,
146
+ "bin_max": 0.0,
147
+ "dropout": 0.1,
148
+ "dtype": "bfloat16",
149
+ "freeze_vision_encoder": true,
150
+ "freeze_language_model": true,
151
+ "use_gradient_checkpointing": false,
152
+ "optimizer_lr": 5e-05,
153
+ "optimizer_weight_decay": 1e-05,
154
+ "optimizer_grad_clip_norm": 10.0,
155
+ "scheduler_warmup_steps": 500,
156
+ "scheduler_decay_steps": 8000,
157
+ "scheduler_decay_lr": 1e-06,
158
+ "normalization_mapping": {
159
+ "VISUAL": "IDENTITY",
160
+ "STATE": "QUANTILES",
161
+ "ACTION": "IDENTITY"
162
+ }
163
+ },
164
+ "env": null,
165
+ "output_dir": "outputs/value_train/human_inloop_grasp",
166
+ "job_name": "human_inloop_grasp",
167
+ "resume": false,
168
+ "seed": 1000,
169
+ "num_workers": 4,
170
+ "batch_size": 16,
171
+ "steps": 8000,
172
+ "log_freq": 200,
173
+ "tolerance_s": 0.0001,
174
+ "save_checkpoint": true,
175
+ "save_freq": 4000,
176
+ "use_value_training_preset": true,
177
+ "use_policy_training_preset": true,
178
+ "optimizer": {
179
+ "type": "adamw",
180
+ "lr": 5e-05,
181
+ "weight_decay": 1e-05,
182
+ "grad_clip_norm": 10.0,
183
+ "betas": [
184
+ 0.9,
185
+ 0.999
186
+ ],
187
+ "eps": 1e-08
188
+ },
189
+ "scheduler": {
190
+ "type": "cosine_decay_with_warmup",
191
+ "num_warmup_steps": 500,
192
+ "num_decay_steps": 8000,
193
+ "peak_lr": 5e-05,
194
+ "decay_lr": 1e-06
195
+ },
196
+ "targets": {
197
+ "success_field": "episode_success",
198
+ "default_success": "failure",
199
+ "c_fail_coef": 1.0,
200
+ "target_field": "observation.value_target"
201
+ },
202
+ "wandb": {
203
+ "enable": true,
204
+ "disable_artifact": false,
205
+ "project": "lerobot",
206
+ "entity": null,
207
+ "notes": null,
208
+ "run_id": "yf2b7ime",
209
+ "mode": null
210
+ },
211
+ "peft": null,
212
+ "rename_map": {},
213
+ "checkpoint_path": null
214
+ }