You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mình đang cài phiên bản mới nhất underthesea v6.8.0 chạy windows 10, Anacoda mới nhất, python 3.11 và cài theo như hướng dẫn:
pip install underthesea
pip install underthesea[wow]
underthesea download-model VIET_TTS_V0_4_1
Khi mình chạy dòng lệnh như hướng dẫn:
underthesea say "Cựu binh Mỹ trả nhật ký nhẹ lòng khi thấy cuộc sống hòa bình tại Việt Nam"
Thì gặp lỗi này:
Traceback (most recent call last):
...
say(test)
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say_init_.py", line 31, in say
y = text_to_speech(text)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say_init_.py", line 19, in text_to_speech
mel = text2mel(
^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 95, in text2mel
tokens = text2tokens(text, lexicon_fn)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 41, in text2tokens
lexicon = load_lexicon(lexicon_fn)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 19, in load_lexicon
lines = open(fn, "r").readlines()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3913: character maps to <undefined>
Cảm ơn bạn đã giúp đở.
The text was updated successfully, but these errors were encountered:
Mình gặp phải lỗi mong được hỗ trợ, xin cảm ơn.
Mình đang cài phiên bản mới nhất underthesea v6.8.0 chạy windows 10, Anacoda mới nhất, python 3.11 và cài theo như hướng dẫn:
pip install underthesea
pip install underthesea[wow]
underthesea download-model VIET_TTS_V0_4_1
Khi mình chạy dòng lệnh như hướng dẫn:
underthesea say "Cựu binh Mỹ trả nhật ký nhẹ lòng khi thấy cuộc sống hòa bình tại Việt Nam"
Thì gặp lỗi này:
Traceback (most recent call last):
...
say(test)
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say_init_.py", line 31, in say
y = text_to_speech(text)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say_init_.py", line 19, in text_to_speech
mel = text2mel(
^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 95, in text2mel
tokens = text2tokens(text, lexicon_fn)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 41, in text2tokens
lexicon = load_lexicon(lexicon_fn)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\site-packages\underthesea\pipeline\say\viettts_\nat\text2mel.py", line 19, in load_lexicon
lines = open(fn, "r").readlines()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\anaconda3\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3913: character maps to <undefined>
Cảm ơn bạn đã giúp đở.
The text was updated successfully, but these errors were encountered: