mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
2363c63f95
commit
f2b9780b29
@ -157,6 +157,10 @@ def generate_data_list(data_dir, dataset, nj=100):
|
||||
|
||||
|
||||
def prepare_data(args, distributed_option):
|
||||
if args.dataset_type == "small" and args.train_data_path_and_name_and_type is not None:
|
||||
return
|
||||
if args.dataset_type == "large" and args.train_data_file is not None:
|
||||
return
|
||||
distributed = distributed_option.distributed
|
||||
if not distributed or distributed_option.dist_rank == 0:
|
||||
filter_wav_text(args.data_dir, args.train_set)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user