Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Change how noise is added to latents to better learn contrasts/strong colors #101

Conversation

allenbenz
Copy link
Contributor

@allenbenz allenbenz commented Feb 15, 2023

#100

https://www.crosslabs.org/blog/diffusion-with-offset-noise

Ran across this article, tried it, got better "low frequency" color reproduction when doing inference. Basically got obviously better looking chiaroscuro and colors seemed more accurate.
Has a marginal impact on performance, didn't notice any coherency issues.

Still, maybe this should be behind a toggle?

Figured someone else should try this to make sure I'm not imagining the improvement.

@ProGamerGov
Copy link
Contributor

ProGamerGov commented Feb 15, 2023

It should probably be in an if else statement connected to a UI toggle, with the original behavior as default.

@allenbenz allenbenz force-pushed the better-strong-chroma-and-luma-contrast-handling branch from 8d356ce to 36c48d9 Compare February 22, 2023 06:59
@devilismyfriend devilismyfriend merged commit 9824634 into devilismyfriend:main Feb 22, 2023
@ProGamerGov
Copy link
Contributor

Looks like the UI option isn't showing up in the UI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants