File size: 909 Bytes
3ed0283 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # LIBERO Benchmark
[LIBERO](https://github.com/Lifelong-Robot-Learning/LIBERO) is a benchmark for studying knowledge transfer in multitask and lifelong robot learning problems.

## Environment Setup
```shell
apt-get install libgl1-mesa-dri
cd reference/RoboVLMs
bash scripts/setup_libero.sh
```
Dataset download from [huggingface](https://huggingface.co/datasets/openvla/modified_libero_rlds).
## Dataset Preparation
```shell
# 1. process the dataset
python tools/process/libero_process.py
# 2. extract the vq tokens, need to change the dataset & output path
bash scripts/tokenizer/extract_vq_emu3.sh
# 3. pickle generation for training
python tools/pickle_gen/pickle_generation_libero.py\
--dataset_path ./datasets/processed_data \
--output_path ./datasets/processed_data/meta \
--normalizer_path ./configs/normalizer_libero \
--output_filename libero_all_norm.pkl
```
|