Closed petertarabawrai closed 5 years ago
batch_sampler
.Doesn't notion give more freedom than definition?
@petertarabawrai What you you mean by notion?
you said 'if i want to discard the notion of epoch', which I don't. By notion I understand something lighter than theory. what did you mean by notion?
Notion as similar to concept.
If you are not discarding the concept of epoch, then you basically have to accept that there is only one iterator for each pass/epoch on the dataset, and that you can’t merge data across epochs/iterators.
I have following order in my head: idea, notion, concept, definition. Idea can be dumb, notion can be whimsy, concept sounds more serious, definition is precise. We don't even have to agree to continue main discussion.
drop_last (bool, optional) – set to True to drop the last incomplete batch, if the dataset size is not divisible by the batch size. If False and the size of dataset is not divisible by the batch size, then the last batch will be smaller. (default: False)
What if I want to redistribute data from last incomplete batch into other batches, so I don't loose any training (or testing) data?