3D-ResNets-PyTorch icon indicating copy to clipboard operation
3D-ResNets-PyTorch copied to clipboard

train error--num_samples=0

Open lrhjw opened this issue 4 years ago • 5 comments

"value, but got num_samples={}".format(self.num_samples)) ValueError: num_samples should be a positive integer value, but got num_samples=0

lrhjw avatar Mar 23 '20 07:03 lrhjw

same problem! did anyone solved this one?

YB221 avatar Apr 18 '20 11:04 YB221

same problem!

lhyfst avatar May 07 '20 18:05 lhyfst

it happens cause dataset is not arranged as per imagenet/activitynet/ucf101 that is data/classes/vid_name/images doing this solved this problem for me. cheers

YB221 avatar May 08 '20 17:05 YB221

I removed the "/" at the end of the paths that i gave to the function and it worked for me because during the code it also add "/" to the path

elaheyenaz65 avatar Jun 09 '20 09:06 elaheyenaz65

same problem and I am using my own datasets

Chaoran-F avatar Nov 14 '20 05:11 Chaoran-F