mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
Merge pull request #82 from alibaba-damo-academy/dev_lhn
fix uniasr training bug
This commit is contained in:
commit
1bae17a7a9
@ -206,7 +206,7 @@ class UniASR(AbsESPnetModel):
|
||||
with torch.no_grad():
|
||||
speech_raw, encoder_out, encoder_out_lens = self.encode(speech, speech_lengths, ind=ind)
|
||||
else:
|
||||
speech_raw, encoder_out_lens = self.encode(speech, speech_lengths, ind=ind)
|
||||
speech_raw, encoder_out, encoder_out_lens = self.encode(speech, speech_lengths, ind=ind)
|
||||
|
||||
intermediate_outs = None
|
||||
if isinstance(encoder_out, tuple):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user