Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having Problem while Running it. #43

Open
awais019 opened this issue May 24, 2023 · 2 comments
Open

Having Problem while Running it. #43

awais019 opened this issue May 24, 2023 · 2 comments

Comments

@awais019
Copy link

awais019 commented May 24, 2023

I'm trying to run train_ego_pred but I get this error
Traceback (most recent call last):
File "/home/dev007/Desktop/tad-IROS2019/train_ego_pred.py", line 41, in
val_gen = data.DataLoader(val_set, **dataloader_params)
File "/home/dev007/.local/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 351, in init
sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type]
File "/home/dev007/.local/lib/python3.10/site-packages/torch/utils/data/sampler.py", line 107, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0

@MoonBlvd
Copy link
Owner

Did you download the dataset properly? Why you have num_samples=0?

@awais019
Copy link
Author

awais019 commented May 31, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants