| funasr/bin/asr_inference_rnnt.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/bin/asr_inference_rnnt.py
@@ -301,9 +301,6 @@ feats = speech.unsqueeze(0).to(getattr(torch, self.dtype)) feats_lengths = feats.new_full([1], dtype=torch.long, fill_value=feats.size(1)) if self.asr_model.normalize is not None: feats, feats_lengths = self.asr_model.normalize(feats, feats_lengths) feats = to_device(feats, device=self.device) feats_lengths = to_device(feats_lengths, device=self.device)