Sci-Fi / README.md
Liu Hanchen
Update README.md
6aea40e
|
raw
history blame
3.43 kB

Sci-Fi: Symmetric Constraint for Frame Inbetweening

Liuhan Chen1, Xiaodong Cun2,*, Xiaoyu Li3, Xianyi He1,4, Shenghai Yuan1,4, Jie Chen1, Ying Shan3, Li Yuan1,*

1Shenzhen Graduate School, Peking University     2GVC Lab, Great Bay University     3ARC Lab, Tencent PCG     4Rabbitpre Intelligence

Method comparison

Comparison
(a) In current I2V-DM-based methods, the end-frame constraint is weaker than the start-frame constraint due to the same injection mechanism but a smaller training scale, causing a distorted predicted path with collapsed content.
(b) Our Sci-Fi maintains start frame processing while enhancing end-frame constraint injection. This achieves symmetric start-end-frame constraints with small training, yielding a fine predicted path close to the real one with smoother inbetweening.

Some challenging examples of our Sci-Fi for frame inbetweening.

Start frame End frame Generated video

Deployment for personal use

1. Setup the repository and environment

git clone https://github.com/GVCLab/Sci-Fi.git
cd Sci-Fi
conda create -n Sci-Fi python==3.12
conda activate Sci-Fi
pip install -r requirements.txt

2. Download checkpoint

Download the CogVideoX-5B-I2V model (due to fine-tuning, the weights of the transformer denoiser are different from the original) and EF-Net. The weights are available at 🤗HuggingFace and 🤖ModelScope.

3. Launch the inference script!

The example input keyframe pairs are in examples/ folder, and the corresponding generated videos (720x480, 49 frames) are placed in outputs/ folder.
To interpolate, run:

bash Sci_Fi_frame_inbetweening.sh