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

Do the trick related to noise offset #7

Closed
xiaohu2015 opened this issue May 17, 2023 · 1 comment
Closed

Do the trick related to noise offset #7

xiaohu2015 opened this issue May 17, 2023 · 1 comment

Comments

@xiaohu2015
Copy link

xiaohu2015 commented May 17, 2023

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

@forever208
Copy link
Owner

@xiaohu2015 Thanks for your mentioned interesting blog. DDPM-IP has nothing to do with offset noise.
If you look at their offset noise noise = torch.randn_like(latents) + 0.1 * torch.randn(latents.shape[0], latents.shape[1], 1, 1), they add the same value for each pixel for a channel to implement the drift. Whereas, our is new_noise = noise + 0.1 * th.randn_like(noise).

More importantly, I think their input signal and target signal are both noise = torch.randn_like(latents) + 0.1 * torch.randn(latents.shape[0], latents.shape[1], 1, 1) during training. This is not the case for DDPM-IP

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