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

Resolution not upscaled when using mask for preservation - replicate demo #44

Open
anilsathyan7 opened this issue Jul 1, 2024 · 2 comments

Comments

@anilsathyan7
Copy link

Adding a mask for preserving part of image leads to image not upscaled in output(resolution). Binary mask is of same size of image in input. If mask not provided, resolution is up-scaled properly.

@immex-tech
Copy link

+1

@philz1337x
Copy link
Owner

Yes, this is intentional because the masked part will not get upscaled, so I downscale the result to the starting resolution, but the quality of the unmasked area is improved afterward.

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

3 participants