-
Notifications
You must be signed in to change notification settings - Fork 277
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
Error on tutorial for graph generation #226
Comments
for key in self.data.keys: -> for key in self.data.keys() works for me |
@Takaogahara Thank you for pointing this bug! Actually ''for key in self.data.keys'' follows the implementaion of InMemoryDataset class in pyg 1.x, but pyg 2.x updates the implementation and I guess ''keys'' is no longer an attribute in ''self.data'' in pyg 2.x now. @irumeria Thank you very much for providing fix suggestion! I have changed ''self.data.keys'' to ''self.data.keys()''. |
Description
Hello,
I'm trying to run the Tutorial for Graph Generation example available on the documentation. However, I'm having an error when running the code described.
I don't know if it could be something related to the version of the libraries used or something else.
Here is a code to reproduce the error:
This is the Traceback I received.
Environment
The text was updated successfully, but these errors were encountered: