嘉渊
2023-04-25 6de0f96851d848b35665ac9938f99bbb64b1e090
update
1个文件已修改
4 ■■■■ 已修改文件
funasr/utils/prepare_data.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/utils/prepare_data.py
@@ -70,7 +70,7 @@
                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 @@
    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.')