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

Do not error with too small batch size #231

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Do not error with too small batch size #231

merged 1 commit into from
Oct 24, 2023

Conversation

jakobnissen
Copy link
Member

In recent versions of PyTorch (perhaps all versions), having a batch size larger than dataset size is not a problem. So, the error that Vamb threw had no purpose, and just caused problems for our users.
Instead, display a warning if Vamb is trained on too few sequences.

In recent versions of PyTorch (perhaps all versions), having a batch size larger
than dataset size is not a problem. So, the error that Vamb threw had no purpose,
and just caused problems for our users.
Instead, display a warning if Vamb is trained on too few sequences.
@jakobnissen jakobnissen merged commit 1f93348 into master Oct 24, 2023
4 checks passed
@jakobnissen jakobnissen deleted the batch_error branch October 24, 2023 10:27
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

Successfully merging this pull request may close these issues.

1 participant