huggingface / diffusers

🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
https://huggingface.co/docs/diffusers
Apache License 2.0
23.97k stars 4.93k forks source link

LaVie: High-Quality Video Generation with Cascaded Latent Diffusion Models #5475

Open clarencechen opened 8 months ago

clarencechen commented 8 months ago

Model/Pipeline/Scheduler description

This work aims to learn a high-quality text-to-video (T2V) generative model by leveraging a pre-trained text-to-image (T2I) model as a basis. It is a highly desirable yet challenging task to simultaneously a) accomplish the synthesis of visually realistic and temporally coherent videos while b) preserving the strong creative generation nature of the pre-trained T2I model. To this end, we propose LaVie, an integrated video generation framework that operates on cascaded video latent diffusion models, comprising a base T2V model, a temporal interpolation model, and a video super-resolution model. Our key insights are two-fold: 1) We reveal that the incorporation of simple temporal self-attentions, coupled with relative positional encoding, adequately captures the temporal correlations inherent in video data. 2) Additionally, we validate that the process of joint image-video fine-tuning plays a pivotal role in producing high-quality and creative outcomes. To enhance the performance of LaVie, we contribute a comprehensive and diverse video dataset named Vimeo25M, consisting of 25 million text-video pairs that prioritize quality, diversity, and aesthetic appeal. Extensive experiments demonstrate that LaVie achieves state-of-the-art performance both quantitatively and qualitatively. Furthermore, we showcase the versatility of pre-trained LaVie models in various long video generation and personalized video synthesis applications.

Open source status

Provide useful links for the implementation

Code: https://github.com/Vchitect/LaVie Weights: https://huggingface.co/Vchitect/LaVie/tree/main Paper: https://arxiv.org/pdf/2309.15103.pdf First Author: @wyhsirius

karanjakhar commented 3 months ago

The author has added the implementation here: https://github.com/Vchitect/LaVie

karanjakhar commented 3 months ago

Hi @patrickvonplaten I would like to work on this.

yiyixuxu commented 3 months ago

@karanjakhar feel free to open a PR!