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

[🐛BUG] BiTGCF模型鲁棒性 #53

Closed
WYH-han opened this issue Apr 13, 2023 · 1 comment
Closed

[🐛BUG] BiTGCF模型鲁棒性 #53

WYH-han opened this issue Apr 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@WYH-han
Copy link
Contributor

WYH-han commented Apr 13, 2023

描述这个 bug
BiTGCF模型中包含Feature Transfer部分,其中在公式(15)-(16)计算user(item)-related weight factor时,需要考虑多跳后可能出现某些节点的邻居为0,即公式(15)中分母可能为0的情况,则会导致模型训练中出现“nan”。报错如下:
image
image

预期
为了避免“除0”问题,针对项目代码中的user_laplace和item_laplace,即分母,添加一个极小数以避免出现“除0”问题。
image

屏幕截图
image

@WYH-han WYH-han added the bug Something isn't working label Apr 13, 2023
@Wicknight
Copy link
Collaborator

@WYH-han 感谢您的提醒,我们已经在 #56 中修复了这个问题!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants