Closed xiaohu2015 closed 8 months ago
https://github.com/layerdiffusion/sd-forge-layerdiffusion/blob/main/lib_layerdiffusion/utils.py#L7-L10 vae should use [-1, 1] to encode image
https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/b9705c58f66c6fd2c4a0168b26c5cf1fa6c0dde3/modules_forge/forge_loader.py#L239
https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/b9705c58f66c6fd2c4a0168b26c5cf1fa6c0dde3/ldm_patched/modules/sd.py#L308
thanks a lot
https://github.com/layerdiffusion/sd-forge-layerdiffusion/blob/main/lib_layerdiffusion/utils.py#L7-L10 vae should use [-1, 1] to encode image