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

Question about adding noise to input #11

Open
baneitixiaomai opened this issue Apr 25, 2023 · 0 comments
Open

Question about adding noise to input #11

baneitixiaomai opened this issue Apr 25, 2023 · 0 comments

Comments

@baneitixiaomai
Copy link

Hi!
I am currently studying your NCSN project, and there is a bit confused about the handling of the input:
on Line 136 in the file ncsn/runners/anneal_runner.py --- "X = X / 256. * 255. + torch.rand_like(X) / 256." Why add a small Gaussian noise to X,and the predefined Gaussian noise is added in function "anneal_dsm_score_estimation"
I am curious about why this is necessary and would appreciate any insights you could provide.

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

1 participant