Replies: 1 comment
-
You can do data.n_id = torch.arange(data.num_nodes) right after getting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The code is below. During training it works perfectly but while testing I get the following error.
raise AttributeError( AttributeError: 'GlobalStorage' object has no attribute 'n_id'.
"Pytorch_geometric version 2.2.0"
The issue is in function inference
Beta Was this translation helpful? Give feedback.
All reactions