mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
96ae31d5b6
commit
eedc4231b0
@ -66,8 +66,9 @@ class SequenceIterFactory(AbsIterFactory):
|
|||||||
batch_bins=dataset_conf["batch_conf"]["batch_size"] * args.ngpu,
|
batch_bins=dataset_conf["batch_conf"]["batch_size"] * args.ngpu,
|
||||||
shape_files=shape_files,
|
shape_files=shape_files,
|
||||||
sort_in_batch=dataset_conf["sort_in_batch"] if hasattr(dataset_conf, "sort_in_batch") else "descending",
|
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 "ascending",
|
sort_batch=dataset_conf["sort_batch"] if hasattr(dataset_conf, "sort_batch") else "descending",
|
||||||
drop_last=False,
|
drop_last=False,
|
||||||
|
min_batch_size=torch.distributed.get_world_size(),
|
||||||
padding=True,
|
padding=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user