doubt in DataListLoader #2999
Unanswered
steffyalbert
asked this question in
Q&A
Replies: 1 comment
-
What shall `l = sum(items, []) be doing? In order for the call to succeed, it needs to be passed a list of lists. Otherwise: def collate(items):
return Batch.from_data_list(items) should work just fine (and is equivalent to loading via |
Beta Was this translation helpful? Give feedback.
0 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.
-
I am using a custom dataset of fluid simulation and I am using the dataloader as follows:
Using a custom collate function as above, but I am getting the error as

How can resolve this TypeError: can only concatenate list (not "Data") to list?
Beta Was this translation helpful? Give feedback.
All reactions