haoneng.lhn
2023-12-07 4152cf4615e234b9892703a8e088cdd51937fc13
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,
        )