Skip to content

Commit 23d502c

Browse files
committed
docs: add config for pi0.5 evaluation on libero using HF checkpoint
1 parent 857a1b0 commit 23d502c

File tree

2 files changed

+162
-2
lines changed

2 files changed

+162
-2
lines changed

configs/examples/pi05_config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@
8585
"wandb": {
8686
"enable": true,
8787
"entity": "wyautox-autox",
88-
"project": "tau0",
88+
"project": "pi05",
8989
"run_id": null,
9090
"name": null,
91-
"notes": "Dev config for pi0",
91+
"notes": "Dev config for pi0.5",
9292
"tags": [],
9393
"group": null,
9494
"job_type": null,
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
{
2+
"dataset_mixture": {
3+
"datasets": [
4+
{
5+
"repo_id": "lerobot/droid_100"
6+
}
7+
],
8+
"weights": [
9+
1.0
10+
],
11+
"action_freq": 30.0,
12+
"image_resample_strategy": "nearest",
13+
"vector_resample_strategy": "nearest"
14+
},
15+
"policy": {
16+
"type": "pi05",
17+
"pretrained_path": "TensorAuto/tPi0.5-libero",
18+
"n_obs_steps": 1,
19+
"input_features": {
20+
"camera0": {
21+
"shape": [
22+
3,
23+
224,
24+
224
25+
],
26+
"type": "VISUAL"
27+
},
28+
"camera1": {
29+
"shape": [
30+
3,
31+
224,
32+
224
33+
],
34+
"type": "VISUAL"
35+
},
36+
"state": {
37+
"shape": [
38+
32
39+
],
40+
"type": "STATE"
41+
}
42+
},
43+
"output_features": {
44+
"actions": {
45+
"shape": [
46+
32
47+
],
48+
"type": "ACTION"
49+
}
50+
},
51+
"normalization_mapping": {
52+
"VISUAL": "IDENTITY",
53+
"STATE": "MIN_MAX",
54+
"ACTION": "MEAN_STD"
55+
},
56+
"chunk_size": 10,
57+
"n_action_steps": 10,
58+
"max_state_dim": 32,
59+
"max_action_dim": 32,
60+
"proj_width": 1024,
61+
"num_steps": 10,
62+
"init_strategy": "no_init",
63+
"attention_implementation": "eager",
64+
"freeze_vision_encoder": false,
65+
"train_expert_only": false,
66+
"tokenizer_max_length": 256,
67+
"discrete_action_max_length": 60,
68+
"optimizer_lr": 2.5e-05,
69+
"optimizer_betas": [
70+
0.9,
71+
0.95
72+
],
73+
"optimizer_eps": 1e-08,
74+
"optimizer_weight_decay": 1e-10,
75+
"scheduler_warmup_steps": 1000,
76+
"scheduler_decay_steps": 30000,
77+
"scheduler_decay_lr": 2.5e-06
78+
},
79+
"output_dir": "outputs/pi05_libero_eval",
80+
"resume": false,
81+
"seed": 1000,
82+
"resolution": [
83+
224,
84+
224
85+
],
86+
"num_cams": 2,
87+
"max_state_dim": 32,
88+
"max_action_dim": 32,
89+
"action_chunk": 10,
90+
"loss_weighting": {
91+
"MSE": 1.0,
92+
"CE": 1.0
93+
},
94+
"num_workers": 4,
95+
"batch_size": 2,
96+
"gradient_accumulation_steps": 1,
97+
"dataloader_batch_size": 2,
98+
"prefetch_factor": 8,
99+
"steps": 100,
100+
"log_freq": 1,
101+
"save_checkpoint": true,
102+
"save_freq": 100,
103+
"use_policy_training_preset": true,
104+
"trace_nans": false,
105+
"optimizer": {
106+
"type": "adamw",
107+
"lr": 2.5e-05,
108+
"weight_decay": 1e-10,
109+
"grad_clip_norm": 10.0,
110+
"betas": [
111+
0.9,
112+
0.95
113+
],
114+
"eps": 1e-08
115+
},
116+
"env": {
117+
"type": "libero",
118+
"task": "libero_10",
119+
"fps": 30,
120+
"max_parallel_tasks": 1,
121+
"task_ids": [
122+
8
123+
],
124+
"episode_length": 520,
125+
"obs_type": "pixels_agent_pos",
126+
"render_mode": "rgb_array",
127+
"camera_name": "agentview_image,robot0_eye_in_hand_image",
128+
"init_states": true,
129+
"camera_name_mapping": null
130+
},
131+
"eval": {
132+
"n_episodes": 2,
133+
"batch_size": 2,
134+
"use_async_envs": true,
135+
"max_episodes_rendered": 2,
136+
"recording_root": "/tmp/libero-rollout",
137+
"grid_size": null
138+
},
139+
"scheduler": {
140+
"type": "cosine_decay_with_warmup",
141+
"num_warmup_steps": 1000,
142+
"num_decay_steps": 30000,
143+
"peak_lr": 2.5e-05,
144+
"decay_lr": 2.5e-06
145+
},
146+
"wandb": {
147+
"enable": true,
148+
"entity": "wyautox-autox",
149+
"project": "pi05",
150+
"run_id": null,
151+
"name": null,
152+
"notes": "Evaluating pi0.5 on libero",
153+
"tags": [],
154+
"group": null,
155+
"job_type": null,
156+
"mode": null,
157+
"allow_resume": true,
158+
"disable_artifact": false
159+
}
160+
}

0 commit comments

Comments
 (0)