-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About train #2
Comments
It seems your data folder is empty or structure is wrong. Could you please share the structure of data folder? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Excuse me, when I have prepared UCF101, the problem is produce. Looking forward your reply. Thanks in advance.
python main.py /home/feng/pseudo-3d-pytorch/data
UCF101 data set
Loading P3D model
=> creating model P3D
Traceback (most recent call last):
File "main.py", line 52, in
main()
File "main.py", line 48, in main
Training(name_list=name_list, num_classes=num_classes, modality='RGB', **args)
File "/home/feng/pseudo-3d-pytorch/train.py", line 43, in init
self.train_loader, self.val_loader = self.loading_data()
File "/home/feng/pseudo-3d-pytorch/train.py", line 206, in loading_data
pin_memory=True)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 145, in init
sampler = RandomSampler(dataset)
File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/sampler.py", line 61, 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
The text was updated successfully, but these errors were encountered: