from local

This commit is contained in:
dohe0342 2023-04-21 11:45:56 +09:00
parent 275fe08e57
commit dad0aa54ca
2 changed files with 3 additions and 1 deletions

View File

@ -361,7 +361,9 @@ def decode_one_batch(
if 1: if 1:
encoder_out = encoder_out[:,50:,:] encoder_out = encoder_out[:,50:,:]
encoder_out -= 50 encoder_out_lens -= 50
print(encoder_out.size())
hyps = [] hyps = []