Skip to content

leo870823/DPSHS

Repository files navigation

DPSHS

This is a pytorch implementation of our research. Please refer to our paper for more details: Deep Plug-and-play Nighttime Non-blind Deblurring with Saturated Pixel Handling Schemes

Dependencies

  • python 3.8.12 (tested with anaconda3)
  • PyTorch 1.10.0 (CUDA=11.3)

Install Packages

pip3 install -r requirement.txt -f https://download.pytorch.org/whl/cu113/torch_stable.html

Download the DRUNet pre-trained model from DPIR

Please put the drunet_color.pth below model/pre-trained.

Benchmark Datasets

Reproduce the Saturated Dataset

python3 test_deblur_benchmark.py -dataset Hu -log Log/Compare_Saturated/

Reproduce the Low-illumination Dataset

python3 test_deblur_benchmark.py -dataset Pan -log Log/Compare_Low/

Reproduce the Night Dataset

python3 test_deblur_benchmark.py -dataset Chen -log Log/Compare_Night/

Reproduce the Real World Blurry Images

python3 test_deblur_real_world.py

Note

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages