From 6fb84e4bf2219ff3b5a701282b15fea373fc2251 Mon Sep 17 00:00:00 2001
From: Zhihao Du <neo.dzh@alibaba-inc.com>
Date: 星期四, 03 八月 2023 10:54:27 +0800
Subject: [PATCH] TOLD/SOND: remove typeguard dependency. (#801)

---
 funasr/models/e2e_diar_sond.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/funasr/models/e2e_diar_sond.py b/funasr/models/e2e_diar_sond.py
index fa1fc38..aa6294a 100644
--- a/funasr/models/e2e_diar_sond.py
+++ b/funasr/models/e2e_diar_sond.py
@@ -13,7 +13,6 @@
 import numpy as np
 import torch
 from torch.nn import functional as F
-from typeguard import check_argument_types
 
 from funasr.modules.nets_utils import to_device
 from funasr.modules.nets_utils import make_pad_mask
@@ -69,7 +68,6 @@
         freeze_encoder: bool = False,
         onfly_shuffle_speaker: bool = True,
     ):
-        assert check_argument_types()
 
         super().__init__()
 

--
Gitblit v1.9.1