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/layers/label_aggregation.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/funasr/layers/label_aggregation.py b/funasr/layers/label_aggregation.py
index 97556d5..e86c296 100644
--- a/funasr/layers/label_aggregation.py
+++ b/funasr/layers/label_aggregation.py
@@ -1,7 +1,6 @@
 import torch
 from typing import Optional
 from typing import Tuple
-from typeguard import check_argument_types
 from torch.nn import functional as F
 from funasr.modules.nets_utils import make_pad_mask
 
@@ -86,7 +85,6 @@
         self,
         hop_length: int = 8,
     ):
-        assert check_argument_types()
         super().__init__()
 
         self.hop_length = hop_length

--
Gitblit v1.9.1