-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
[Upscaling/HighRez] Visible lines between chunks while resizing or working with High Resolution #1117
Comments
Upscaling divides the image in tiles. Usually it's not noticeable (there is some overlap and blending). Can you provide the original (not upscaled) image for testing? And which settings? Ways to avoid:
|
Yes the tile size is around 1024 (for SDXL). To be clear, dividing the image into tiles is how the algorithm works, and seams being detectable to some extent not unexpected. In most cases it is not noticeable. The main reason it's visible in these images is that they're plain gradients. This is an issue for SD, because it has trouble keeping the brightness level (it's kind of a built-in bug that these models converge to an average brightness of 0.5). You can see similar effects when trying to inpaint these kinds of gradients. It's probably not fixable, but should improve with newer model architectures. It would probably help if there was a larger overlap between tiles. But I'm a bit hesitant to increase it in general, since it's usually good enough, and it will cost performance. Regular Tile Overlap (48) at 50% strength - Tiles are visible Large Tile Overlap (96) at 50% strength - Tiles no longer noticeable (on my monitor)
I don't see that. The two images I generated line up perfectly with the original you posted, it should be easy to spot at the contours of the mountains. Among your images there are some where the entire image appears shifted by 1px, but this might be down to odd resolutions that have to be resacled. Not sure if those are original resolution (GitHub may resize them?). But try to stay with resolutions that are divisible by 8 if you want to avoid rescaling. |
I'm not trying to hijack your post, but my upscales aren't adding any detail. I'm going to say that I notice the same issue here in these images as well. Before I reinstalled everything last week, the upscaler would add details and improve the image overall - even at 30% there would be minor details that would pop more. Now, the image only seems to get brighter with no other change. I have stopped using the upscaler and now have to do a slower upscale in comfy with flux. |
- unblur strength is a slider now - tile overlap can be configured - fix target resolution displayed wrong in some cases
v1.31.0: can now configure tile overlap manually in the UI for those cases where seams are visible |
Hi guys,
I am using the latest Krita AI 1.22.
Arch Linux, Nvidia 2070 Super MaxQ 8GB.
Model used: Cinematic Photo (XL)
I noticed that while resizing images or even rendering large images the chunks become visible.
I adjusted the Levels to highlight the chunks.
Is this a limitation or a feature which we need to deal with it separately?
Let me know what you think and if you have the same.
I also note that when resizing images to 8K. It feels like as if the chunks are not aligned, and the image is shifted in disproportion:
Update 2:
I noticed, that after upscaling, and then refining, the lines gets fixed.
It feels like this is the issue with default upscaler (Default x4_NMKD-Superscale-SP_178000_G)
How to reproduce:
Create an image of 1920x1080, upscale it to 4K, the chunk overlap wil appear.
This is the image after refining:

The text was updated successfully, but these errors were encountered: