Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wild-IR not working as expected #59

Open
cyy2427 opened this issue Jul 5, 2024 · 1 comment
Open

Wild-IR not working as expected #59

cyy2427 opened this issue Jul 5, 2024 · 1 comment

Comments

@cyy2427
Copy link

cyy2427 commented Jul 5, 2024

Hello. I just checked out the updated implementation of Wild-IR and test the output by running app.py in universal-image-restoration/config/wild-ir, and I have made sure that I placed the pretrained models in right paths and no errors were thrown during the gradio app was running. However, the output images are all in the same size as the input images and the quality was remained unchanged. The related opt file inference.yaml and code in models directory only supports denoising model rather than SR model.

According to all clues mentioned above, I wonder if the Wild-IR implementation in this repo is still not working as intended (not the same as the impressive results shown in the paper). I would appreciate more helpful information from you.

@Algolzw
Copy link
Owner

Algolzw commented Jul 12, 2024

Hi! The current Wild-IR model only supports normal image restoration (denoising, deblurring, dejpeg...) where the LQ and HQ images have the same size. If you want to perform super-resolution you can try to resize the LQ image before feeding it to the model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants