From 2e36e738ca39afc8d02f3d11013bd12f937cc874 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期三, 08 十一月 2023 09:22:06 +0800
Subject: [PATCH] fix bug for h5 hotwords (#1067)
---
funasr/models/preencoder/sinc.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/funasr/models/preencoder/sinc.py b/funasr/models/preencoder/sinc.py
index fe6d2af..3baa4a8 100644
--- a/funasr/models/preencoder/sinc.py
+++ b/funasr/models/preencoder/sinc.py
@@ -10,7 +10,6 @@
from funasr.layers.sinc_conv import SincConv
import humanfriendly
import torch
-from typeguard import check_argument_types
from typing import Optional
from typing import Tuple
from typing import Union
@@ -60,7 +59,6 @@
windowing_type: Choice of windowing function.
scale_type: Choice of filter-bank initialization scale.
"""
- assert check_argument_types()
super().__init__()
if isinstance(fs, str):
fs = humanfriendly.parse_size(fs)
@@ -268,7 +266,6 @@
dropout_probability: Dropout probability.
shape (tuple, list): Shape of input tensors.
"""
- assert check_argument_types()
super().__init__()
if shape is None:
shape = (0, 2, 1)
--
Gitblit v1.9.1