GithubHelp home page GithubHelp logo

canbaba0517 / stdan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huicongzhang/stdan

0.0 0.0 0.0 79 KB

Implementation of "Spatio-Temporal Deformable Attention Network for Video Deblurring". (Zhang et al., ECCV 2022)

Home Page: https://vilab.hit.edu.cn/projects/stdan

License: MIT License

Shell 0.35% C++ 3.01% Python 66.38% Cuda 30.26%

stdan's Introduction

Spatio-Temporal Deformable Attention Network for Video Deblurring (ECCV2022)

PyTorch codes for "Spatio-Temporal Deformable Attention Network for Video Deblurring (ECCV2022)"

Overview

Datasets

We use the GoPro, DVD and BSD datasets in our experiments, which are available below:

Pretrained Models

You could download the pretrained model from here and put the weights in weights folder.

Prerequisites

Clone the Code Repository

git clone https://github.com/huicongzhang/STDAN.git

Install Pytorch Denpendencies

conda create -n STDAN python=3.7 
conda activate STDAN
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=10.2 -c pytorch

Install Python Denpendencies and Build PyTorch Extensions

cd STDAN
sh install.sh

Get Started

To train STDAN, you can simply use the following command:

python runner.py --data_path=/yourpath/DeepVideoDeblurring_Dataset/quantitative_datasets --data_name=DVD --phase=train

To test STDAN, you can simply use the following command:

python runner.py --data_path=/yourpath/DeepVideoDeblurring_Dataset/quantitative_datasets --data_name=DVD --phase=test --weights=./weights/DVD_release.pth 

In here, there are more settings of testing and training.

Some video results are shown in here

Cite this work

@inproceedings{zhang2022spatio,
    title={Spatio-Temporal Deformable Attention Network for Video Deblurring},
    author={Zhang, Huicong and Xie, Haozhe and Yao, Hongxun},
    booktitle={ECCV},
    year={2022}
}

License

This project is open sourced under MIT license.

Acknowledgement

This project is based on STFAN

stdan's People

Contributors

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