zhifu gao
2024-04-23 8795bf5bf1daac5a839f856a748d7e92cc4c5015
funasr/models/seaco_paraformer/model.py
@@ -350,7 +350,7 @@
        pre_acoustic_embeds, pre_token_length = predictor_outs[0], predictor_outs[1]
        pre_token_length = pre_token_length.round().long()
        if torch.max(pre_token_length) < 1:
            return []
            return ([],)
        decoder_out = self._seaco_decode_with_ASF(encoder_out, 
                                                  encoder_out_lens,