Skip to content

Commit

Permalink
Fix bug in conv asr
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushal-py committed Apr 22, 2024
1 parent c48c9b8 commit 7a625e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nemo/collections/asr/modules/conv_asr.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ def forward(self, encoder_output, language_ids=None): #CTEMO
mask = mask.to(decoder_output.device)
# masked_output = self.masked_softmax(decoder_output, mask) # B x T x 3073 -> B x T x 257
decoder_output = torch.masked_select(decoder_output, mask).view(decoder_output.shape[0],decoder_output.shape[1],-1)
del mask

del mask
# print(mask[0][0])
# softmax_output = self.masked_softmax(decoder_output, mask)
# return softmax_output
Expand Down

0 comments on commit 7a625e1

Please sign in to comment.