From 248a9979c332c81c9398de6307fd57fb236f412d Mon Sep 17 00:00:00 2001
From: Yu Xin <scaner@gmail.com>
Date: 星期一, 31 七月 2023 11:26:48 +0800
Subject: [PATCH] 使用np.float32替换np.float (#789)
---
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