How to assign a train_mask, test_mask and valid_mask for a PyG graph created from networkx #4125
Answered
by
rusty1s
RamachandranSitaraman-hv
asked this question in
Q&A
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Feb 25, 2022
Replies: 1 comment 12 replies
-
You can add splitting masks automatically via |
Beta Was this translation helpful? Give feedback.
12 replies
Answer selected by
RamachandranSitaraman-hv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add splitting masks automatically via
torch_geometric.transforms.RandomNodeSplit
. Let me know if this fixes your issues :)