mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
84b4a01979
commit
d9984c2062
@ -1160,8 +1160,8 @@ class ParaformerOnline(Paraformer):
|
||||
mask_chunk_predictor=mask_chunk_predictor,
|
||||
target_label_length=None,
|
||||
)
|
||||
predictor_alignments, predictor_alignments_len = self.predictor.gen_frame_alignments(pre_alphas[:, :-1],
|
||||
encoder_out_lens)
|
||||
predictor_alignments, predictor_alignments_len = self.predictor.gen_frame_alignments(pre_alphas,
|
||||
encoder_out_lens+1 if self.predictor.tail_threshold > 0.0 else encoder_out_lens)
|
||||
|
||||
scama_mask = None
|
||||
if self.encoder.overlap_chunk_cls is not None and self.decoder_attention_chunk_type == 'chunk':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user