嘉渊
2023-07-26 8e53dd6b778a6df01854df725b0fa5b4ef6f8317
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)