kzs569 / DerainCollections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deep Convolutional Network in Single Image Derain

Overview

Restoring rain images is important for many computer vision applications in outdoor scenes since rain streaks can severely degrade the visibility causing many current computer vision algorithms fails to work.

In recent years, various methods mainly based on CNNs have been proposed to address this problem.

This repo records some papers with implementation and finally make comparison between them.

Important models' implementations in pytorch

Dependencies

  • Python>=3.6
  • Pytorch>=1.0.0
  • Opencv>=3.1.0
  • visdom
    pip install -r requirements.txt

Project Structure

  • checkpoints : holds checkpoints
  • datasets :
  • losses: losses like ssim and psnr
  • models: holds model for training or testing
  • pretrained_models: holds pretrained model for fine-ture
  • settings : holds seperate setting config for model
  • utils : practical tools

Datasets

Training

Two parameters:

-c, --config : each networks configuration files which contains the parameter about model and training details.

Example usage:

    python train.py -c ./configs/didmdn_didmdn_rain.yaml 

Testing

In order to test, you need to run the following command and set input_path to the folder with images (optionally, also set img_list to a list with subset of these image names), specify scaling by setting image_size (required for CelebA-HQ), file with network weights (net_path) and output directory (output_path).

Example usage:

python test.py  -c ./configs/didmdn_didmdn_rain.yaml -t 'fcn'

Pretrained models

Result(Todo)

Important Papers

  1. DID-MDN(SOTA)

  2. Current JORDAR

  3. RESCAN

  4. Attentive-GAN for Raindrop Removal

  5. Perceptual-GAN

  6. PReNet(CVPR-2019)

  7. SPANet(CVPR-2019)

  8. Single Image Deraining: A Comprehensive Benchmark Analysis (CVPR19)

  9. Densely Connected Pyramid Dehazing Network (CVPR2018)

  10. Depth-attentional Features for Single-image Rain Removal

About

License:MIT License


Languages

Language:Python 100.0%