嘉渊 2 years ago
parent
commit
96ae31d5b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      funasr/bin/build_trainer.py

+ 1 - 0
funasr/bin/build_trainer.py

@@ -614,6 +614,7 @@ def build_trainer(modelscope_dict,
     if batch_bins is not None:
         if args.dataset_type == "small":
             args.batch_bins = batch_bins
+            args.dataset_conf["batch_conf"]["batch_size"] = batch_bins
         elif args.dataset_type == "large":
             args.dataset_conf["batch_conf"]["batch_size"] = batch_bins
         else: