I am having issue using xTTS-v2 model to do Japanese text-to-speech task on Google Colab with T4 GPU. And I got a RuntimeError: Failed initializing MeCab. Reinstalling mecab-python3 does not seem helpful.
ERROR DETAILS
arguments: [b'fugashi', b'-C']
param.cpp(69) [ifs] no such file or directory: /usr/local/etc/mecabrc
To Reproduce
First it shows cutlet module not exist so I install it with TTS in the beginning:
!pip install TTS cutlet
Then:
from TTS.api import TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=True)
Til here it all went well.
But when:
tts.tts_to_file(text="アメリカ:イスラエル軍によるガザ地区占領に反対を強調", # Sample text from news title
file_path="output.wav",
speaker_wav="/path/to/target/speaker.wav",
language="ja")
fugashi/fugashi.pyx in fugashi.fugashi.Tagger.init()
fugashi/fugashi.pyx in fugashi.fugashi.GenericTagger.init()
RuntimeError:
Failed initializing MeCab. Please see the README for possible solutions:
https://github.com/polm/fugashi
If you are still having trouble, please file an issue here, and include the
ERROR DETAILS below:
https://github.com/polm/fugashi/issues
issueを英語で書く必要はありません。
------------------- ERROR DETAILS ------------------------
arguments: [b'fugashi', b'-C']
param.cpp(69) [ifs] no such file or directory: /usr/local/etc/mecabrc
Describe the bug
I am having issue using xTTS-v2 model to do Japanese text-to-speech task on Google Colab with T4 GPU. And I got a RuntimeError: Failed initializing MeCab. Reinstalling mecab-python3 does not seem helpful.
ERROR DETAILS arguments: [b'fugashi', b'-C'] param.cpp(69) [ifs] no such file or directory: /usr/local/etc/mecabrc
To Reproduce
First it shows cutlet module not exist so I install it with TTS in the beginning:
Then:
Til here it all went well.
But when:
Expected behavior
It gives:
Logs
No response
Environment
Additional context
No response