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 Report of permute_edges in unsupervised_TU #7

Closed
Somedaywilldo opened this issue Dec 21, 2020 · 2 comments
Closed

Bug Report of permute_edges in unsupervised_TU #7

Somedaywilldo opened this issue Dec 21, 2020 · 2 comments

Comments

@Somedaywilldo
Copy link

Dear Authors,

The permute_edges in unsupervised_TU/aug.py is not adding the edges, the "idx_add" variable is not used.

def permute_edges(data):

I think your implementation in semisupervised_TU is correct, so may I ask why there are different implementations, why not just use a same set of augmentation implementation and just import them in different tasks?

def permute_edges(data, aug_ratio):

@yyou1996
Copy link
Collaborator

Hi @Somedaywilldo,

Thanks for pointing it out. I double check the original messy code for unsupervised_TU/aug.py and found that you are right, it is not entire same implementation as semisupervised_TU. Since unsupervised_TU was performed much more earlier than others for proof of concept experiments, the implementation way might somehow differ, leading to some inconsistence, while I think the rest semisupervised_TU, transfer_learning and adversarial_robustness experiments should be consistent. Another thing is that you can try to replace line 343 with line 342 in https://github.com/Shen-Lab/GraphCL/blob/master/unsupervised_TU/aug.py and this should make the same implementation, and I feel the results should be similar

@Somedaywilldo
Copy link
Author

Thank you!

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

2 participants