Xin chào bạn, mình cài đặt trên Win11, đến bước chạy file "Step1_data_processing.py" thì gặp lỗi này:
(viclone) PS E:\ViSV2TTS-master> python Step1_data_processing.py
0%| | 0/12420 [00:00<?, ?it/s]
Traceback (most recent call last):
File "Step1_data_processing.py", line 57, in
process_text()
File "Step1_data_processing.py", line 15, in process_text
phoneme = vi2IPA_split(script.lower(), "/")
File "E:\ViSV2TTS-master\viphoneme__init__.py", line 510, in vi2IPA_split
TN= TTSnorm(text)
File "C:\Users\sakur\AppData\Roaming\Python\Python38\site-packages\vinorm__init__.py", line 10, in TTSnorm
fw.write(text)
File "C:\ProgramData\miniconda3\envs\viclone\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u1edf' in position 2: character maps to
Xin chào bạn, mình cài đặt trên Win11, đến bước chạy file "Step1_data_processing.py" thì gặp lỗi này:
(viclone) PS E:\ViSV2TTS-master> python Step1_data_processing.py 0%| | 0/12420 [00:00<?, ?it/s] Traceback (most recent call last): File "Step1_data_processing.py", line 57, in
process_text()
File "Step1_data_processing.py", line 15, in process_text
phoneme = vi2IPA_split(script.lower(), "/")
File "E:\ViSV2TTS-master\viphoneme__init__.py", line 510, in vi2IPA_split
TN= TTSnorm(text)
File "C:\Users\sakur\AppData\Roaming\Python\Python38\site-packages\vinorm__init__.py", line 10, in TTSnorm
fw.write(text)
File "C:\ProgramData\miniconda3\envs\viclone\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u1edf' in position 2: character maps to
Bạn check giúp mình nhé Thanks