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

NaN or Inf found in input tensor. #22

Open
ph0316 opened this issue Jul 21, 2022 · 2 comments
Open

NaN or Inf found in input tensor. #22

ph0316 opened this issue Jul 21, 2022 · 2 comments

Comments

@ph0316
Copy link

ph0316 commented Jul 21, 2022

Hello, sorry to bother you again. I recently encountered a new error in training, do you know why?
image
The number of wrong epoch is different each time.

@Nitrogens
Copy link

I have met the same problem, too~

@wyf0912
Copy link
Owner

wyf0912 commented Sep 28, 2023

Hi, thanks for your interest in our work.

Maybe you could try the following work to alleviate this problem

https://arxiv.org/pdf/2212.04319.pdf

Besides, a trivial way may be that you could try to use a smaller learning rate.

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

3 participants