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

WARNING:tensorboardX.x2num:NaN or Inf found in input tensor. #14

Open
HX-Jhao opened this issue Apr 2, 2025 · 1 comment
Open

WARNING:tensorboardX.x2num:NaN or Inf found in input tensor. #14

HX-Jhao opened this issue Apr 2, 2025 · 1 comment

Comments

@HX-Jhao
Copy link

HX-Jhao commented Apr 2, 2025

Image
请问这个警告你在跑的时候也会出现吗?
对模型的训练有影响吗?

@ardian-selmonaj
Copy link
Collaborator

This warning is not very crucial, however, it can happen that training may stop at a certain time. I also encountered this warning, which is mainly due to some slight version mismatch of packages. Alternatively, you can tweak learning rate (lr), entropy coefficient (entropy_coeff) or gradient clipping (grad_clip) within .training in the algorithm.

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