SegDecNet icon indicating copy to clipboard operation
SegDecNet copied to clipboard

error

Open vaibhav030798 opened this issue 2 years ago • 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

vaibhav030798 avatar Jun 09 '22 06:06 vaibhav030798

I have this problem too, have you solved it?

Suimingzhe avatar Aug 17 '22 01:08 Suimingzhe

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

ZNzhr avatar Sep 22 '22 08:09 ZNzhr

Changed ".jpg" to ".bmp" at dataset.py . it has been mentioned in https://github.com/seanXYZ/SegDecNet/issues/3, and i test it works.

xyzcxyz avatar Oct 18 '23 03:10 xyzcxyz