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

Error: num_samples should be a positive integer value, but got num_samples=0 #14

Open
jbmaxwell opened this issue Jan 10, 2023 · 0 comments

Comments

@jbmaxwell
Copy link

I'm trying to run train.py on exp=base_medium with the ++datamodule.dataset.path= option pointing to my data, but it's failing with the above error. Digging through the code I can only find num_samples in connection with the batch size, which is at the default of 16 (for now). Is there anything I should double-check to get past this error? Stepping through in Debug I can see that the dataset has my paths, so I don't think it's a data problem.
Alternately, is there anything I can just hack to get past this? The only references to num_samples I can find are in the distribution classes in audio-diffusion-pytorch.diffusion.py... maybe just a default there? (Ugly, I know, but possible?)

Any help greatly appreciated!

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

1 participant