Git Product home page Git Product logo

seanet's Introduction

SEANet

Code of 'Coupled Rain Streak and Background Estimation via Separable Element-wise Attention'
YINJIE TAN, QIANG WEN, JING QIN, JIANBO JIAO, GUOQIANG HAN,SHENGFENG HE
IEEE ACCESS

Paper

Coupled Rain Streak and Background Estimation via Separable Element-wise Attention

Requirement

  • Ubuntu 16.04
  • CUDA 10.0
  • Python 3.5
  • Numpy
  • Pytorch 1.0
  • PIL
  • Matplotlib

Dataset

All rain dataset can be found here. DerainZoo

If use the default options, a directory ../rain_dataset should be created to store datasets and each dataset should be placed in a sub-folder. During training, the trained dataset can be modified by option setname (corresponding to the sub-folder name) in ./options/base_options.py.

Create folders train, val and 'test' in each dataset folder. For folders train and val, input image and groundtruth image are concatenated in width dimension.

  • Example:
    For 'Rain_200H' dataset, if we name its sub-folder '200h', the path for training data and validation data is ../rain_dataset/200h/train and ../rain_dataset/200h/val

Training and Testing

  • Train a model:
python3 ./train.py 
  • Test a model:
python3 ./test.py 

More options can be modified at directory ./options.<br/ The detail code for our model can be found at ./models/networks.py and seaunet_model.py. The training model and log of losses are stored in ./checkpoints and the validation results (PSNR,SSIM) are stored in ./results.

Acknowledgments

The framework of this code is based on [pytorch-CycleGAN-and-pix2pix] (https://github.com/amikey/pytorch-CycleGAN-and-pix2pix).

seanet's People

Contributors

3qty avatar

Stargazers

SuferDude avatar  avatar Yongtuo Liu avatar Qiang Wen avatar

Forkers

peterzs

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.