mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update batch_bins configuration
This commit is contained in:
parent
3c4898fe16
commit
651a945773
@ -132,8 +132,7 @@ def build_trainer(modelscope_dict,
|
||||
if args.dataset_type == "small":
|
||||
args.batch_bins = batch_bins
|
||||
elif args.dataset_type == "large":
|
||||
if "batch_size" not in args.dataset_conf["batch_conf"]:
|
||||
args.dataset_conf["batch_conf"]["batch_size"] = batch_bins
|
||||
args.dataset_conf["batch_conf"]["batch_size"] = batch_bins
|
||||
else:
|
||||
raise ValueError(f"Not supported dataset_type={args.dataset_type}")
|
||||
if args.normalize in ["null", "none", "None"]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user