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
c21ab480fc
commit
f41acc98ef
Binary file not shown.
@ -256,6 +256,7 @@ class Interformer(nn.Module):
|
||||
with torch.cuda.amp.autocast(enabled=False):
|
||||
for inter_output, pt_output in zip(inter_layer_outputs, pt_layer_outputs):
|
||||
mse_loss = self.mse(inter_output, pt_output)
|
||||
loss += mse_loss
|
||||
'''
|
||||
simple_loss, (px_grad, py_grad) = k2.rnnt_loss_smoothed(
|
||||
lm=lm.float(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user