Add docs
Browse files- docs/calvin.md +38 -0
- docs/imgs/calvin.png +3 -0
- docs/imgs/ellsa.png +3 -0
- docs/imgs/example.png +3 -0
- docs/imgs/libero.png +3 -0
- docs/libero.md +32 -0
docs/calvin.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CALVIN Benchmark
|
| 2 |
+
|
| 3 |
+
[CALVIN](https://github.com/mees/calvin) is a benchmark for evaluating vision-language models in robotic long-horizon manipulation tasks.
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
| Method | Mode | Setting | AVG | CKPT |
|
| 8 |
+
|--------|-------|----------------------------------------------|------|------|
|
| 9 |
+
| UniVLA | video sft | ABCD->D | 4.63 (5x:4.71) | [huggingface](https://huggingface.co/Yuqi1997/UniVLA/tree/main/UNIVLA_CALVIN_ABCD_VIDEO_BS192_8K) |
|
| 10 |
+
|
| 11 |
+
## Environment Setup
|
| 12 |
+
We follow the [RoboVLMs](https://github.com/Robot-VLAs/RoboVLMs) repository for environment setup. This setup is only for evaluation. The following steps are required to set up the environment:
|
| 13 |
+
|
| 14 |
+
```shell
|
| 15 |
+
# Install dependencies
|
| 16 |
+
cd reference/RoboVLMs
|
| 17 |
+
|
| 18 |
+
# This will install the required environment and download the calvin dataset.
|
| 19 |
+
bash scripts/setup_calvin.sh
|
| 20 |
+
|
| 21 |
+
# Only for rendering environment.
|
| 22 |
+
bash scripts/setup_calvin_vla.sh
|
| 23 |
+
|
| 24 |
+
# Check if the environment is set up correctly
|
| 25 |
+
python eval/calvin/env_test.py
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Dataset Preparation
|
| 29 |
+
```shell
|
| 30 |
+
# 1. process the dataset
|
| 31 |
+
python tools/process/calvin_process.py
|
| 32 |
+
|
| 33 |
+
# 2. extract the vq tokens, need to change the dataset & output path
|
| 34 |
+
bash scripts/tokenizer/extract_vq_emu3.sh
|
| 35 |
+
|
| 36 |
+
# 3. pickle generation for training
|
| 37 |
+
python tools/pickle_gen/pickle_generation_calvin.py
|
| 38 |
+
```
|
docs/imgs/calvin.png
ADDED
|
Git LFS Details
|
docs/imgs/ellsa.png
ADDED
|
Git LFS Details
|
docs/imgs/example.png
ADDED
|
Git LFS Details
|
docs/imgs/libero.png
ADDED
|
Git LFS Details
|
docs/libero.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LIBERO Benchmark
|
| 2 |
+
|
| 3 |
+
[LIBERO](https://github.com/Lifelong-Robot-Learning/LIBERO) is a benchmark for studying knowledge transfer in multitask and lifelong robot learning problems.
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
## Environment Setup
|
| 8 |
+
```shell
|
| 9 |
+
apt-get install libgl1-mesa-dri
|
| 10 |
+
|
| 11 |
+
cd reference/RoboVLMs
|
| 12 |
+
|
| 13 |
+
bash scripts/setup_libero.sh
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
Dataset download from [huggingface](https://huggingface.co/datasets/openvla/modified_libero_rlds).
|
| 17 |
+
|
| 18 |
+
## Dataset Preparation
|
| 19 |
+
```shell
|
| 20 |
+
# 1. process the dataset
|
| 21 |
+
python tools/process/libero_process.py
|
| 22 |
+
|
| 23 |
+
# 2. extract the vq tokens, need to change the dataset & output path
|
| 24 |
+
bash scripts/tokenizer/extract_vq_emu3.sh
|
| 25 |
+
|
| 26 |
+
# 3. pickle generation for training
|
| 27 |
+
python tools/pickle_gen/pickle_generation_libero.py\
|
| 28 |
+
--dataset_path ./datasets/processed_data \
|
| 29 |
+
--output_path ./datasets/processed_data/meta \
|
| 30 |
+
--normalizer_path ./configs/normalizer_libero \
|
| 31 |
+
--output_filename libero_all_norm.pkl
|
| 32 |
+
```
|