PJLab-ADG / OpenPCSeg

OpenPCSeg: Open Source Point Cloud Segmentation Toolbox and Benchmark
366 stars 36 forks source link

ValueError: num samples should be a positive integer value, but got num samples=0 #11

Closed RhythmOfTheRain-Byte closed 10 months ago

RhythmOfTheRain-Byte commented 1 year ago

I run the train.py with the command line: python train.py --cfg-file tools/cfgs/voxel/semantic_kitti/minkunet_mk34_cr10.yaml

and some wrong info occurs. Anyone else has account the same situation File "/home/**/anaconda3/envs/pcseg/lib/python3.7/site-packages/torch/utils/data/sampler,init"value, but got num samples={}".format(self.num samples) ValueError: num samples should be a positive integer value, but got num samples=0

willianLee commented 1 year ago

check out your data_root path