from local

This commit is contained in:
dohe0342 2022-12-10 15:08:05 +09:00
parent 3ece75b603
commit 6c7a19ea56
2 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class Transducer(nn.Module):
encoder_out, x_lens = self.encoder(x, x_lens)
hyps = []
hyp_tokens = greedy_search_batch(self, encoder_out, x_lens)#, decoder_out)
hyp_tokens = greedy_search_batch(self, encoder_out, x_lens)
for hyp in sp.decode(hyp_tokens):
hyps.append(hyp.split())