Skip to content

The official repository of "Spectral Motion Alignment for Video Motion Transfer using Diffusion Models".

Notifications You must be signed in to change notification settings

geonyeong-park/Spectral-Motion-Alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectral-Motion-Alignment (AAAI 2025)

This repository is the official implementation of SMA.
[AAAI 2025] SMA: Spectral Motion Alignment for Video Motion Transfer using Diffusion Models.
Geon Yeong Park*, Hyeonho Jeong*, Sang Wan Lee, Jong Chul Ye

Project Website arXiv


SMA framework distills the motion information in frequency-domain. Our regularization includes (1) global motion alignment based on 1D wavelet-transform, and (2) local motion refinement based on 2D Fourier transform.

News

  • [2024.03.29] Initial Code Release

Setup

Requirements

For the preliminary proof of concepts, this repository is build upon VMC (w/ Show-1 backbone).

(1) Install VMC requirements

pip install -r requirements.txt

(2) Install wavelet libraries

git clone https://github.com/fbcotter/pytorch_wavelets
cd pytorch_wavelets
pip install .
pip install PyWavelets

Usage

The following command will run "train & inference" at the same time:

accelerate launch train_inference.py --config configs/man_skate.yml

Additional Data

We benefit from video dataset released by VMC.

Results

Input Videos Output Videos

More results (w/ MotionDirector)

Input Videos Output Videos

Hyperparameters

Most configurations follows VMC.

  • ld_global: Weight for global motion alignment ($\lambda_{g}$ in the paper). Default 0.4

  • ld_local: Weight for local motion refinement ($\lambda_{l}$ in the paper). Default 0.2

  • num_levels: Number of levels in discrete wavelet transform. Default 2 for 8-frames input video, 3 for 16-frames input video

  • ld_levels: Weight for the alignment of each wavelet coefficients. Default: [1]*(num_levels+1)

Citation

If you make use of our work, please cite our paper.

@article{park2024spectral,
  title={Spectral Motion Alignment for Video Motion Transfer using Diffusion Models},
  author={Park, Geon Yeong and Jeong, Hyeonho and Lee, Sang Wan and Ye, Jong Chul},
  journal={arXiv preprint arXiv:2403.15249},
  year={2024}
}

Shoutouts

About

The official repository of "Spectral Motion Alignment for Video Motion Transfer using Diffusion Models".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages