#242 · Primary category: Video & Animation

make-a-video-pytorch

artificial-intelligence attention-mechanisms axial-convolutions deep-learning text-to-video

Implementation of Make-A-Video, new SOTA text to video generator from Meta AI, in Pytorch

Project last updated:05/03/24

GitHub Stars

2.0K

Forks

185

Contributors

2

License

MIT

Why we included this project

The key to Meta's Make-A-Video is taking a strong text-to-image diffusion backbone and giving it a sense of time. This PyTorch implementation shows exactly how that happens: pseudo-3D axial convolutions blend information across frames cheaply, and spatio-temporal attention handles long-range motion. The temporal layers are built so they pass 2D image tensors through unchanged and initialize as identity, which means you can train an existing 2D U-Net on images first and then switch to video without redesigning anything. It also includes toggles for training on time and an optional flash-attention path, so porting the pieces into your own diffusion pipeline is straightforward. Just know it is an educational translation of the paper, not a ready-made text-to-video service; you'll wire up the surrounding training and sampling loop yourself.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category