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

使用supcon loss出现loss为nan的问题 #7

Open
nigeiwo opened this issue Jan 27, 2022 · 0 comments
Open

使用supcon loss出现loss为nan的问题 #7

nigeiwo opened this issue Jan 27, 2022 · 0 comments

Comments

@nigeiwo
Copy link

nigeiwo commented Jan 27, 2022

您好,我在我的代码中使用了您的supcon loss这个函数,但是使用中出现loss值为nan的问题,报错为:FloatingPointError: Loss became infinite or NaN at iteration=0! 请问您出现这个错误的原因是什么,或者使用中需要注意什么

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