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

Loss problem when training the conditional denoising U-net for diffusion #14

Open
ssj9596 opened this issue Jun 30, 2024 · 1 comment
Open

Comments

@ssj9596
Copy link

ssj9596 commented Jun 30, 2024

I am currently training a conditional denoising U-net for a diffusion model, but I am encountering an issue with the loss function. When the batch size is set to 1, the loss value remains at 1 and does not decrease. However, when I set the batch size to 4, the loss value becomes NaN. I would like to know which parameters I should adjust to resolve this issue. Thank you very much!

@projectersMan
Copy link

Hi , I have the same issue , do you solve the problem yet?
would you like to share the method to solve it with me?

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