Code Monkey home page Code Monkey logo

rcdnet's Introduction

RCDNet

A PyTorch implementation of RCDNet based on CVPR 2020 paper A Model-driven Deep Neural Network for Single Image Rain Removal.

Network Architecture

Requirements

conda install pytorch=1.10.1 torchvision cudatoolkit -c pytorch

Dataset

Rain100L, Rain100H, Rain1400 and SPA-Data are used, download these datasets and make sure the directory like this:

|-- data     
    |-- rain100L
        |-- train
            |-- rain
                norain-1.png
                ...
            `-- norain
                norain-1.png
                ...
        `-- test                                                        
    |-- rain100H
        same as rain100L
    `-- rain1400
        same as rain100L                       
    |-- spa
        same as rain100L

Usage

You can easily train and test the model by running the script below. If you want to try other options, please refer to utils.py.

Train Model

python main.py --data_name rain100L --seed 0

Test Model

python main.py --data_name rain100H --model_file result/rain100H.pth

Benchmarks

The models are trained on one NVIDIA GeForce RTX 3090 GPU (24G). All the hyper-parameters are the default values.

Method Rain100L Rain100H Rain1400 SPA-Data Download
PSNR SSIM PSNR SSIM PSNR SSIM PSNR SSIM
Ours 40.29 0.9869 32.02 0.9180 33.28 0.9494 37.81 0.9631 MEGA
Official 40.00 0.9860 31.28 0.9093 33.04 0.9472 41.47 0.9834 Github

Results

More results could be downloaded from Dropbox.

vis

rcdnet's People

Contributors

leftthomas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

starymoon

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.