wyhuai / DDNM

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

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

Open nil0330 opened 1 year ago

nil0330 commented 1 year 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?

wrqcodedoge commented 2 weeks ago

The same as you, have you solved that?