-
Notifications
You must be signed in to change notification settings - Fork 103
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
在unsupervised_TU中出现了bug #36
Comments
在unsupervised_TU中出现了bug,KeyError:'num_nodes' |
Hi @HeSasa, Probably you need to setup the environment consistent with that in https://github.com/Shen-Lab/GraphCL/tree/master/unsupervised_TU. |
Feel it might still come from inconsistency... Would you mind sharing the environment and running script? |
Name Versionbinutils_impl_linux-64 2.36.1 This is may environment, and I run "./go.sh 2 TEXT random2". |
That's awesome you use the latest torch-geometric==2... Our program was developed earlier so probably torch-geometric==1.6.0 is better as stated in readme (https://github.com/Shen-Lab/GraphCL/tree/master/unsupervised_TU). |
I will try again, thank you for your answer. |
I change my environment to torch-geometric==1.6.0、pytorch==1.6.0,but still have same error. |
Can you run the script in https://github.com/fanyun-sun/InfoGraph/tree/master/unsupervised? Our code base is built on it so wondering whether you can successfully run this. |
Replace line188 and 209 "for key in self.data.keys:" with "for key in self.slices.keys():" in aug.py. For me, this problem can avoided. @ZsZsZs25 |
Thanks a lot! I'll try it! |
@Niuchx Sorry for the late reply, and thank you very much! |
The text was updated successfully, but these errors were encountered: