| funasr/bin/asr_infer.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/bin/asr_infer.py
@@ -431,6 +431,8 @@ # b. Forward Encoder if decoding_ind is None: decoding_ind = self.decoding_ind if self.decoding_ind is None: decoding_ind = 0 enc, enc_len = self.asr_model.encode(**batch, ind=decoding_ind) if isinstance(enc, tuple): enc = enc[0]