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

Add force_equal_length flag to scatter_dataset method #274

Open
iwiwi opened this issue Jul 3, 2018 · 0 comments
Open

Add force_equal_length flag to scatter_dataset method #274

iwiwi opened this issue Jul 3, 2018 · 0 comments
Labels

Comments

@iwiwi
Copy link
Contributor

iwiwi commented Jul 3, 2018

Current scatter_dataset creates sub datasets of strictly equal lengths by duplicating some examples when necessary. This is for epoch triggers to work correctly.

However, it is generally unnecessary for validator datasets, and sometimes we want to switch off this behavior, i.e., sometimes we don't want to duplicate some examples.

Therefore, I propose to add force_equal_length flag to scatter_dataset, with the default value of True (to keep the current default behavior).

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

No branches or pull requests

1 participant