From 1b8419d83267954b861a86f5ba1ccc6f60fe9098 Mon Sep 17 00:00:00 2001
From: weiliang <weiliang.chong@day-care.cn>
Date: 星期五, 24 三月 2023 09:25:40 +0800
Subject: [PATCH] add audio_data to buf when speeking is False for non-stream inferring
---
funasr/modules/eend_ola/encoder.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/modules/eend_ola/encoder.py b/funasr/modules/eend_ola/encoder.py
index 4999031..90a63f3 100644
--- a/funasr/modules/eend_ola/encoder.py
+++ b/funasr/modules/eend_ola/encoder.py
@@ -87,7 +87,7 @@
n_layers: int,
n_units: int,
e_units: int = 2048,
- h: int = 8,
+ h: int = 4,
dropout_rate: float = 0.1,
use_pos_emb: bool = False):
super(EENDOLATransformerEncoder, self).__init__()
--
Gitblit v1.9.1