mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
c51d7df74d
commit
b0caeec9ff
@ -62,7 +62,7 @@ class SequenceIterFactory(AbsIterFactory):
|
|||||||
# sampler
|
# sampler
|
||||||
dataset_conf = args.dataset_conf
|
dataset_conf = args.dataset_conf
|
||||||
batch_sampler = LengthBatchSampler(
|
batch_sampler = LengthBatchSampler(
|
||||||
batch_bins=dataset_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 "ascending",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user