-
Notifications
You must be signed in to change notification settings - Fork 158
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
the issue of noise generation and sample #25
Comments
This is a normalization step that allows a tensor that would otherwise lie between -1 and 1 to be situated between 0 and 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why ues this to generate a noise (saveNoisy = torch.clamp(noisyImage * 0.5 + 0.5, 0, 1))
is this 0.5 necessray?
and also in this function(sampledImgs = sampledImgs * 0.5 + 0.5 # [0 ~ 1])
The text was updated successfully, but these errors were encountered: