From 1eacb8ae811a7e68c296523e6a8b4e72eb024aa2 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期五, 10 三月 2023 20:48:41 +0800
Subject: [PATCH] Update iterable_dataset.py
---
funasr/models/frontend/wav_frontend.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/funasr/models/frontend/wav_frontend.py b/funasr/models/frontend/wav_frontend.py
index 7a6425b..ed8cb36 100644
--- a/funasr/models/frontend/wav_frontend.py
+++ b/funasr/models/frontend/wav_frontend.py
@@ -171,10 +171,7 @@
window_type=self.window,
sample_frequency=self.fs)
- # if self.lfr_m != 1 or self.lfr_n != 1:
- # mat = apply_lfr(mat, self.lfr_m, self.lfr_n)
- # if self.cmvn_file is not None:
- # mat = apply_cmvn(mat, self.cmvn_file)
+
feat_length = mat.size(0)
feats.append(mat)
feats_lens.append(feat_length)
--
Gitblit v1.9.1