Skip to content

kyle-hatch-tri/DynamiCrafter_ghil-glue

 
 

Repository files navigation

Train Video-Generative High-Level Policies for GHIL-Glue

This fork of the DynamicCrafter repo contains code for training video-generative high-level policies for GHIL-Glue.

Installation

conda create -n dynamicrafter python=3.8.5
conda activate dynamicrafter
pip install -r requirements.txt

For troubleshooting see https://github.com/Doubiiu/DynamiCrafter

Download checkpoints

The trained diffusion model checkpoints can be downloaded from https://huggingface.co/kyle-hatch-tri/ghil-glue-checkpoints

Data

  1. Raw datasets can be downloaded following the instructions from the BridgeData V2 and the CALVIN repos.
  2. These should then be processed using the instructions from our fork of the BridgeData V2 repo.
  3. Convert the processed datasets to webvid_format using preprocess_bridge_data.py and preprocess_calvin_data.py.

Training

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.

About

Code for training video-generative high level policies for GHIL-Glue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.0%
  • Shell 2.6%
  • Other 1.4%