Replies: 1 comment
-
Yes, the src = torch.zeros(data.num_nodes, dtype=torch.long)
dst = torch.arange(data.num_nodes, dtype=torch.long)
edge_label_index = torch.stack([src, dst], dim=0) |
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.
-
We are currently creating a model for link prediction on a heterogeneous graph. Our goal is to enter a small graph and make predictions on this input graph. We are currently having problems when we are loading the data.
Our model is the following.
We are using a private dataset. For loading during testing, we are using the following;
The training is done as following:
When we are loading the data we want to predict we are doing the following:
What we see is that there is no "edge_label_index" when we are not using the RandomLinkSplit. How could we predict then?
We tried using the RandomLinkSplit but got an error stating that we didn't have enough edges(?)
Beta Was this translation helpful? Give feedback.
All reactions