zhifu gao
2023-05-12 595531facf9b8e66ca74d3cbb26b4f89b969ca67
funasr/bin/build_trainer.py
@@ -131,7 +131,7 @@
    if batch_bins is not None:
        if args.dataset_type == "small":
            args.batch_bins = batch_bins
        elif args.dataset_type == "large" and "batch_size" not in args.dataset_conf["batch_conf"]:
        elif args.dataset_type == "large":
            args.dataset_conf["batch_conf"]["batch_size"] = batch_bins
        else:
            raise ValueError(f"Not supported dataset_type={args.dataset_type}")