seanXYZ/SegDecNet

error

Opened this issue · 3 comments

raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0

I have this problem too, have you solved it?

ZNzhr commented

Be aware of the parameters when calling DataLoader.With batch_simple,random samples do not need shuffle.So,shuffle should be set to False.

Changed ".jpg" to ".bmp" at dataset.py . it has been mentioned in #3, and i test it works.