want to use CelebA dataset,but there is an issue
PLZ
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
The data path is [project_folder]/data/celebA