diff --git a/TTS/tts/configs/fast_speech_config.py b/TTS/tts/configs/fast_speech_config.py index e3d25cff..31d99442 100644 --- a/TTS/tts/configs/fast_speech_config.py +++ b/TTS/tts/configs/fast_speech_config.py @@ -143,7 +143,7 @@ class FastSpeechConfig(BaseTTSConfig): r: int = 1 # DO NOT CHANGE # dataset configs - compute_f0: bool = False + compute_f0: bool = False f0_cache_path: str = None # testing diff --git a/TTS/tts/datasets/__init__.py b/TTS/tts/datasets/__init__.py index 0885f633..4fae974f 100644 --- a/TTS/tts/datasets/__init__.py +++ b/TTS/tts/datasets/__init__.py @@ -91,6 +91,8 @@ def load_tts_samples( for idx, ins in enumerate(meta_data_eval_all): attn_file = meta_data[ins[1]].strip() meta_data_eval_all[idx].append(attn_file) + # set none for the next iter + formatter = None return meta_data_train_all, meta_data_eval_all diff --git a/TTS/tts/datasets/formatters.py b/TTS/tts/datasets/formatters.py index a2f9cb27..425eb0cd 100644 --- a/TTS/tts/datasets/formatters.py +++ b/TTS/tts/datasets/formatters.py @@ -61,9 +61,9 @@ def mozilla_de(root_path, meta_file): def mailabs(root_path, meta_files=None): """Normalizes M-AI-Labs meta data files to TTS format - + Args: - root_path (str): root folder of the MAILAB language folder. + root_path (str): root folder of the MAILAB language folder. meta_files (str): list of meta files to be used in the training. If None, finds all the csv files recursively. Defaults to None """