Skip to content

A state-of-the-art Video Frame Interpolation Method using feature flows blending. (CVPR 2020)

License

Notifications You must be signed in to change notification settings

CVDOU/FeatureFlow

 
 

Repository files navigation

FeatureFlow

Paper | Supp

A state-of-the-art Video Frame Interpolation Method using deep semantic flows blending.

FeatureFlow: Robust Video Interpolation via Structure-to-texture Generation (IEEE Conference on Computer Vision and Pattern Recognition 2020)

To Do List

  • Preprint
  • Training code

Table of Contents

  1. Requirements
  2. Demos
  3. Installation
  4. Pre-trained Model
  5. Download Results
  6. Evaluation
  7. Test your video
  8. Citation

Requirements

Video demos

Click the picture to Download one of them or click Here(Google) or Here(Baidu)(key: oav2) to download 360p demos.

360p demos(including comparisons):

720p demos:

Installation

$ cd mmdetection
$ pip install -r requirements/build.txt
$ pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"
$ pip install -v -e .  # or "python setup.py develop"
$ pip list | grep mmdet
$ unzip vimeo_interp_test.zip
$ cd vimeo_interp_test
$ mkdir sequences
$ cp target/* sequences/ -r
$ cp input/* sequences/ -r
  • Download BDCN's pre-trained model:bdcn_pretrained_on_bsds500.pth to ./model/bdcn/final-model/
$ pip install scikit-image visdom tqdm prefetch-generator

Pre-trained Model

Google Drive

Baidu Cloud: ae4x

Place FeFlow.ckpt to ./checkpoints/.

Download Results

Google Drive

Baidu Cloud: pc0k

Evaluation

$ CUDA_VISIBLE_DEVICES=0 python eval_Vimeo90K.py --checkpoint ./checkpoints/FeFlow.ckpt --dataset_root ~/datasets/videos/vimeo_interp_test --visdom_env test --vimeo90k --imgpath ./results/

Test your video

$ CUDA_VISIBLE_DEVICES=0 python sequence_run.py --checkpoint checkpoints/FeFlow.ckpt --video_path ./yourvideo.mp4 --t_interp 4 --slow_motion

--t_interp sets frame multiples, only power of 2(2,4,8...) are supported. Use flag --slow_motion to slow down the video which maintains the original fps.

The output video will be saved as output.mp4 in your working diractory.

Citation

@InProceedings{FeatureFlow,
author = {Gui, Shurui and Wang, Chaoyue and Chen, Qihua and Tao, Dacheng},
title = {FeatureFlow: Robust Video Interpolation via Structure-to-texture Generation},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2020}
}

Contact

Shurui Gui; Chaoyue Wang

License

See MIT License

About

A state-of-the-art Video Frame Interpolation Method using feature flows blending. (CVPR 2020)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.2%
  • Cuda 23.8%
  • C++ 6.5%
  • C 2.4%
  • Shell 0.1%