Files
ECCV2022-RIFE/README.md

21 lines
1.2 KiB
Markdown
Raw Normal View History

2020-11-12 17:31:40 +08:00
# RIFE
2020-11-12 20:27:43 +08:00
WIP. We are working on releasing our code.
2020-11-12 17:31:40 +08:00
## 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.
2020-11-12 20:27:43 +08:00
## Dependencies
```
pip3 install torch==1.7.0
pip3 install numpy
```
## Inference and Testing
* Download the pretrained models from [here](https://drive.google.com/file/d/1c1R7iF-ypN6USo-D2YH_ORtaH3tukSlo/view?usp=sharing)
2020-11-12 23:39:28 +08:00
* Unzip and move pretrained models to train_log/\*.pkl
## Usage
```
python3 inference.py --img img0.png img1.png
```