Awesome
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
-
Please download and compile our CF-Caffe.
-
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/
-
Enter the
./examples/DAF-Net/
Modify the image path intrain_val.prototxt
. -
Run
sh train.sh
Test
-
Please download our pretrained model at Google Drive.
Put this model in./examples/DAF-Net/snapshot/
. -
Enter the
./examples/
and runtest_raincityscapes.m
in Matlab.
Evaluation
Enter the DAF-Net/examples/
and run evaluate_raincityscapes.m
in Matlab.