mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Fix calling optimized_transducer after new release. (#182)
This commit is contained in:
parent
f94ff19bfe
commit
d6050eb02e
@ -120,6 +120,7 @@ class Transducer(nn.Module):
|
|||||||
target_lengths=y_lens,
|
target_lengths=y_lens,
|
||||||
blank=blank_id,
|
blank=blank_id,
|
||||||
reduction="sum",
|
reduction="sum",
|
||||||
|
from_log_softmax=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
return loss
|
return loss
|
||||||
|
Loading…
x
Reference in New Issue
Block a user