From 74cf8b65b2254eee059f6f599bb6095db5c66001 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 16 十一月 2023 11:12:20 +0800
Subject: [PATCH] fix the issue of hotwords_embedding potentially being a null pointer
---
funasr/models/frontend/fused.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/models/frontend/fused.py b/funasr/models/frontend/fused.py
index 857486d..ff95871 100644
--- a/funasr/models/frontend/fused.py
+++ b/funasr/models/frontend/fused.py
@@ -3,7 +3,6 @@
from funasr.models.frontend.s3prl import S3prlFrontend
import numpy as np
import torch
-from typeguard import check_argument_types
from typing import Tuple
@@ -12,7 +11,6 @@
self, frontends=None, align_method="linear_projection", proj_dim=100, fs=16000
):
- assert check_argument_types()
super().__init__()
self.align_method = (
align_method # fusing method : linear_projection only for now
--
Gitblit v1.9.1