speech_asr
2023-04-18 c2b99916f5f87ed9c2c5b5f3ba5aa914c057a8e8
update
1个文件已修改
3 ■■■■■ 已修改文件
funasr/datasets/small_datasets/build_loader.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/datasets/small_datasets/build_loader.py
@@ -18,10 +18,7 @@
        raise NotImplementedError(f"mode={mode}")
    dataset = ESPnetDataset(
        data_path_and_name_and_type,
        float_dtype=args.train_dtype,
        preprocess=preprocess_fn,
        max_cache_size=args.max_cache_size,
        max_cache_fd=args.max_cache_fd,
        dest_sample_rate=dest_sample_rate,
    )
    if os.path.exists(os.path.join(data_path_and_name_and_type[0][0].parent, "utt2category")):