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 | Synthetic Motion Blurred |
Prediction |
2 | Synthetic Resolution (Gaussian) Blurred |
Prediction |