fuankarion / active-speakers-context

Code for the Active Speakers in Context Paper (CVPR2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

torch dataloader issue

javaria-qadeer opened this issue · comments

i am getting the following error while runing STE_train.py
File "STE_train.py", line 73, in
shuffle=True, num_workers=1)
File "/home/zain/anaconda3/envs/asc_env/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 213, in init
sampler = RandomSampler(dataset)
File "/home/zain/anaconda3/envs/asc_env/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 94, in init
"value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0

issue

is it a pytorch version issue?
if yes then,
which pytorch version you have used in your experiment

Hi,
That is usually an issue with your data, could you double check that the dictionary 'STE_inputs' points to valid directories where the extracted frames and audio snippets are located?