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

ZeroDivisionError when size smaller than 1000 using single mode #48

Open
phys-chem opened this issue Jul 25, 2023 · 0 comments
Open

ZeroDivisionError when size smaller than 1000 using single mode #48

phys-chem opened this issue Jul 25, 2023 · 0 comments

Comments

@phys-chem
Copy link

in preprocess.py line 107:
num_splits = len(all_data) // 1000
for other modes, it is written as:
num_splits = max(len(all_data) // 1000, 1)

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