Replies: 1 comment 2 replies
-
Yeah, this is currently not supported (any non-tensor will be simply passed through). I'm sorry for that :( We will have to implement logic for that here: https://github.com/pyg-team/pytorch_geometric/blob/master/torch_geometric/loader/utils.py#L59-L74, e.g., by filtering via |
Beta Was this translation helpful? Give feedback.
2 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.
-
I have a question regarding the usage of the
NeighborLoader
. I have a non-tensor node property in my graph. So myData
object looks something like this:where the
prop
is a list of custom objects. When I useNeighborLoader
to get a batch, theprop
is untouched.I can use the
n_id
to retrieve theprop
for the nodes involved in the batch, but is there a way to tell theNeighborLoader
to do this automatically?Beta Was this translation helpful? Give feedback.
All reactions