Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\tts\Scripts\tts-script.py", line 33, in
sys.exit(load_entry_point('TTS', 'console_scripts', 'tts')())
File "d:\voice\tts-0.7.1\tts-0.7.1\TTS\bin\synthesize.py", line 350, in main
wav = synthesizer.tts(
File "d:\voice\tts-0.7.1\tts-0.7.1\TTS\utils\synthesizer.py", line 247, in tts
language_id = self.tts_model.language_manager.ids[language_name]
KeyError: 'zh-CN'
english module version is ok. chinese module is failed!!!
Describe the bug
tts --model_name tts_models/multilingual/multi-dataset/your_tts --encoder_path model_se.pth.tar --encoder_config config_se.json --speaker_wav D:\voice\TTS-0.7.1\TTS-model\dst.wav --reference_wav D:\voice\TTS-0.7.1\TTS-model\ref.wav --language_idx "zh-cn"
Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\tts\Scripts\tts-script.py", line 33, in
sys.exit(load_entry_point('TTS', 'console_scripts', 'tts')())
File "d:\voice\tts-0.7.1\tts-0.7.1\TTS\bin\synthesize.py", line 350, in main
wav = synthesizer.tts(
File "d:\voice\tts-0.7.1\tts-0.7.1\TTS\utils\synthesizer.py", line 247, in tts
language_id = self.tts_model.language_manager.ids[language_name]
KeyError: 'zh-CN'
english module version is ok. chinese module is failed!!!
To Reproduce
tts --model_name tts_models/multilingual/multi-dataset/your_tts --encoder_path model_se.pth.tar --encoder_config config_se.json --speaker_wav D:\voice\TTS-0.7.1\TTS-model\cyw-out-002.wav --reference_wav D:\voice\TTS-0.7.1\TTS-model\cyw-out-002.wav --language_idx "zh-CN"
Expected behavior
No response
Logs
No response
Environment
Additional context
No response