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

SSAN出现loss为nan #305

Open
XingYu131 opened this issue Mar 6, 2023 · 3 comments
Open

SSAN出现loss为nan #305

XingYu131 opened this issue Mar 6, 2023 · 3 comments

Comments

@XingYu131
Copy link

XingYu131 commented Mar 6, 2023

您好,我将SSAN训练中文数据时,刚开始训练就出现loss为nan,请问有什么解决办法吗,数据是没有问题的

@XingYu131
Copy link
Author

XingYu131 commented Mar 8, 2023

找到了出现nan的具体位置,在经过SSAN.py中的embedding层时数据出现nan,导致后续全部为nan,目前还没有找到解决办法

@catbbblack
Copy link

你好 请问问题现在解决了么 是什么原因呢

@yangguoer
Copy link

你好,请问解决了吗,我也遇到了这个问题

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