Official implementation of "DreamPose: Fashion Image-to-Video Synthesis via Stable Diffusion"
DreamPose is the official implementation of "DreamPose: Fashion Image-to-Video Synthesis via Stable Diffusion," by Johanna Karras, Aleksander Holynski, Ting-Chun Wang, and Ira Kemelmacher-Shlizerman. It is built for researchers who want to generate fashion videos from a single image and a sequence of body poses. The model is finetuned from a pretrained Stable Diffusion checkpoint on the UBC Fashion Dataset.
A user generates a video with pretrained models by downloading and unzipping the checkpoints and sample input poses, then running the test script with parameters for the epoch, pose folder, key frame, and output directory. To finetune on a new subject, a user creates train and test subdirectories of frames, runs DensePose on the images, and reformats the output before finetuning first the UNet and then the VAE decoder on the sample frames.
DreamPose synthesizes a fashion video by combining a key frame image with a sequence of target poses, using parameters such as s1, s2, and the number of diffusion steps to control the output. The pipeline is adapted from the Hugging Face diffusers library and uses accelerate for multi-process training of the UNet and VAE components. Once a subject-specific model is finetuned, a user can generate new frames with the same test script used for the pretrained demo.
DreamPose's code is released under the MIT license and is distributed as research code rather than a hosted service. The base model was trained on two NVIDIA A100 GPUs, and users can either download a pretrained base model from Google Drive or finetune Stable Diffusion on their own image dataset. The authors note the UNet and VAE decoder are finetuned separately on subject-specific sample frames.