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

Unet Input question? #128

Open
chaowentao opened this issue Jul 28, 2023 · 0 comments
Open

Unet Input question? #128

chaowentao opened this issue Jul 28, 2023 · 0 comments

Comments

@chaowentao
Copy link

Thank you for your excellent code. I have a little question about the input of the UNet.
image
According to the paper, the input is (x, y_noise, gamma_t). But in code, I find that

x_recon = self.denoise_fn(
      torch.cat([x_in["SR"], x_noisy], dim=1), continuous_sqrt_alpha_cumprod
 )

According to the equation, continuous_sqrt_alpha_cumprod is sqrt_gamma. Why use sqrt_gamma rather than "gamma to stand for timesteps? Is there any difference here?

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