Replies: 1 comment 3 replies
-
The usage of NeighborLoader looks right to me. Maybe something else is causing this problem, did you use the usual DataLoader also while removing the majority class. |
Beta Was this translation helpful? Give feedback.
3 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.
Uh oh!
There was an error while loading. Please reload this page.
-
So, I know that NeighborLoader mostly needed for large scale graphs, but it should work as well for collection of multiple graphs, right?
I have a 3 layer GATConv model just like here. I also have a dataset of ~900 graph objects with labeled nodes. If I use simple DataLoader, model trains successfully. If I switch to NeighborLoader loss is not changing much.
I input all graph dataset into NeighborLoader, while filtering nodes by some criteria (idea is to undersample majority class that way):
Usual training code:
Any advice on this situation? Is it correct to use NeighborLoader in such a way?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions