Loading Custom Data with Graph Level Features #3418
Unanswered
michaelweihaosong
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It looks like |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am new to loading custom data and have been struggling with this issue. I am on torch_geometric v1.7.2
Specifically, I have created a torch_geometric.data.Dataset with
__getitem__
and__len__
implemented.The
__getitem__
returnsdata, zrirad, labels, data_decoy
, wheredata
is atorch_geometric.data.Data(x, edge_index)
,zrirad
is a (1,15) tensor graph level features,labels
is a (1,3) tensor graph level labels, anddata_decoy
is just a string.Below I pasted the error msgs. It seems to be some
collate_fn
related issue but I couldn't figure it out. Any help is welcomed, thanks very much!Beta Was this translation helpful? Give feedback.
All reactions