• Stars
    star
    164
  • Rank 228,772 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

we propose EfficientDerain for high-efficiency single-image deraining

EfficientDerain

we propose EfficientDerain for high-efficiency single-image deraining

Requirements

  • python 3.6
  • pytorch 1.6.0
  • opencv-python 4.4.0.44
  • scikit-image 0.17.2
  • torchvision 0.9.1
  • pytorch-msssim 0.2.1

Datasets

Pretrained models

Here is the urls of pretrained models (includes v3_rain100H, v3_rain1400, v3_SPA, v4_rain100H, v4_rain1400, v4_SPA) :

direct download: http://www.xujuefei.com/models_effderain.zip

google drive: https://drive.google.com/file/d/1OBAIG4su6vIPEimTX7PNuQTxZDjtCUD8/view?usp=sharing

baiduyun: https://pan.baidu.com/s/1kFWP-b3tD8Ms7VCBj9f1kw (pwd: vr3g)

Train

  • The code shown corresponds to version v3, for v4 change the value of argument "rainaug" in file "./train_*.sh" to the "true" (train_*.sh means it's the training script of dataset *)
  • Unzip the "Streaks_Garg06.zip" in the "./rainmix"
  • Change the value of argument "baseroot" in file "./train.sh" to the path of training data
  • Edit the function "get_files" in file "./utils" according to the format of the training data
  • Execute
sh train.sh

Test

  • The code shown corresponds to version v3
  • Change the value of argument "load_name" in file "./test.sh" to the path of pretained model
  • Change the value of argument "baseroot" in file "./test.sh" to the path of testing data
  • Edit the function "get_files" in file "./utils" according to the format of the testing data
  • Execute
sh test.sh

Results

The specific results can be found in “./results/data/DERAIN.xlsx

GT vs RCDNet

GT vs EfDeRain

Input vs GT

GT vs RCDNet

GT vs EfDeRain

Input vs GT

GT vs v1

GT vs v2

GT vs v3

GT vs v4

GT vs v1

GT vs v2

GT vs v3

GT vs v4

Bibtex

@inproceedings{guo2020efficientderain,
      title={EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image Deraining}, 
      author={Qing Guo and Jingyang Sun and Felix Juefei-Xu and Lei Ma and Xiaofei Xie and Wei Feng and Yang Liu},
      year={2021},
      booktitle={AAAI}
}

More Repositories

1

exposure-fusion-shadow-removal

We propose a new method for effective shadow removal by regarding it as an exposure fusion problem.
Jupyter Notebook
184
star
2

misf

Python
91
star
3

DSiam

Learning Dynamic Siamese Network for Visual Object Tracking
MATLAB
38
star
4

ABBA

Python
29
star
5

inpaint4shadow

We propose the shadow-guided inpainting task to take advantage of the shadow removal and image inpainting.
Python
22
star
6

bgmix

We propose a novel data augmentation by enriching the backgrounds for change detection in a weakly-superivsed way.
Python
20
star
7

AttackTracker

Python
18
star
8

jpgnet

We proposed a novel framework for image inpainting. https://arxiv.org/abs/2107.04281
Python
17
star
9

jadena

Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022.
Python
17
star
10

ABA

We propose the adversarial blur attack (ABA) against visual object tracking.
Python
12
star
11

robustOT

We build a benchmark to involve existing adversairal tracking attacks and defense methods and evaluates their performance, which could trick a series of novel works and push the progress to build a robust tracking system.
Python
7
star
12

deeprhythm

Python
6
star
13

irad

We introduce a novel approach to counter adversarial attacks, namely, image resampling. The underlying rationale behind our idea is that image resampling can alleviate the influence of adversarial perturbations while preserving essential semantic information, thereby conferring an inherent advantage in defending against adversarial attacks.
Python
5
star
14

sharel

We propose a shadow-removal benchmark dataset (i.e., SHAREL) to explore the mutual influence of shadow removal and facial landmark detection tasks.
4
star
15

tsingqguo.github.io

Homepage of Qing Guo
HTML
2
star
16

efficientderainplus

We further extend the efficientderain in https://github.com/tsingqguo/efficientderain via a novel predictive filtering framework.
Python
2
star
17

ccotssr

abc
MATLAB
1
star
18

MSiam

Try to build a new tracking framework with Siamese network
MATLAB
1
star
19

frequency-tuned-ACM

This repository contains the demos of frequency-tuned ACM.
MATLAB
1
star
20

evadingfakedetector

We propose a statistical consistency attack (StatAttack) against diverse DeepFake detectors.
1
star
21

resample4defense

We have identified a novel adversarial defense solution, i.e., image resampling, which can break the adversarial textures while maintaining the main semantic information in the input image. This work has been accepted to ICLR 2024.
1
star