how to set the noise and strength separately like novelAI when I'm using img2img? #5351
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
related #4988 |
Beta Was this translation helpful? Give feedback.
-
I believe you can do this by adding more of the initial noise that's generated for img2img (it looks like NovelAI does something similar). If you want to try this you can modify this function: stable-diffusion-webui/modules/sd_samplers.py Lines 447 to 458 in ce049c4 Add this line before the line that sets x = x + (noise * 0.2) That being said, I think the implementation must be slightly different somewhere, because that actually gives worse, more "noisy" results for me. Also when the noise is set to 0 (which would essentially be the value it's set at in A1111's webui currently), it produces different results than when NovelAI's noise is set to 0. To me it feels more like the A1111's outputs currently are close to what NovelAI's are when the noise is set, which makes me think maybe the extra noise is already being added somewhere else, but I can't say for sure. |
Beta Was this translation helpful? Give feedback.
I believe you can do this by adding more of the initial noise that's generated for img2img (it looks like NovelAI does something similar). If you want to try this you can modify this function:
stable-diffusion-webui/modules/sd_samplers.py
Lines 447 to 458 in ce049c4