Created
September 3, 2021 00:58
-
-
Save anuradhawick/904e7f2d2101f4b76516d04046007426 to your computer and use it in GitHub Desktop.
SAGE Cora
It can be fixed easily by importing from torch_geometric.loader import NeighborSampler as RawNeighborSampler
, instead of from torch_geometric.data import NeighborSampler as RawNeighborSampler
.
@anuradhawick Can you update your gist?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
This is because the the version of PyTorch Geometric. I may have coded using an older version.
You should be able to find the examples using latest version in their repository. You will see how to use the neighbour sampler with latest version. Unfortunately I cannot provide what changes you need to do as I’m currently busy with other work.
All the best. Feel free to give me an update when you succeed.
Cheers