huggingface / huggingface/diffusers

MotionMaster: Training-free Camera Motion Transfer For Video Generation

Aperta
#7,864 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
community-examples contributions-welcome Good second issue
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

### Model/Pipeline/Scheduler description

Currently, most existing camera motion control methods for video generation with denoising diffusion models rely on training a temporal camera module, and necessitate substantial computation resources due to the large amount of parameters in video generation models.

The authors of MotionMaster, a novel training-free video motion transfer model, first disentangling camera and object motion embeddings extracted from temporal attention maps during the DDIM inversion of the source video(s), and then transferring the extracted camera motion to new videos through two methods:

- A one-shot camera motion disentanglement method given a single source video, which cuts out the temporal attention map of the foreground region to disentangle foreground object motion, and then estimates the camera motion component of the temporal attention map in the foreground region by solving a Poisson equation to satisfy smoothness and boundary constraints.
- A few-shot camera motion disentanglement method to extract common camera motion from multiple videos, which employs a window-based clustering technique for each spatial token to extract common features from temporal attention maps of multiple videos.

Finally, the authors demonstrate the linearity and spatial-token decomposability of the latent space of camera motion features formed by the extracted temporal attention maps, enabling further flexibility in combining and altering camera motion features before injection into target videos.

### Open source status

- [X] The model implementation is available.
- [X] The model weights are available (Only relevant if addition is not a scheduler).

### Provide useful links for the implementation

Github: https://github.com/sjtuplayer/MotionMaster
Paper: https://arxiv.org/pdf/2404.15789
Project Website: https://sjtuplayer.github.io/projects/MotionMaster/
Main author: @sjtuplayer

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the MotionMaster GitHub implementation, paper, and project website linked in the issue, then compare its scope with existing video-generation integrations in this repository. The issue names no target files, tests, or integration entry point; completion would require a defined integration plan and acceptance criteria from maintainers.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
computer-vision, machine-learning
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
15/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.