From 4854d398708594a13e3043daf1a19adfde970ea2 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期三, 27 九月 2023 10:48:51 +0800
Subject: [PATCH] Merge pull request #983 from alibaba-damo-academy/dev_lyh
---
funasr/samplers/folded_batch_sampler.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/samplers/folded_batch_sampler.py b/funasr/samplers/folded_batch_sampler.py
index 48e9604..f48d744 100644
--- a/funasr/samplers/folded_batch_sampler.py
+++ b/funasr/samplers/folded_batch_sampler.py
@@ -4,7 +4,6 @@
from typing import Tuple
from typing import Union
-from typeguard import check_argument_types
from funasr.fileio.read_text import load_num_sequence_text
from funasr.fileio.read_text import read_2column_text
@@ -23,7 +22,6 @@
drop_last: bool = False,
utt2category_file: str = None,
):
- assert check_argument_types()
assert batch_size > 0
if sort_batch != "ascending" and sort_batch != "descending":
raise ValueError(
--
Gitblit v1.9.1