Implementation of Make-A-Video, new SOTA text to video generator from Meta AI, in Pytorch. They combine pseudo-3d convolutions (axial convolutions) and temporal attention and show much better temporal fusion. The pseudo-3d convolutions isn't a new concept. It has been explored before in other contexts, say for protein contact prediction as "dimensional hybrid residual networks". The gist of the paper comes down to, take a SOTA text-to-image model (here they use DALL-E2, but the same learning points would easily apply to Imagen), make a few minor modifications for attention across time and other ways to skimp on the compute cost, do frame interpolation correctly, get a great video model out. Passing in images (if one were to pretrain on images first), both temporal convolution and attention will be automatically skipped. In other words, you can use this straightforwardly in your 2d Unet and then port it over to a 3d Unet once that phase of the training is done.

Features

  • The temporal modules are initialized to output identity as the paper had done
  • You can also control the two modules so that when fed 3-dimensional features, it only does training spatially
  • Full SpaceTimeUnet that is agnostic to images or video training, and where even if video is passed in, time can be ignored
  • Passing in images (if one were to pretrain on images first), both temporal convolution and attention will be automatically skipped
  • The gist of the paper comes down to, take a SOTA text-to-image model
  • Implementation of Make-A-Video, new SOTA text to video generator from Meta AI, in Pytorch

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Make-A-Video - Pytorch (wip)

Make-A-Video - Pytorch (wip) Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Make-A-Video - Pytorch (wip)!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Video Generators, Python Deep Learning Frameworks, Python Generative AI

Registered

2023-03-22