mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 22:54:18 +00:00
Update model.py
This commit is contained in:
parent
92e90bd055
commit
7320e0ea89
@ -142,8 +142,8 @@ class Transducer(nn.Module):
|
||||
boundary[:, 2] = y_lens
|
||||
boundary[:, 3] = x_lens
|
||||
|
||||
lm=self.simple_lm_proj(decoder_out)
|
||||
am=self.simple_am_proj(encoder_out)
|
||||
lm = self.simple_lm_proj(decoder_out)
|
||||
am = self.simple_am_proj(encoder_out)
|
||||
|
||||
with torch.cuda.amp.autocast(enabled=False):
|
||||
simple_loss, (px_grad, py_grad) = k2.rnnt_loss_smoothed(
|
||||
|
Loading…
x
Reference in New Issue
Block a user