Skip to content
Discussion options

You must be logged in to vote

Shapes of x and train_mask need to match in the first dimension, that is, the both should hold values for every node in the graph. If you only want to learn on a subgraph but apply the model on the full graph later on, how about you generate your sub-data via

train_data = data.subgraph(train_mask_or_indices)

and use it to train your model in a fully inductive mode. WDYT?

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@rusty1s
Comment options

@DrKleiber
Comment options

@atello
Comment options

@rusty1s
Comment options

@atello
Comment options

Answer selected by DrKleiber
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