mirror of
https://github.com/babysor/MockingBird.git
synced 2024-03-22 13:11:31 +08:00
[dataset]support aishell3(tested)
This commit is contained in:
parent
3084fdeb10
commit
0cc3f569fa
|
@ -19,6 +19,11 @@ data_info = {
|
||||||
"trans_filepath": "train/TRANS.txt",
|
"trans_filepath": "train/TRANS.txt",
|
||||||
"speak_func": preprocess_speaker_general
|
"speak_func": preprocess_speaker_general
|
||||||
},
|
},
|
||||||
|
"aishell3":{
|
||||||
|
"subfolders": ["train/wav"],
|
||||||
|
"trans_filepath": "train/content.txt",
|
||||||
|
"speak_func": preprocess_speaker_general
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def preprocess_dataset(datasets_root: Path, out_dir: Path, n_processes: int,
|
def preprocess_dataset(datasets_root: Path, out_dir: Path, n_processes: int,
|
||||||
|
|
|
@ -8,6 +8,7 @@ import argparse
|
||||||
recognized_datasets = [
|
recognized_datasets = [
|
||||||
"aidatatang_200zh",
|
"aidatatang_200zh",
|
||||||
"magicdata",
|
"magicdata",
|
||||||
|
"aishell3"
|
||||||
]
|
]
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user