From 2f186d5272aa65ea920df938acea46ccb71e70e7 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期一, 08 一月 2024 16:52:05 +0800 Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main --- funasr/datasets/data_sampler.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/funasr/datasets/data_sampler.py b/funasr/datasets/data_sampler.py index 6b3407c..c8e7b0d 100644 --- a/funasr/datasets/data_sampler.py +++ b/funasr/datasets/data_sampler.py @@ -4,7 +4,7 @@ class BatchSampler(torch.utils.data.BatchSampler): - def __init__(self, dataset, batch_size_type: str="example", batch_size: int=14, sort_size: int=30, drop_last: bool=False, shuffle: bool=True, **kwargs): + def __init__(self, dataset, batch_size_type: str="example", batch_size: int=100, sort_size: int=30, drop_last: bool=False, shuffle: bool=True, **kwargs): self.drop_last = drop_last self.pre_idx = -1 -- Gitblit v1.9.1