stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Zero terminal snr (ZSNR)

Open daniandtheweb opened this issue 6 months ago • 0 comments

ZSNR can improve the generated images colors by making it easier to obtain darker and brighter zones in the image: https://arxiv.org/pdf/2305.08891 (the paper already includes a python function as an example).

This issue is related to https://github.com/leejet/stable-diffusion.cpp/pull/334 as v-prediction is the recommended way to train models in order to get the same result.

An option to enable ZSNR could be very useful at getting better colors in the images.

daniandtheweb avatar Aug 10 '24 19:08 daniandtheweb