-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
【question】nce_layer的用法 #1388
Comments
使用nce_layer时,出现错误:
|
请贴出对应配置。另外NCE_layer不能在GPU上计算,请知晓。 |
@luotao1 谢谢提醒,配置如下: ######################Algorithm Configuration ############# #######################Network Configuration ############# |
* update install whl * update
文档介绍:
我理解,应该是在训练时,以指定概率采样负样本进行更新,模型效果跟样本采样分布以及采样数量相关性很大
问题1:
上述理解是否有误,有没有经验说明nce_layer与完整softmax+negative log loss相比,对模型收敛影响多大?
问题2:
这个layer的输出是cost,如何在predict时获取每个类别的概率?
The text was updated successfully, but these errors were encountered: