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/.
Our RainCityscapes dataset is available for download at the Cityscapes website.
@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}
}
-
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'
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
-
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.
Enter the DAF-Net/examples/
and run evaluate_raincityscapes.m
in Matlab.