num of chunks calculation doesn't consider chunk_size #1342
kuacakuaca
started this conversation in
General
Replies: 1 comment
-
Why should it? Do you think the formula is wrong? I don't think so. What do you think is the correct formula? Can you also show some example input? E.g., example input: Length 5. Chunk step 3, chunk size 4. You end up with:
2 chunks in the output. But chunk size is not really relevant. Same with chunk size 3:
(5 - 1) // 3 + 1 = 2 with the current formula.
|
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
-
is that intended that
chunk_size
is not considered fornr_of_chunks
andnr_of_chunks_default
(https://github.com/rwth-i6/returnn/blob/04c14d6a3745f90f0bd10b28ce4d51b1d61afb82/returnn/datasets/basic.py#LL1071C17-L1071C17) comparison?Beta Was this translation helpful? Give feedback.
All reactions