-
I am currently trying to create a link prediction model for a heterogeneous network with 2 node types and 3 edge types. I have so far been able to preprocess and split my data into train, val, and test. Now I am trying to use NeighborLoader to create mini batches. Here is the line of code causing an error: train_loader = NeighborLoader(
train_data,
num_neighbors={key: [10] * 2 for key in train_data.edge_types},
batch_size=128,
input_nodes=None,
) resulting in:
which traces back to:
This is strange since I have verified that my dataset contains the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
nah |
Beta Was this translation helpful? Give feedback.
-
Can you specify the |
Beta Was this translation helpful? Give feedback.
Can you specify the
input_nodes
? I think this should crash prior already since you need to specify at least thenode_type
ininput_nodes
if you are operating on a heterogeneous graph.