Replies: 1 comment 2 replies
-
Adding better sampling support for link prediction is definitely something that I want to add. Currently, you can get around it by overriding the sampler class, i.e., as we do in the OGB example. For applying |
Beta Was this translation helpful? Give feedback.
2 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.
-
In the examples I've seen how to sample vertices, but how to sample edges? (via HGTLoader)
For example, if we solve the problem "edge_prediction".
I am trying to adapt the following example(https://github.com/mims-harvard/graphml-tutorials/blob/master/05-graph-attention/heterogenenous-graph-attention.ipynb):
GAE(Encode(via HeteroConv), Decoder(via DistMult in GAE))
In other words with examples in PyG -> i want to adopt https://github.com/pyg-team/pytorch_geometric/blob/74245f3a680c1f6fd1944623e47d9e677b43e827/examples/rgcn_link_pred.py with HeteroConv(for several types of nodes and edges and use HGTLoader(for edges), because i have a big graph).
The question can be broken down into 2 sub-questions:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions