This fork of the DynamicCrafter repo contains code for training video-generative high-level policies for GHIL-Glue.
conda create -n dynamicrafter python=3.8.5
conda activate dynamicrafter
pip install -r requirements.txt
For troubleshooting see https://github.com/Doubiiu/DynamiCrafter
The trained diffusion model checkpoints can be downloaded from https://huggingface.co/kyle-hatch-tri/ghil-glue-checkpoints
- Raw datasets can be downloaded following the instructions from the BridgeData V2 and the CALVIN repos.
- These should then be processed using the instructions from our fork of the BridgeData V2 repo.
- Convert the processed datasets to
webvid_formatusingpreprocess_bridge_data.pyandpreprocess_calvin_data.py.
Local training on the CALVIN dataset can be launched with the following command: bash configs/training_256_v1.0/run.sh 0. See the configs folder for other training configurations.
Note that to reproduce the training results in the paper, the diffusion model weights should be initalized from the original checkpoints listed in the DynamicCrafter repo.