Questions about Dataloader and Dataset

you can look at the default_collate function if it handles None or not.
Or you can give a custom collate function to your DataLoader which will handle None:

7 Likes