how to find a reason for undirected graph for Data(...) format in PyG #4267
Unanswered
Amadeus-System
asked this question in
Q&A
Replies: 1 comment
-
Thanks for reporting. Our Can you copy-paste the functionality and see where it might break on your end? Alternatively, you can provide a simple example in which |
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
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. I am a researcher in condensed matter physics.
I am preprocessing crystal graph dataset to Data format in PyG.
My Dataset should be converted to undirected, multi graph (which is possible to have multiple edges between nodes, but each edge between two nodes can have different edge_attr).
I have tested how Data() format in PyG work with simple graph example, after that I have created preprocessed custom dataset for my own.
However, there is some unknown reason.
as you can see in the above figure, each Data() format represents undirected, multi edge graph object. but when I use 'is_undirected()' method to check whether the graph is undirected, it returns false.
Since each Data() represents a single undirected-multi graph, it has repeated edge_index and repeated edge_attr.
And indexes of edge_index and edge_attr are corresponed, of course.
I have checked edge_index and edge_attr. but I cannot see any problems.
could you tell me how I can check the reason which make my dataset directed ??
Beta Was this translation helpful? Give feedback.
All reactions