Skip to content
Discussion options

You must be logged in to vote

To fix your issue pass your edge label to the edge_label argument in LinkNeighborLoader. As described in the docs if you don't pass edge_label it is assumed to be a tensor of zeros.
Further leave neg_sampling_ratio as None, since its not clear what the label of a negative edge would be in this case.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@songsong0425
Comment options

Answer selected by songsong0425
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@songsong0425
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants