# How to generate demos for `metaworld`
1. Under the root directory of this repo, run `python data/metaworld/generate_data.py` to generate demos. The generated demos will be save in `dataset/metaworld_single_demos`, where each task will have a separate folder and each demo is saved as a `.npy` file. 
2. Run `python data/metaworld/generate_rlds_dataset.py`, which will convert `npy` demos to TFDS format. The generated data will be saved under the path `dataset/metaworld_rlds`. You can specify how many demos to use from each task when converting the data. 