You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "F:\pycharmprojects\pythonProject\diffusion-git\ddpm\experiment.py", line 104, in init
self.data_loader = torch.utils.data.DataLoader(self.dataset, self.batch_size, shuffle=True, pin_memory=True)
File "D:\Annaconda\envs\pytorch\lib\site-packages\torch\utils\data\dataloader.py", line 344, in init
sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type]
File "D:\Annaconda\envs\pytorch\lib\site-packages\torch\utils\data\sampler.py", line 107, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0
why data can't be loaded? how to fix it,I put the CelebA data in /ddpm/data/CelebA
PLZ
The text was updated successfully, but these errors were encountered: