Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
# Pi0-fast official implementation trained on VLABench datasets.
|
| 5 |
+
This repository provides the official release of the Pi0-fast model trained with the whole VLABench's official primitive tasks dataset.
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
## Evaluation
|
| 9 |
+
To run this checkpoint, please clone this repo: https://github.com/Shiduo-zh/openpi, and checkout to the branch `main`.
|
| 10 |
+
Assume that you download this checkpoints and put it in the directory `checkpoints`, to run the policy as server, please run:
|
| 11 |
+
```sh
|
| 12 |
+
bash vla_bench_scipts/serve_policy.sh pifast_ft_vlabench_primitive checkpoints/VLABench/pi0-fast-primitive-10task/29999/
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
After serving the policy, open another terminal and run:
|
| 16 |
+
```sh
|
| 17 |
+
bash vla_bench_scipts/multi_run_vlabench.sh <Your path to store the evaluate results>
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
## Train
|
| 21 |
+
To reproduce the training result, please run the training script with the config `pifast_ft_vlabench_primitive`.
|
| 22 |
+
```sh
|
| 23 |
+
XLA_PYTHON_CLIENT_MEM_FRACTION=0.95 uv run scripts/train.py pifast_ft_vlabench_primitive --exp-name=pi0_ft_vlabench_primitive --overwrite
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
Our checkpoint is trained on 8 H100 for 30k iterations, with 5000 episodes data acrossing 10 tasks.
|
| 27 |
+
|
| 28 |
+
## Reference Results
|
| 29 |
+
The reference success rate of this model is:
|
| 30 |
+
| Track | add_condiment | insert_flower | select_book | select_chemistry_tube | select_drink | select_fruit | select_mahjong | select_painting | select_poker | select_toy | Avg_SR |
|
| 31 |
+
|----------------------------|---------------|---------------|-----------------|-----------------|--------------------|--------------------|-----------------|-----------------|-------------------|-------------------|--------|
|
| 32 |
+
| track_1_in_distribution | 0.42 | 0.04 | 0.28 | 0.16 | 0.082 | 0.38 | 0.24 | 0.48 | 0.58 | 0.24 | 0.291 |
|
| 33 |
+
| track_2_cross_category | 0.04 | ? | 0.184 | 0.08 | 0.12 | 0.32 | 0.10 | 0.46 | ? | 0.14 | 0.181 |
|
| 34 |
+
| track_3_common_sense | 0.32 | ? | 0.28 | 0.24 | 0.1 | 0.32 | 0.02 | 0.36 | ? | 0.14 | 0.211 |
|
| 35 |
+
| track_4_semantic_instruction | 0.24 | ? | 0.17 | 0.14 | 0.12 | 0.32 | 0.12 | 0.44 | ? | 0.1 | 0.199 |
|
| 36 |
+
| track_6_unseen_texture | 0.42 | ? | 0.34 | 0.1 | 0.1 | 0.26 | 0.18 | 0.38 | ? | 0.12 |0.236 |
|