From 0f18a6d2a0bb95ab4828147b9077f564e7f42880 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期五, 28 七月 2023 17:42:21 +0800
Subject: [PATCH] Update asr_inference_launch.py
---
funasr/export/export_model.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/export/export_model.py b/funasr/export/export_model.py
index babe9d9..f31f960 100644
--- a/funasr/export/export_model.py
+++ b/funasr/export/export_model.py
@@ -192,6 +192,7 @@
config, model_file, cmvn_file, 'cpu'
)
self.frontend = model.frontend
+ self.export_config["feats_dim"] = 560
elif mode.startswith('offline'):
from funasr.tasks.vad import VADTask
config = os.path.join(model_dir, 'vad.yaml')
--
Gitblit v1.9.1