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

fix: empty dataset splits #73

Merged
merged 2 commits into from
May 8, 2024
Merged

Conversation

eloy-encord
Copy link
Contributor

If a dataset is small enough or the values for the train/val/test splits is very small, it may be possible that no piece of data is assigned to that split. This change enforces that no split is empty, while it may have size 1 and thus not really useful, but it won't break the execution and will leave the responsibility to the user to take action in order to fix the disparity caused by his/her actions or the very small dataset size.

@eloy-encord eloy-encord merged commit 76c6cb2 into main May 8, 2024
1 check passed
@eloy-encord eloy-encord deleted the eloy/fix-empty-dataset-splits branch May 8, 2024 12:03
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.

2 participants