This is an implementation of the MFDNet model.
The model is built in Python 3.7, PyTorch 1.13.1, CUDA11.6.
For installing, follow these intructions
conda env create -f mfd.yml
-
Download training dataset ((raw images)Baidu Cloud, (Password:4qnh) (.npy)Baidu Cloud, (Password:gd2s)) and place it in
./Datasets/train/
-
Train the model with default arguments by running
python train.py
-
The pretrained_model is provided in
./checkpoints/checkpoints_mfd.pth
-
Download test datasets (Test100, Rain100H, Rain100L, Test1200, Test2800) from here and place them in
./Datasets/test/
-
Run
python test.py