Giter Site home page Giter Site logo

amirunpri2018 / sof-vsr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-learning-and-vision-atelier-lava/sof-vsr

0.0 1.0 0.0 64.55 MB

Repository for "Learning for Video Super-Resolution through HR Optical Flow Estimation", ACCV 2018

Python 70.37% MATLAB 29.63%

sof-vsr's Introduction

SOF-VSR (Super-resolving Optical Flow for Video Super-Resolution)

Pytorch implementation of "Learning for Video Super-Resolution through HR Optical Flow Estimation", ACCV 2018.

[arXiv]

Overview

overview

Figure 1. Overview of our SOF-VSR network.

Figure 2. Comparison with the state-of-the-arts.

Requirements

  • Python 3
  • pytorch (0.4), torchvision (0.2)
  • numpy, PIL
  • Matlab (For PSNR/SSIM evaluation)

Datasets

We use the Vid4 dataset and a subset of the DAVIS dataset (namely, DAVIS-10) for benchmark test.

  • Vid4(BaiduPan, GoogleDrive)
  • DAVIS-10
    We use 10 scenes in the DAVIS-2017 test set including boxing, demolition, dive-in, dog-control, dolphins, kart-turn, ocean-birds, pole-vault, speed-skating and wings-trun.

Test

Currently, we release our code for testing. We provide the pretrained model for 4x SR on BI degradation model. Note that we made some modifications to the original code and it should produce comparable or even better results.

  • Run on CPU:
python demo_Vid4.py --video_name calendar --upscale_factor 4
  • Run on GPU:
python demo_Vid4.py --video_name calendar --upscale_factor 4 --gpu_mode True
  • Run on GPU (memory efficient):
python demo_Vid4.py --video_name calendar --upscale_factor 4 --gpu_mode True --chop_forward True

You can download Vid4 dataset and unzip in data directory. Then you can test our network on other scenes.

Results

Vid4

Figure 3. Comparative results achieved on the Vid4 dataset. Zoom-in regions from left to right: IDNnet, VSRnet, TDVSR, our SOF-VSR, DRVSR and our SOF-VSR-BD.

DAVIS-10

Figure 4. Comparative results achieved on the DAVIS-10 dataset. Zoom-in regions from left to right: IDNnet, VSRnet, our SOF-VSR, DRVSR and our SOF-VSR-BD.

temporal_profiles

Figure 5. Visual comparison of 4x SR results. From left to right: VSRnet, TDVSR, our SOF-VSR and the groundtruth.

Citation

@InProceedings{2018-LearningforVideoSuperResolutionthroughHROpticalFlowEstimation-LongguangWang--,
  author    = {Longguang Wang and Yulan Guo and Zaiping Lin and Xinpu Deng and Wei An},
  title     = {Learning for Video Super-Resolution through {HR} Optical Flow Estimation},
  booktitle = {ACCV},
  year      = {2018},
}

Contact

For questions, please send an email to [email protected]

sof-vsr's People

Contributors

longguangwang avatar

Watchers

 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.