Skip to content

Commit

Permalink
bug fix in tarred dataset class num_speech_codebooks
Browse files Browse the repository at this point in the history
Signed-off-by: Paarth Neekhara <[email protected]>
  • Loading branch information
paarthneekhara committed Dec 14, 2023
1 parent 9c3d712 commit 7d985ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def _build_sample(self, tup):
dim=1,
)
dec_input_new = []
for _c in range(self.num_codebooks):
for _c in range(self.num_speech_codebooks):
st = num_codebooks - _c
et_decoder_input = dec_input_padded.shape[1] - _c
dec_input_new.append(dec_input_padded[_c, st:et_decoder_input])
Expand Down

0 comments on commit 7d985ca

Please sign in to comment.