-
Notifications
You must be signed in to change notification settings - Fork 55
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
About the acc from this repo and the paper #8
Comments
Hi, This is very strange. Let me check it. |
Same for the PROTEINS dataset, only able to achieve 72% accuracy (same code, same version, same config) compared to 80%+ in the paper. Are there any other hyperparameters tuned to get 80% accu? |
Hi, Sorry for the late reply. I found this is caused by the updating of torch-sparse. After the release of torch-sparse 0.4.4 (reference here), spspmm does not support autograd. However, our model needs to learn the sparse adjacent matrix. I suggest to use older version of torch-sparse. |
Actually, I also tried your 'full-graph' version (which has no spspmm operation) and got similar results...
Also, it is worth pointing out that these three options |
These three options I also find the performance drops when updating pytorch_geometric to the latest version, and I'm not sure whether this is merely caused by spspmm. I will check this in detail. |
Thanks for the reply :) For bool arguments in Python's argparser, you can find an explanation here. |
Hi, I have tested the code.
And, the following code is inserted into the main.py.
It'll output the False statement. |
Is it possible to reproduce the results on Proteins dataset with the latest torch_sparse version? |
Hi, I'm afraid not, since the spspmm do not support auto-grad. |
ok, thanks for your response. |
Hi, |
@cszhangzhen @lygztq @Anwar-Said It may now be possible for the gradients to propagate through the
I'm still not seeing the results quoted in the paper, but values close to them, provided I use the hyperparameters given in the default |
@GageDeZoort Thanks for your code. I will try it. Thanks. |
Awesome, let me know if it helps - I'm very interested in training the structure learning component and reproducing your excellent results! |
@GageDeZoort Thanks so much for posting! Your fix seems to be working for me. Training is extremely slow relative to simple GCN even with similar number of parameters. Is this expected? @cszhangzhen |
Hi, your work is excellent. However I find a gap between results obtained via your code and results reported in your paper. Specifically:
I follow your hyper-parameter settings and do not change any part of your code. Why? I'm using Python 3.7 with the latest version of pytorch and pytorch_geometric. Is it possible that unmatched version of pyg causes such a gap?
The text was updated successfully, but these errors were encountered: