How Does MultipackBatchSampler Handle Triple-Nested Lists? #2310
Unanswered
modesta-jihye-lee
asked this question in
Q&A
Replies: 1 comment
-
This is from my understanding of reading the code. We pre-compute batches of mini-batch using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I have a question about how the
MultipackBatchSampler
works. Specifically, in itsgenerate_batches
function, it seems to return a triple-nested list structure, such as:However, my understanding is that a BatchSampler typically returns a nested list with batches structured like this:
This triple nesting is unexpected and doesn't align with the usual behavior of BatchSampler. Am I missing something in the implementation or intended design? Any clarification would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions