MoonBlvd / tad-IROS2019

Code of the Unsupervised Traffic Accident Detection paper in Pytorch.
MIT License
166 stars 39 forks source link

ValueError: num_samples should be a positive integer value, but got num_samples=0 #17

Closed brinst07 closed 4 years ago

brinst07 commented 4 years ago

Hi thank you for sharing this code i tried python train_ego_pred.py --load_config config/fol_ego_train.yaml but it cause this error image

plz help me

MoonBlvd commented 4 years ago

Hi @brinst07 it seems to be a issue with pytorch sampler function, can you check if the dataset you sample from is not empty?

MoonBlvd commented 4 years ago

Hi @brinst07 is your problem solved? If so, could you please close this issue?

brinst07 commented 4 years ago

thank you ^^