huggingface / huggingface/diffusers

MotionMaster: Training-free Camera Motion Transfer For Video Generation

Abierto
#7,864 1 comentario 0 reacciones 0 asignados Ver en GitHub
community-examples contributions-welcome Good second issue
Lenguaje dominante
Python
Estrellas
34.5k
Forks
7.3k
Merge medio
3 d 3 h
PR fusionados (30 d)
91

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, pytorch
Área
computer-vision, machine-learning
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
15/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.