From 6de0f96851d848b35665ac9938f99bbb64b1e090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=98=89=E6=B8=8A?= Date: Tue, 25 Apr 2023 16:41:15 +0800 Subject: [PATCH] update --- funasr/utils/prepare_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funasr/utils/prepare_data.py b/funasr/utils/prepare_data.py index ed4104c5d..347aab59a 100644 --- a/funasr/utils/prepare_data.py +++ b/funasr/utils/prepare_data.py @@ -70,7 +70,7 @@ def calc_shape_core(root_path, args, idx): f.flush() -def calc_shape(args, dataset, nj=32): +def calc_shape(args, dataset, nj=64): shape_path = os.path.join(args.data_dir, dataset, "speech_shape") if os.path.exists(shape_path): logging.info('Shape file for small dataset already exists.') @@ -115,7 +115,7 @@ def calc_shape(args, dataset, nj=32): logging.info('Generating shape files done.') -def generate_data_list(data_dir, dataset, nj=32): +def generate_data_list(data_dir, dataset, nj=64): list_file = os.path.join(data_dir, dataset, "data.list") if os.path.exists(list_file): logging.info('Data list for large dataset already exists.')