y1y2y3 commited on
Commit
b2dfc19
·
verified ·
1 Parent(s): 8672d41

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +81 -0
  3. model.safetensors +3 -0
  4. train_config.json +194 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: y1y2y3/so101_test4
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: pi05_openpi
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - pi05_openpi
9
+ - lerobot
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for pi05_openpi
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,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "pi05_openpi",
3
+ "n_obs_steps": 1,
4
+ "normalization_mapping": {
5
+ "VISUAL": "IDENTITY",
6
+ "STATE": "MEAN_STD",
7
+ "ACTION": "MEAN_STD"
8
+ },
9
+ "input_features": {
10
+ "observation.state": {
11
+ "type": "STATE",
12
+ "shape": [
13
+ 6
14
+ ]
15
+ },
16
+ "observation.images.handeye": {
17
+ "type": "VISUAL",
18
+ "shape": [
19
+ 3,
20
+ 360,
21
+ 640
22
+ ]
23
+ },
24
+ "observation.images.fixed": {
25
+ "type": "VISUAL",
26
+ "shape": [
27
+ 3,
28
+ 360,
29
+ 640
30
+ ]
31
+ }
32
+ },
33
+ "output_features": {
34
+ "action": {
35
+ "type": "ACTION",
36
+ "shape": [
37
+ 6
38
+ ]
39
+ }
40
+ },
41
+ "device": "cuda",
42
+ "use_amp": false,
43
+ "push_to_hub": true,
44
+ "repo_id": "y1y2y3/pi05_1",
45
+ "private": null,
46
+ "tags": null,
47
+ "license": null,
48
+ "pretrained_path": "pepijn223/pi05_base_fp32",
49
+ "paligemma_variant": "gemma_2b",
50
+ "action_expert_variant": "gemma_300m",
51
+ "discrete_state_input": true,
52
+ "dtype": "bfloat16",
53
+ "chunk_size": 50,
54
+ "n_action_steps": 50,
55
+ "max_state_dim": 32,
56
+ "max_action_dim": 32,
57
+ "num_inference_steps": 10,
58
+ "time_sampling_beta_alpha": 1.5,
59
+ "time_sampling_beta_beta": 1.0,
60
+ "min_period": 0.004,
61
+ "max_period": 4.0,
62
+ "image_resolution": [
63
+ 224,
64
+ 224
65
+ ],
66
+ "gradient_checkpointing": true,
67
+ "compile_model": true,
68
+ "compile_mode": "max-autotune",
69
+ "optimizer_lr": 2.5e-05,
70
+ "optimizer_betas": [
71
+ 0.9,
72
+ 0.95
73
+ ],
74
+ "optimizer_eps": 1e-08,
75
+ "optimizer_weight_decay": 0.01,
76
+ "optimizer_grad_clip_norm": 1.0,
77
+ "scheduler_warmup_steps": 1000,
78
+ "scheduler_decay_steps": 400,
79
+ "scheduler_decay_lr": 2.5e-06,
80
+ "tokenizer_max_length": 200
81
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf8b0fd26269299050da092d0a7529d6dcdf30baffa8bcdd8fb642277e42d6f1
3
+ size 7473097136
train_config.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "y1y2y3/so101_test4",
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
+ }
62
+ },
63
+ "revision": null,
64
+ "use_imagenet_stats": true,
65
+ "video_backend": "torchcodec",
66
+ "streaming": false
67
+ },
68
+ "env": null,
69
+ "policy": {
70
+ "type": "pi05_openpi",
71
+ "n_obs_steps": 1,
72
+ "normalization_mapping": {
73
+ "VISUAL": "IDENTITY",
74
+ "STATE": "MEAN_STD",
75
+ "ACTION": "MEAN_STD"
76
+ },
77
+ "input_features": {
78
+ "observation.state": {
79
+ "type": "STATE",
80
+ "shape": [
81
+ 6
82
+ ]
83
+ },
84
+ "observation.images.handeye": {
85
+ "type": "VISUAL",
86
+ "shape": [
87
+ 3,
88
+ 360,
89
+ 640
90
+ ]
91
+ },
92
+ "observation.images.fixed": {
93
+ "type": "VISUAL",
94
+ "shape": [
95
+ 3,
96
+ 360,
97
+ 640
98
+ ]
99
+ }
100
+ },
101
+ "output_features": {
102
+ "action": {
103
+ "type": "ACTION",
104
+ "shape": [
105
+ 6
106
+ ]
107
+ }
108
+ },
109
+ "device": "cuda",
110
+ "use_amp": false,
111
+ "push_to_hub": true,
112
+ "repo_id": "y1y2y3/pi05_1",
113
+ "private": null,
114
+ "tags": null,
115
+ "license": null,
116
+ "pretrained_path": "pepijn223/pi05_base_fp32",
117
+ "paligemma_variant": "gemma_2b",
118
+ "action_expert_variant": "gemma_300m",
119
+ "discrete_state_input": true,
120
+ "dtype": "bfloat16",
121
+ "chunk_size": 50,
122
+ "n_action_steps": 50,
123
+ "max_state_dim": 32,
124
+ "max_action_dim": 32,
125
+ "num_inference_steps": 10,
126
+ "time_sampling_beta_alpha": 1.5,
127
+ "time_sampling_beta_beta": 1.0,
128
+ "min_period": 0.004,
129
+ "max_period": 4.0,
130
+ "image_resolution": [
131
+ 224,
132
+ 224
133
+ ],
134
+ "gradient_checkpointing": true,
135
+ "compile_model": true,
136
+ "compile_mode": "max-autotune",
137
+ "optimizer_lr": 2.5e-05,
138
+ "optimizer_betas": [
139
+ 0.9,
140
+ 0.95
141
+ ],
142
+ "optimizer_eps": 1e-08,
143
+ "optimizer_weight_decay": 0.01,
144
+ "optimizer_grad_clip_norm": 1.0,
145
+ "scheduler_warmup_steps": 1000,
146
+ "scheduler_decay_steps": 400,
147
+ "scheduler_decay_lr": 2.5e-06,
148
+ "tokenizer_max_length": 200
149
+ },
150
+ "output_dir": "outputs/train/so101_test4_pi05_1",
151
+ "job_name": "pi05_1",
152
+ "resume": false,
153
+ "seed": 1000,
154
+ "num_workers": 4,
155
+ "batch_size": 1,
156
+ "steps": 400,
157
+ "eval_freq": 20000,
158
+ "log_freq": 200,
159
+ "save_checkpoint": true,
160
+ "save_freq": 20000,
161
+ "use_policy_training_preset": true,
162
+ "optimizer": {
163
+ "type": "adamw",
164
+ "lr": 2.5e-05,
165
+ "weight_decay": 0.01,
166
+ "grad_clip_norm": 1.0,
167
+ "betas": [
168
+ 0.9,
169
+ 0.95
170
+ ],
171
+ "eps": 1e-08
172
+ },
173
+ "scheduler": {
174
+ "type": "cosine_decay_with_warmup",
175
+ "num_warmup_steps": 1000,
176
+ "num_decay_steps": 400,
177
+ "peak_lr": 2.5e-05,
178
+ "decay_lr": 2.5e-06
179
+ },
180
+ "eval": {
181
+ "n_episodes": 50,
182
+ "batch_size": 50,
183
+ "use_async_envs": false
184
+ },
185
+ "wandb": {
186
+ "enable": true,
187
+ "disable_artifact": false,
188
+ "project": "lerobot",
189
+ "entity": null,
190
+ "notes": null,
191
+ "run_id": "i8dnzuja",
192
+ "mode": null
193
+ }
194
+ }