From 74cf8b65b2254eee059f6f599bb6095db5c66001 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 16 十一月 2023 11:12:20 +0800
Subject: [PATCH] fix the issue of hotwords_embedding potentially being a null pointer
---
funasr/datasets/small_datasets/sequence_iter_factory.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/funasr/datasets/small_datasets/sequence_iter_factory.py b/funasr/datasets/small_datasets/sequence_iter_factory.py
index 8a7279a..9dbf5d7 100644
--- a/funasr/datasets/small_datasets/sequence_iter_factory.py
+++ b/funasr/datasets/small_datasets/sequence_iter_factory.py
@@ -68,7 +68,6 @@
sort_in_batch=dataset_conf["sort_in_batch"] if hasattr(dataset_conf, "sort_in_batch") else "descending",
sort_batch=dataset_conf["sort_batch"] if hasattr(dataset_conf, "sort_batch") else "descending",
drop_last=False,
- min_batch_size=torch.distributed.get_world_size(),
padding=True,
)
--
Gitblit v1.9.1