| funasr/bin/vad_inference_online.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/bin/vad_inference_online.py
@@ -96,7 +96,7 @@ } # a. To device batch = to_device(batch, device=self.device) segments, in_cache = self.vad_model(**batch) segments, in_cache = self.vad_model.forward_online(**batch) # in_cache.update(batch['in_cache']) # in_cache = {key: value for key, value in batch['in_cache'].items()} return fbanks, segments, in_cache