Possible to use custom dataloader? #7137
Unanswered
sophiakrix
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 3 replies
-
What does your custom dataloader return? If it's a generic object, you can't unfold it like a tuple or list like you showed here. |
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.
-
Hi there,
I am working with graphs as a basic data structure and therefore use the Deep Graph Library. In detail, I am using their EdgeDataLoader since it returns the batched data as graphs and messaging blocks, needed for my model (Relational Graph Convolutional Neural Network).
Is it possible to use their dataloader, which is based on the PyTorch dataloader for the
train_dataloader
?My code looks like this:
Right now I am getting the following error:
Beta Was this translation helpful? Give feedback.
All reactions