Sci-Fi / README.md
vinthony's picture
Update README.md
9beb0b2
|
raw
history blame
2.73 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

Start frame End frame Generated video

Deployment for frame inbetweening

1. Setup 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