Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
添加了可以通过GCNExample运行的sgcn,程序输出模型可直接用于在Pytorch-on-angel上运行GCNExample,之前的只能用于train.py。

仓库下SGCN分支可用于train函数训练,SGCN-run可用于分布式训练,SGCN 实现可参考SGCN分支下README文档。
Cora数据集下测试结果如下:
对于graphsage,训练200轮后测试集上accuracy为0.8380,训练耗时167s。
对于sgcn, 训练200轮后测试集上accuracy为0.8341,训练耗时128s。
实验结果和论文符合(论文数据分别为0.815和0.81),模型精度略微下降,但因为去除了非线性,参数大大减少,训练时间得到了有效下降。
#101