Train.py issue
MZ82020 opened this issue · 1 comments
MZ82020 commented
Hello,
when i run the train script i get this error :
File "train.py", line 93, in
loader_train = torch.utils.data.DataLoader(
File "C:\Anaconda3\envs\skeleton\lib\site-packages\torch\utils\data\dataloader.py", line 266, in init
sampler = RandomSampler(dataset, generator=generator) # type: ignore
File "C:\Anaconda3\envs\skeleton\lib\site-packages\torch\utils\data\sampler.py", line 103, 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
How can I fix it please?
Thanks!
abduallahmohamed commented
The data path is incorrect.
There should be data in this folder:
Line 86 in c6f37ec