Skip to content
/ DAF-Net Public

Depth-Attentional Features for Single-Image Rain Removal and RainCityscapes Dataset | CVPR 2019

License

Notifications You must be signed in to change notification settings

xw-hu/DAF-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Depth-Attentional Features for Single-Image Rain Removal and RainCityscapes Dataset

by Xiaowei Hu, Chi-Wing Fu, Lei Zhu, and Pheng-Ann Heng

This implementation is written by Xiaowei Hu at the Chinese University of Hong Kong.


Please find the code of the journal version at https://github.com/xw-hu/DGNL-Net/.


RainCityscapes Dataset

Our RainCityscapes dataset is available for download at the Cityscapes website.

Citations

@InProceedings{Hu_2019_CVPR,      
  author = {Hu, Xiaowei and Fu, Chi-Wing and Zhu, Lei and Heng, Pheng-Ann},      
  title = {Depth-Attentional Features for Single-Image Rain Removal},      
  booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},      
  pages={8022--8031},      
  year = {2019}      
}
@article{hu2021single,                    
   title={Single-Image Real-Time Rain Removal Based on Depth-Guided Non-Local Features},                
   author={Hu, Xiaowei and Zhu, Lei and Wang, Tianyu and Fu, Chi-Wing and Heng, Pheng-Ann},               
   journal={IEEE Transactions on Image Processing},              
   volume={30},                
   pages={1759--1770},            
   year={2021}         
}

Installation

  1. Please download and compile our CF-Caffe.

  2. link the CF-Caffe to DAF-Net/caffe.

    ln -s '/path/to/CF-Caffe' '/path/to/DAF-Net/caffe'

Train

Download the pre-trained VGG16 model at http://www.robots.ox.ac.uk/~vgg/research/very_deep/.
Put this model in CF-Caffe/models/

  1. Enter the ./examples/DAF-Net/
    Modify the image path in train_val.prototxt.

  2. Run

    sh train.sh

Test

  1. Please download our pretrained model at Google Drive.
    Put this model in ./examples/DAF-Net/snapshot/.

  2. Enter the ./examples/ and run test_raincityscapes.m in Matlab.

Evaluation

Enter the DAF-Net/examples/ and run evaluate_raincityscapes.m in Matlab.

About

Depth-Attentional Features for Single-Image Rain Removal and RainCityscapes Dataset | CVPR 2019

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages