项目作者: xuxy09

项目描述 :
Implementation of "Quadratic video interpolation", NeurIPS 2019.
高级语言: Python
项目地址: git://github.com/xuxy09/QVI.git
创建时间: 2021-04-11T14:32:04Z
项目社区:https://github.com/xuxy09/QVI

开源协议:

下载


Quadratic video interpolation

Implementation of “Quadratic video interpolation”, NeurIPS 2019.

Paper, Project

Packages

The following pakages are required to run the code:

  • python==3.8
  • pytorch==1.5.1
  • cudatoolkit==10.1
  • torchvision==0.6.1
  • cupy==8.6.0
  • tensorboardX
  • opencv-python
  • easydict

Video

IMAGE ALT TEXT HERE

Demo

  • Download pretrained model and put it in “./qvi_release”
  • Download weights of PWC-Net and put it in “./utils”
  • Put your sequence in “datasets/example” with structure as

    1. seq1
    2. --00000.png
    3. --00001.png
    4. --...
    5. seq2
    6. --00000.png
    7. --00001.png
    8. --...
  • Then run the demo:

    1. python demo.py configs/test_config.py

    The output will be in “outputs/example”. Note that all settings are in config files under the folder “./configs”.

Train

  • Download the QVI-960 dataset for training and put it in the folder “datasets”
  • Download the validation data which is a subset of the Adobe-240 dataset, and put it in the folder “datasets”
  • Then run the training code:
  1. python train.py configs/train_config.py

Test

More datasets for evaluation:

You can use “datas/Sequence.py” to conveniently load the test datasets.

Please consider citing this paper if you find the code and data useful in your research:

  1. @inproceedings{qvi_nips19,
  2. title={Quadratic video interpolation},
  3. author={Xiangyu Xu and Li Siyao and Wenxiu Sun and Qian Yin and Ming-Hsuan Yang},
  4. booktitle = {NeurIPS},
  5. year={2019}
  6. }