GithubHelp home page GithubHelp logo

dvd-sfe's Introduction

Deep Video Deblurring Using Sharpness Features from Exemplars (Submitted to IEEE TIP, 2020)

Dependencies and Installation
  • Python 3 (Recommend to use Anaconda)
  • PyTorch0.4.1
  • Linux (Tested on Ubuntu 18.04)
  • numpy
  • tqdm
  • imageio
  • matplotlib
Dataset Preparation

We use the GOPRO_Su dataset to train our models. You can download it from here and put the dataset into 'train_dataset/'. The dataset should be organized in the following form:

|--dataset name
 |--train
  |--video 01
   |--input
    |--frame 01
    |--frame 02
    |...
   |--GT
    |--frame 01
    |--frame 02
    |...
  |--video 02
  ...
 |--val
 |--test
Training
  • Download the FlowNet pretrained model from Baidu Drive (password:2gca) and put it into 'pretrained_model/'.
  • Prepare the dataset same as above form.
  • Start to train the model. Hyper parameters such as batch size, learning rate, epoch number can be tuned through command line:
python main.py --batch_size 4 --patch_size 256 --lr 1e-4 --epochs 500 --save_models
Testing
python main.py --pre_train model_path --test_only
Testing your own data
  • Put your testing data into 'inference/' which should be organized the same as our given examplars.
  • The testing command is shown as follows:
python inference.py
Citation
@article{xiang2020DVD-SFE,
title={Deep Video Deblurring Using Sharpness Features from Exemplars},
author={Xiang, xinguang and Wei, Hao and Pan, jinshan},
journal={IEEE Transactions on Image Processing},
year={2020}
}

dvd-sfe's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.