'NoneType' object cannot be interpreted as an integer

Check the creation of the Dataset, sampler, and DataLoader as it seems as if the DataLoader got a None input as the dataset or sampler.

1 Like