雾聪
2023-12-05 b6190f04ffe0329df2e9225f9f9dbf4f40b12f91
funasr/bin/punc_train.py
@@ -44,4 +44,10 @@
    else:
        args.distributed = False
    if args.dataset_type == "small":
        if args.batch_size is not None:
            args.batch_size = args.batch_size * args.ngpu * args.num_worker_count
        if args.batch_bins is not None:
            args.batch_bins = args.batch_bins * args.ngpu * args.num_worker_count
    main(args=args)