-
Hi, just a follow-up for #8548 2) point. As my final task is to predict a label matrix with shape
When using batch for training, the following error occured:
As suggested in the previous post, they should be stored as I have a custom class of dataset:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Update: it seems the user input I have tried to overcome this by the following:
This work-around works as intended, but not really elegant with the copy-paste. Any better ideas would be appreciate! |
Beta Was this translation helpful? Give feedback.
Update: it seems the user input
collate_fn
is always discarded intorch_geometric.loader.DataLoader
as stated here: #3426.I have tried to overcome this by the following:
collate_fn
: