Replies: 3 comments 1 reply
-
Can you share some more information about your data? It looks like some attribute in one of your |
Beta Was this translation helpful? Give feedback.
-
It is a pitty to see that this issue has been unsolved for two years... like a lot of other issues.. The maintainers answer is not correct, because all data is already shown in this post and none of them is None. Why it happens?This issue is likely to be caused by the hidden behavior in the How to solve it?My suggestion is to explicitly set " The number of nodes in the data object is automatically inferred |
Beta Was this translation helpful? Give feedback.
-
I had the same error, but the error is still there even I explicitly set num_nodes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Thank you for an amazing repository. I am a student working on a problem that has multiple graphs in the dataset and one of the Data object looks something like this:
Data(y=1, input_ids_0=[6, 128], attention_mask_0=[6, 128], edge_index_0=[2, 6], input_ids_1=[9, 128], attention_mask_1=[9, 128], edge_index_1=[2, 11], input_ids_2=[6, 128], attention_mask_2=[6, 128], edge_index_2=[2, 6], input_ids_3=[9, 128], attention_mask_3=[9, 128], edge_index_3=[2, 11], input_ids_4=[1, 128], attention_mask_4=[1, 128], edge_index_4=[2, 0], input_ids_5=[1, 128], attention_mask_5=[1, 128], edge_index_5=[2, 0], input_ids_6=[1, 128], attention_mask_6=[1, 128], edge_index_6=[2, 0], input_ids_7=[1, 128], attention_mask_7=[1, 128], edge_index_7=[2, 0])
CODE:
ERROR:
Can you please help me fix it? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions