Code Monkey home page Code Monkey logo

uniedit's Introduction

UniEdit: A Unified Tuning-Free Framework for Video Motion and Appearance Editing

fig1_demo_video

Support Various Editing Scenarios

UniEdit supports both video motion editing in the time axis (i.e., from playing guitar to eating or waving) and various video appearance editing scenarios (i.e., stylization, rigid/non-rigid object replacement, background modification).

1. Motion editing.

2. Stylization.

3. Rigid object replacement.

4. Non-rigid object replacement.

5. Background modification.

Introduction

Abstract: Recent advances in text-guided video editing have showcased promising results in appearance editing (e.g., stylization). However, video motion editing in the temporal dimension (e.g., from eating to waving), which distinguishes video editing from image editing, is underexplored. In this work, we present UniEdit, a tuning-free framework that supports both video motion and appearance editing by harnessing the power of a pre-trained text-to-video generator within an inversion-then-generation framework. To realize motion editing while preserving source video content, based on the insights that temporal and spatial self-attention layers encode inter-frame and intra-frame dependency respectively, we introduce auxiliary motion-reference and reconstruction branches to produce text-guided motion and source features respectively. The obtained features are then injected into the main editing path via temporal and spatial self-attention layers. Extensive experiments demonstrate that UniEdit covers video motion editing and various appearance editing scenarios, and surpasses the state-of-the-art methods.

Features:

  • Versatile: supports both video motion editing and various video appearance editing scenarios.
  • Tuning-free: no training or optimization required.
  • Flexibility: compatible with off-the-shelf T2V models.

Demo

Please visit the project webpage to see more results and information.

Updates

  • 💻 Code (The code will be released when the paper is accepted).
  • 📄 Paper released on arXiv.

uniedit's People

Contributors

jianhongbai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uniedit's Issues

体验

你好,请问什么时候可以提供web页面体验一下啊

Inquiry regarding the Mask-Guided Coordination Scheme

Hello 👋

Thank you for your amazing work!

I have a few questions concerning your paper, typically the Mask-Guided Coordination (Section 4.3)

  1. Is the mask-guided coordination scheme also implemented during "appearance editing"?
  2. Is masked attention applied in the spatial self-attention block or the temporal self-attention block, or both?
  3. When and where is masked attention applied in terms of denoising timestep $t$ and attention layer $l$?
    Is it only during content preservation $t&gt;t_0, l&gt;l_0$ (resp. structure control t<t_2, l>l_2)? In other words, is the $V$ (resp. $Q, K$​) in formula (6) from the reconstruction branch?
  4. For the mask $M$, do you use the same mask for all video frames (if so, could you elaborate how this mask is generated?) or do you concatenate all the frame masks?

P.S. What's the exact source prompt you use to generate the results in Figure 1? I attempted 'A raccoon is playing guitar' but it didn't quite nail that cartoonish and detailed background vibe as in your demo

Your guidance on these queries would be immensely valuable, many thanks!

about DDIM inversion

I'm curious about the reconstruction path. I can't reconstruct the original video very well only using empty text for noise and denoise. As I notice that you use the experience from the null context, which need to be optimized in the original paper, did you optimize the null context in the reconstruction process as well?

开源代码计划

请问你们有开源代码的计划吗,什么时候可以使用这个工具呢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.