wyhuai / DDNM

[ICLR 2023 Oral] Zero-Shot Image Restoration Using Denoising Diffusion Null-Space Model
MIT License
1.08k stars 75 forks source link

I encountered an error stating 'degradation type not supported' when running tasks like 'sr_bicubic'. #59

Open nil0330 opened 8 months ago

nil0330 commented 8 months ago

The command I executed was 'python main.py --ni --simplified --config celeba_hq.yml --path_y LR --eta 0.85 --deg "sr_bicubic" --deg_scale 1 --sigma_y 0.1 -i LR02', and it resulted in an error showing 'NotImplementedError: degradation type not supported.' Besides 'sr_bicubic,' other tasks such as 'cs_walshhadamard' and 'cs_blockbased' are also included in the '# get degradation matrix' section. How can I resolve this issue?