Git Product home page Git Product logo

video-frame-interpolation-transformer's Introduction

Video Frame Interpolation Transformer

This repo is the official implementation of 'Video Frame Interpolation Transformer', CVPR 2022.

Paper, Video, Video without compression

Packages

The following pakages are required to run the code:

  • python==3.7.6
  • pytorch==1.5.1
  • cudatoolkit==10.1
  • torchvision==0.6.1
  • cupy==7.5.0
  • pillow==8.2.0
  • einops==0.3.0

Train

  • Download the Vimeo-90K septuplets dataset.
  • Then train VFIT-B using default training configurations:
python main.py --model VFIT_B --dataset vimeo90K_septuplet --data_root <dataset_path>

Training VFIT-S is similiar to above, just change model to VFIT_S.

Test

After training, you can evaluate the model with following command:

python test.py --model VFIT_B --dataset vimeo90K_septuplet --data_root <dataset_path> --load_from checkpoints/model_best.pth

You can also evaluate VFIT using our weight here.

More datasets for evaluation:

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

@inproceedings{shi2022video,
  title={Video Frame Interpolation Transformer},
  author={Shi, Zhihao and Xu, Xiangyu and Liu, Xiaohong and Chen, Jun and Yang, Ming-Hsuan},
  booktitle={CVPR},
  year={2022}
}

References

Some other great video interpolation resources that we benefit from:

  • FLAVR: Flow-Agnostic Video Representations for Fast Frame Interpolation, arXiv 2021 Code
  • QVI: Quadratic Video Interpolation, NeurIPS 2019 Code
  • AdaCoF: Adaptive Collaboration of Flows for Video Frame Interpolation, CVPR 2020 Code

video-frame-interpolation-transformer's People

Contributors

zhshi0816 avatar xuxy09 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.