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

Is it possible to disable shuffle ? #1197

Closed
mangleddata opened this issue Jun 8, 2021 · 2 comments · Fixed by #1198
Closed

Is it possible to disable shuffle ? #1197

mangleddata opened this issue Jun 8, 2021 · 2 comments · Fixed by #1198

Comments

@mangleddata
Copy link

Is there a way to disable shuffle of data during the processing of mini batches ? Let's say I have organized my train data = [0...1000] and my batch size is 256. I would like to force mini batches to process data in the same order without any randomization or shuffling.
batch 0 = [0..255]
batch 1 = [256..511] and so on..

@tgaddair
Copy link
Collaborator

tgaddair commented Jun 8, 2021

Hey @mangleddata, good question. It's not supported in the latest release, but I just added #1198 which should allow you to configure this:

training:
    should_shuffle: false

@mangleddata
Copy link
Author

@tgaddair That's great and thank you! I will give this a try.

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 a pull request may close this issue.

2 participants