openpi holds open-source models and packages for robotics, published by the Physical Intelligence team.
Currently, this repo contains two types of models:
For both models, we provide base model checkpoints, pre-trained on 10k+ hours of robot data, and examples for using them out of the box or fine-tuning them to your own datasets.
This is an experiment: $\pi_0$ was developed for our own robots, which differ from the widely used platforms such as ALOHA and DROID, and though we are optimistic that researchers and practitioners will be able to run creative new experiments adapting $\pi_0$ to their own platforms, we do not expect every such attempt to be successful. All this is to say: $\pi_0$ may or may not work for you, but you are welcome to try it and see!
🚨 NOTICE:The repository is a fork that adapts the source repository to VLABench's training and evaluation, and is used as a submodule of VLABench. Please refer to here for pi0 evaluation on vlabench. For finetuning, please refer to the script train_vlabench_primitive.sh.
Suppose you have create env vlabench following the instrution in VLABench.
Now,
conda activate vlabench
pip install uv
GIT_LFS_SKIP_SMUDGE=1 uv sync
This will create a venv in openpi directory.
You can diy your training config in here, such as, create a new TrainConfig named vlabench_test.
Then you should compute the corresponing data norm stats by running
uv run scripts/compute_norm_stats.py --config-name vlabench_test
This will create a norm_stats.json in assets/vlabench_test
After getting the norm stats, you can train your policies by:
bash train.sh vlabench_test
You should replace vlabench_test by the config name you create.
After training, you will get some model checkpoints in checkpoints directory. Then, run the multi-gpu evaluation in vlabench conda env by:
bash run_eval.sh vlabench_test checkpoint_path --track xx --task xx
You will get the metric.json in evaluation_results and a figure auto drawed in that directory.
Python
95.0%
Shell
4.5%
openpi holds open-source models and packages for robotics, published by the Physical Intelligence team.
Currently, this repo contains two types of models:
For both models, we provide base model checkpoints, pre-trained on 10k+ hours of robot data, and examples for using them out of the box or fine-tuning them to your own datasets.
This is an experiment: $\pi_0$ was developed for our own robots, which differ from the widely used platforms such as ALOHA and DROID, and though we are optimistic that researchers and practitioners will be able to run creative new experiments adapting $\pi_0$ to their own platforms, we do not expect every such attempt to be successful. All this is to say: $\pi_0$ may or may not work for you, but you are welcome to try it and see!
🚨 NOTICE:The repository is a fork that adapts the source repository to VLABench's training and evaluation, and is used as a submodule of VLABench. Please refer to here for pi0 evaluation on vlabench. For finetuning, please refer to the script train_vlabench_primitive.sh.
Suppose you have create env vlabench following the instrution in VLABench.
Now,
conda activate vlabench
pip install uv
GIT_LFS_SKIP_SMUDGE=1 uv sync
This will create a venv in openpi directory.
You can diy your training config in here, such as, create a new TrainConfig named vlabench_test.
Then you should compute the corresponing data norm stats by running
uv run scripts/compute_norm_stats.py --config-name vlabench_test
This will create a norm_stats.json in assets/vlabench_test
After getting the norm stats, you can train your policies by:
bash train.sh vlabench_test
You should replace vlabench_test by the config name you create.
After training, you will get some model checkpoints in checkpoints directory. Then, run the multi-gpu evaluation in vlabench conda env by:
bash run_eval.sh vlabench_test checkpoint_path --track xx --task xx
You will get the metric.json in evaluation_results and a figure auto drawed in that directory.
Python
95.0%
Shell
4.5%