From df662541a887feafd1c17eda790be67c8711a20f Mon Sep 17 00:00:00 2001
From: speech_asr <wangjiaming.wjm@alibaba-inc.com>
Date: 星期二, 11 四月 2023 00:13:30 +0800
Subject: [PATCH] update

---
 funasr/models/frontend/wav_frontend.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/funasr/models/frontend/wav_frontend.py b/funasr/models/frontend/wav_frontend.py
index 475a939..fc02dc9 100644
--- a/funasr/models/frontend/wav_frontend.py
+++ b/funasr/models/frontend/wav_frontend.py
@@ -9,7 +9,6 @@
 from typeguard import check_argument_types
 
 import funasr.models.frontend.eend_ola_feature as eend_ola_feature
-from funasr.models.frontend.abs_frontend import AbsFrontend
 
 
 def load_cmvn(cmvn_file):
@@ -76,7 +75,7 @@
     return LFR_outputs.type(torch.float32)
 
 
-class WavFrontend(AbsFrontend):
+class WavFrontend(torch.nn.Module):
     """Conventional frontend structure for ASR.
     """
 
@@ -207,7 +206,7 @@
         return feats_pad, feats_lens
 
 
-class WavFrontendOnline(AbsFrontend):
+class WavFrontendOnline(torch.nn.Module):
     """Conventional frontend structure for streaming ASR/VAD.
     """
 
@@ -452,7 +451,7 @@
         self.lfr_splice_cache = []
 
 
-class WavFrontendMel23(AbsFrontend):
+class WavFrontendMel23(torch.nn.Module):
     """Conventional frontend structure for ASR.
     """
 

--
Gitblit v1.9.1