ERROR: Mecab_load() in mecab.cpp: Cannot open D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\pyopenjtalk\open_jtalk_dic_utf_8-1.11.
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\blocks.py", line 1389, in process_api
result = await self.call_function(
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\blocks.py", line 1108, in call_function
prediction = await utils.async_iteration(iterator)
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 346, in async_iteration
return await iterator.anext()
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 339, in anext
return await anyio.to_thread.run_sync(
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, args)
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 322, in run_sync_iterator_async
return next(iterator)
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 691, in gen_wrapper
yield from f(args, **kwargs)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\inference_webui.py", line 121, in inference
for item in tts_pipeline.run(inputs):
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\torch\utils_contextlib.py", line 35, in generator_context
response = gen.send(None)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TTS.py", line 675, in run
data = self.text_preprocessor.preprocess(text, text_lang, text_split_method)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 61, in preprocess
phones, bert_features, norm_text = self.segment_and_extract_feature_for_text(text, lang)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 111, in segment_and_extract_feature_for_text
phones, bert_features, norm_text = self.extract_bert_feature(textlist, langlist)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 164, in extract_bert_feature
phones, word2ph, norm_text = self.clean_text_inf(textlist[i], lang)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 192, in clean_text_inf
phones, word2ph, norm_text = clean_text(text, language)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\cleaner.py", line 26, in clean_text
phones = language_module.g2p(norm_text)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\japanese.py", line 183, in g2p
phones = preprocess_jap(norm_text, with_prosody)
File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\japanese.py", line 85, in preprocess_jap
p = pyopenjtalk.g2p(sentence)
File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\pyopenjtalk__init.py", line 100, in g2p
_global_jtalk = OpenJTalk(dn_mecab=OPEN_JTALK_DICT_DIR)
File "pyopenjtalk\openjtalk.pyx", line 142, in pyopenjtalk.openjtalk.OpenJTalk.cinit__
RuntimeError: Failed to initalize Mecab
ERROR: Mecab_load() in mecab.cpp: Cannot open D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\pyopenjtalk\open_jtalk_dic_utf_8-1.11. 0%| | 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\routes.py", line 442, in run_predict output = await app.get_blocks().process_api( File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\blocks.py", line 1389, in process_api result = await self.call_function( File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\blocks.py", line 1108, in call_function prediction = await utils.async_iteration(iterator) File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 346, in async_iteration return await iterator.anext() File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 339, in anext return await anyio.to_thread.run_sync( File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread return await future File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\anyio_backends_asyncio.py", line 851, in run result = context.run(func, args) File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 322, in run_sync_iterator_async return next(iterator) File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\gradio\utils.py", line 691, in gen_wrapper yield from f(args, **kwargs) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\inference_webui.py", line 121, in inference for item in tts_pipeline.run(inputs): File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\torch\utils_contextlib.py", line 35, in generator_context response = gen.send(None) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TTS.py", line 675, in run data = self.text_preprocessor.preprocess(text, text_lang, text_split_method) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 61, in preprocess phones, bert_features, norm_text = self.segment_and_extract_feature_for_text(text, lang) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 111, in segment_and_extract_feature_for_text phones, bert_features, norm_text = self.extract_bert_feature(textlist, langlist) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 164, in extract_bert_feature phones, word2ph, norm_text = self.clean_text_inf(textlist[i], lang) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\TTS_infer_pack\TextPreprocessor.py", line 192, in clean_text_inf phones, word2ph, norm_text = clean_text(text, language) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\cleaner.py", line 26, in clean_text phones = language_module.g2p(norm_text) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\japanese.py", line 183, in g2p phones = preprocess_jap(norm_text, with_prosody) File "D:\声音克隆\GPT-SoVITS\GPT_SoVITS\text\japanese.py", line 85, in preprocess_jap p = pyopenjtalk.g2p(sentence) File "D:\声音克隆\GPT-SoVITS\runtime\lib\site-packages\pyopenjtalk__init.py", line 100, in g2p _global_jtalk = OpenJTalk(dn_mecab=OPEN_JTALK_DICT_DIR) File "pyopenjtalk\openjtalk.pyx", line 142, in pyopenjtalk.openjtalk.OpenJTalk.cinit__ RuntimeError: Failed to initalize Mecab