Skip to content

superdianuj/Diff-PIR

Repository files navigation

Denoising Diffusion Models for Plug-and-Play Image Restoration

Installation Commands

git clone --recursive https://github.com/superdianuj/Diff-PIR.git
cd Diff-PIR
pip install -r requirements.txt
# Download pretrained models 
# (in case google drive doesnot permit, 
# download manually from link shown after running following command)

chmod +x download.sh
./download.sh

# drop a folder containing images

# running the main deblurring session
chmod +x runner.sh
./runner.sh <model name:'diffusion_ffhq_10m' or '256x256_diffusion_uncond' > <path to directory of images> <choose between Gaussian or motion>
Case Ref Dataset Diff-PIR Predictions
1 GIF 1
Synthetic Motion Blurred
GIF 2
Prediction
2 GIF 3
Synthetic Resolution (Gaussian) Blurred
GIF 4
Prediction

Reference

https://github.com/yuanzhi-zhu/DiffPIR

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published