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

请教代码问题 #15

Open
Peter-Schott opened this issue May 7, 2024 · 2 comments
Open

请教代码问题 #15

Peter-Schott opened this issue May 7, 2024 · 2 comments

Comments

@Peter-Schott
Copy link

屏幕截图 2024-05-07 094057

 您好!请问这里的if语句中,all_user_embeddings拼接的是userEmbeddings0,我的理解是这个all_user_embeddings指用户在社交域的所有层用户嵌入,但是在else语句中的all_user_embeddings拼接的是userEmbeddings,而userEmbeddings是userEmbeddings0 + ui_userEmbedding0拼接的,这似乎有一些矛盾,此外,else语句中的all_item_embeddings和all_ui_embeddings拼接的也都是norm_embeddings,这个地方也不太理解   
 期待您的解答,感谢!
@ETERNITYhwt
Copy link

ETERNITYhwt commented Jul 25, 2024

1.我也是这个地方不太理解,虽然设置的norm==1不运行else,但个人拙见else里面的all_item_embeddings +=[ itemEmbeddings] and all_ui_embeddings +=[uiEmdeddings]
2.我还有一个简单的小问题是args 的第一个参数description 为什么是SR-HAN 而不是HGCL ,期待您的回答,感谢

@imengru
Copy link

imengru commented Nov 4, 2024

非常感谢您们的问题,让我发现这里确实写错了,即使没有执行else后的语句。可能是之前没有改过来,这里else里的逻辑就是每层网络的输出不进行归一化,if就是进行了归一化。我会将其改成正确。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants