Skip to content

ValueError: Dataloader returned 0 length. Please make sure that it returns at least 1 batch #9478

Discussion options

You must be logged in to vote

Dear @morestart,

Would you mind unit-testing your code ? Can you check your DBDataModule train and val ICDARDataset length aren't 0 ?
Lightning doesn't manipulate your dataset / dataloaders, so maybe your dataset are empty.

Best,
T.C

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@morestart
Comment options

@tchaton
Comment options

@Phantom-Acid
Comment options

@morestart
Comment options

@Phantom-Acid
Comment options

Answer selected by morestart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants