-
Notifications
You must be signed in to change notification settings - Fork 153
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
AFM训练中出现nan #9
Comments
nan应该是因为我们自己用exp函数实现了softmax, 导致容易overflow。换用tensorflow实现的softmax应该就不会nan了。
…On Sat, Feb 10, 2018 at 11:48 PM, KevinKune ***@***.***> wrote:
AFM训练起来很容易nan,请问您遇到过这种情况吗?对于调参数有什么建议?哪些参数比较敏感?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGxjuXIl51KSyJ121ucnDpYetMQ64Wiks5tTboxgaJpZM4SA-Kv>
.
--
Best Regards,
Xiangnan He
|
感谢回答,最近发现调节softmax的温度会比较容易训练,在我的数据集上调节温度比attention_lambda更有效,能显著控制过拟合,建议代码中增加调节温度的参数 |
谢谢告知!
…On Thu, Feb 15, 2018 at 2:50 PM, KevinKune ***@***.***> wrote:
感谢回答,最近发现调节softmax的温度会比较容易训练,在我的数据集上调节温度比attention_lambda更有效,能显著控制过拟合,
建议代码中增加调节温度的参数
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGxjgrFgN4ZzcHQz8khApezHDNIjFkmks5tU9PIgaJpZM4SA-Kv>
.
--
Best Regards,
Xiangnan He
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AFM训练起来很容易nan,请问您遇到过这种情况吗?对于调参数有什么建议?哪些参数比较敏感?
The text was updated successfully, but these errors were encountered: