lllyasviel / sd-forge-layerdiffuse

[WIP] Layer Diffusion for WebUI (via Forge)
Apache License 2.0
3.78k stars 326 forks source link

Issue with Hires Fix #71

Open zyd232 opened 6 months ago

zyd232 commented 6 months ago

While using Hires Fix with Layerdiffuse, it only enlarge the first and third image. The second image with transparent background is not enlarged by Hires Fix.

jordanjay29 commented 5 months ago

Same thing is happening with adetailer, any post-layer diffusion processes are being applied only to the checkerboard background image.

SeBL4RD commented 5 months ago

same problem for me, the Hires Fix doesn't manage transparency...

new-sankaku commented 4 months ago

There may be a fix, but I forked it and fixed it briefly. Hires, I think ADtailer will work. Please try using it if you like.

https://github.com/new-sankaku/sd-forge-layerdiffuse.git

Note: Does Hires cause an error if the image size after enlargement is not a multiple of 256? We recommend multiplying 1024*1024 by 1.5 to 1536x1536.

SeBL4RD commented 4 months ago

There may be a fix, but I forked it and fixed it briefly. Hires, I think ADtailer will work. Please try using it if you like.

https://github.com/new-sankaku/sd-forge-layerdiffuse.git

Note: Does Hires cause an error if the image size after enlargement is not a multiple of 256? We recommend multiplying 1024*1024 by 1.5 to 1536x1536.

Working, thanks :)