mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
5bc7c1e64c
commit
559f7a8eab
Binary file not shown.
Binary file not shown.
@ -359,7 +359,7 @@ def decode_one_batch(
|
|||||||
else:
|
else:
|
||||||
encoder_out, encoder_out_lens = model.encoder(x=feature, x_lens=feature_lens, prompt=model.prompt)
|
encoder_out, encoder_out_lens = model.encoder(x=feature, x_lens=feature_lens, prompt=model.prompt)
|
||||||
|
|
||||||
if 1:
|
if 0:
|
||||||
encoder_out = encoder_out[:,50:,:]
|
encoder_out = encoder_out[:,50:,:]
|
||||||
encoder_out_lens -= 50
|
encoder_out_lens -= 50
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user