Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noisy_x scaling before diffusion models #24

Open
florinshen opened this issue Jun 22, 2023 · 1 comment
Open

noisy_x scaling before diffusion models #24

florinshen opened this issue Jun 22, 2023 · 1 comment

Comments

@florinshen
Copy link

Hi, I noticed you apply a normalization with on noisy rendered images with a constant (1 + sigma^2). (https://github.com/pals-ttic/sjc/blob/main/adapt_sd.py#L133).

I am confused with the intuition to scale the noisy data with such constant. Is this scaling to keep the deviation of input at 1 ?

@w-hc
Copy link
Contributor

w-hc commented Jun 30, 2023

yes and that's how diffusion models are trained in general
see https://arxiv.org/abs/2206.00364 table 1

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

No branches or pull requests

2 participants