2020-11-12 23:40:13 +08:00
2020-11-12 21:32:24 +08:00
2020-11-12 21:32:24 +08:00
2020-11-12 23:40:13 +08:00
2020-11-12 13:46:25 +08:00
2020-11-12 23:39:28 +08:00

RIFE

WIP. We are working on releasing our code.

Abstract

We propose a real-time intermediate flow estimation algorithm (RIFE) for video frame interpolation (VFI). Most existing methods first estimate the bi-directional optical flows, and then linearly combine them to approximate intermediate flows, leading to artifacts around motion boundaries. We design an intermediate flow model named IFNet that can directly estimate the intermediate flows from coarse to fine. We then warp the input frames according to the estimated intermediate flows and employ a fusion process to compute final results. Based on our proposed leakage distillation, RIFE can be trained end-to-end and achieve excellent performance. Experiments demonstrate that RIFE is significantly faster than existing flow-based VFI methods and achieves state-of-the-art index on several benchmarks.

Dependencies

pip3 install torch==1.7.0
pip3 install numpy

Inference and Testing

  • Download the pretrained models from here
  • Unzip and move pretrained models to train_log/*.pkl

Usage

python3 inference.py --img img0.png img1.png
Description
ECCV2022 - Real-Time Intermediate Flow Estimation for Video Frame Interpolation
Readme MIT 91 MiB
Languages
Python 96.6%
Jupyter Notebook 2.9%
Dockerfile 0.4%