We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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的情况呢?如果有的话是怎样解决的呢?
The text was updated successfully, but these errors were encountered:
你好,你训练的时候是按照我给的setting吗?我之前的训练过程中没遇到过。
出现nan的时候,一般可以通过增加梯度裁剪(torch.nn.utils.clip_grad_norm_(self.net_g.parameters(), 0.01))或者调整学习率来避免。
Sorry, something went wrong.
感谢回复!我再试一试
No branches or pull requests
请问作者在训练的时候有没有出现损失变为nan的情况呢?如果有的话是怎样解决的呢?
The text was updated successfully, but these errors were encountered: