Replies: 1 comment
-
Can you show me a small example regarding your issue? PyG should be able to deal with directed graphs just fine. However, importantly, node features of types will not get updated when no edge type is pointing to it. |
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.
-
I load the metapath2vec data according to the examples (https://pytorch-geometric.readthedocs.io/en/latest/notes/heterogeneous.html) and create my own data set. I found that transforms.ToUndirected() must be used to make the model work.
I wonder if there is a solution to deal with directed heterogeneous data? For example, I just want to pass the message from "author" to "paper" in metapath2vec dataset. What should I do?
Now I can only create a GNN for each directed graph and manually fuse the intermediate results.
Beta Was this translation helpful? Give feedback.
All reactions