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
非常感谢你的分享。为什么我用你分享的loss进行试验,初始loss一直都是nan,无论怎么修改学习率都是nan?请问这是什么原因?
The text was updated successfully, but these errors were encountered:
你是不是用cos度量相似度?我目前在mnist上可以训练,没有出现nan,但效果不好。欢迎指出我代码的问题和提交修改。
Sorry, something went wrong.
请问你有没有试过人脸数据或者行人,类别数特别多,我用你分享的loss试验人脸,调试发现loss_p为0,无论怎么修改参数,打印的loss总是nan或0? @qianjinhao
可以在这里添加 一个1e-10. https://github.com/qianjinhao/circle-loss/blob/master/circle_loss.py#L38
No branches or pull requests
非常感谢你的分享。为什么我用你分享的loss进行试验,初始loss一直都是nan,无论怎么修改学习率都是nan?请问这是什么原因?
The text was updated successfully, but these errors were encountered: