|
|
@ -7,7 +7,7 @@ from tqdm import tqdm
|
|
|
|
import numpy as np
|
|
|
|
import numpy as np
|
|
|
|
from encoder import inference as encoder
|
|
|
|
from encoder import inference as encoder
|
|
|
|
from synthesizer.preprocess_speaker import preprocess_speaker_general
|
|
|
|
from synthesizer.preprocess_speaker import preprocess_speaker_general
|
|
|
|
from synthesizer.preprocess_transcript import preprocess_transcript_aishell3
|
|
|
|
from synthesizer.preprocess_transcript import preprocess_transcript_aishell3, preprocess_transcript_magicdata
|
|
|
|
|
|
|
|
|
|
|
|
data_info = {
|
|
|
|
data_info = {
|
|
|
|
"aidatatang_200zh": {
|
|
|
|
"aidatatang_200zh": {
|
|
|
@ -18,7 +18,8 @@ data_info = {
|
|
|
|
"magicdata": {
|
|
|
|
"magicdata": {
|
|
|
|
"subfolders": ["train"],
|
|
|
|
"subfolders": ["train"],
|
|
|
|
"trans_filepath": "train/TRANS.txt",
|
|
|
|
"trans_filepath": "train/TRANS.txt",
|
|
|
|
"speak_func": preprocess_speaker_general
|
|
|
|
"speak_func": preprocess_speaker_general,
|
|
|
|
|
|
|
|
"transcript_func": preprocess_transcript_magicdata,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"aishell3":{
|
|
|
|
"aishell3":{
|
|
|
|
"subfolders": ["train/wav"],
|
|
|
|
"subfolders": ["train/wav"],
|
|
|
|