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

勘误:GNN 5-基于图神经网络的节点表征学习.md #5

Open
JunweiKuang opened this issue Jun 21, 2021 · 0 comments
Open

勘误:GNN 5-基于图神经网络的节点表征学习.md #5

JunweiKuang opened this issue Jun 21, 2021 · 0 comments

Comments

@JunweiKuang
Copy link

1、教程中“准备工作”章节中,这条代码 print(f'Average node degree: {data.num_edges / data.num_nodes:.2f}') 有问题。平均节点度应该是等于(边的数量*2)/节点数量,教程中缺少了 *2 这个部分。
2、教程中“可视化节点表征分布的方法”章节中,定义的参数和函数中使用的参数不一致,如下图所示。
image
把"h"改为out,或者把"out"改为"h"可以解决这个问题。

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

1 participant