ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

When performing VAE encoding on high-resolution images, there is a high probability that the original image will be changed and artifacts will be generated.

Open leonary opened this issue 7 months ago • 3 comments

Expected Behavior

Since upscaling is an important feature, it is very important to remove these artifacts to preserve the original image content. These artifacts are difficult to remove at low denosing levels, making the result poor.

Actual Behavior

Original image https://files.catbox.moe/uxrle2.png After VAE encoding https://files.catbox.moe/4f9mbh.png Artifacts: image

Steps to Reproduce

VAE_encode.json If you use any high-resolution image to encode with the SD15 series VAE, you should be able to observe this problem. The SDXL series VAE will not have this problem. There is a post on reddit discussing this issue.https://www.reddit.com/r/StableDiffusion/comments/1agd5pz/a_recent_post_went_viral_claiming_that_the_vae_is/ So this could be a problem with the VAE itself, but I'm curious if there are any tricks in the code that can avoid this artifact? Or is there a way to fix the VAE in the SD15 series?

Debug Logs

No debug logs

Other

No response

leonary avatar Jul 07 '24 08:07 leonary