From 8c904ecadde91d19d97a011377cc978459d601ce Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期四, 02 十一月 2023 17:13:18 +0800
Subject: [PATCH] Merge pull request #1053 from alibaba-damo-academy/dev_lzr_en
---
funasr/samplers/sorted_batch_sampler.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/funasr/samplers/sorted_batch_sampler.py b/funasr/samplers/sorted_batch_sampler.py
index d6c3b41..b31e93e 100644
--- a/funasr/samplers/sorted_batch_sampler.py
+++ b/funasr/samplers/sorted_batch_sampler.py
@@ -2,7 +2,6 @@
from typing import Iterator
from typing import Tuple
-from typeguard import check_argument_types
from funasr.fileio.read_text import load_num_sequence_text
from funasr.samplers.abs_sampler import AbsSampler
@@ -26,7 +25,6 @@
sort_batch: str = "ascending",
drop_last: bool = False,
):
- assert check_argument_types()
assert batch_size > 0
self.batch_size = batch_size
self.shape_file = shape_file
--
Gitblit v1.9.1