va1shn9v / PromptIR

PromptIR: Prompting for All-in-One Blind Image Restoration [NeurIPS 2023]
https://arxiv.org/abs/2306.13090
Other
297 stars 22 forks source link

this cod make error in demo.py #1

Closed youngjaean closed 1 year ago

youngjaean commented 1 year ago

https://github.com/va1shn9v/PromptIR/blob/main/demo.py#L77

what is mean parameter? x_query and x_key.

youngjaean commented 1 year ago

If i run the code after modifying it, the result is strange. The model doesn't seem to work this is before image

blurring_cat

this is after image

blurring_cat

va1shn9v commented 1 year ago

Hello, Thanks for taking an interest in our work, the parameters mentioned above are remnants of old developmental code, they have been removed now. The PromptIR model is trained on Dehazing, Deraining and Denoising tasks and the input image used seems to be blurry, hence the model wont be able to restore it.

youngjaean commented 1 year ago

oh! thx 4 u answer this is my mistake. I like this project and i have interest.