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
报错,这个应该怎么解决
A clear and concise dTraceback (most recent call last):
File "D:\langchao\Audio\CosyVoice\test.py", line 7, in
cosyvoice = CosyVoice('pretrained_models/CosyVoice-300M')
File "D:\langchao\Audio\CosyVoice\cosyvoice\cli\cosyvoice.py", line 33, in init
self.frontend = CosyVoiceFrontEnd(configs['get_tokenizer'],
File "D:\langchao\Audio\CosyVoice\cosyvoice\cli\frontend.py", line 73, in init
self.zh_tn_model = ZhNormalizer(remove_erhua=False, full_to_half=False)
File "D:\anaconda\envs\CosyVoice\lib\site-packages\tn\chinese\normalizer.py", line 53, in init
self.build_fst('zh_tn', cache_dir, overwrite_cache)
File "D:\anaconda\envs\CosyVoice\lib\site-packages\tn\processor.py", line 85, in build_fst
os.makedirs(cache_dir, exist_ok=True)
File "D:\anaconda\envs\CosyVoice\lib\os.py", line 210, in makedirs
head, tail = path.split(name)
File "D:\anaconda\envs\CosyVoice\lib\ntpath.py", line 211, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MultiplexedPathescription of what the bug is.
The text was updated successfully, but these errors were encountered:
cc228
changed the title
报错
报错TypeError: expected str, bytes or os.PathLike object, not MultiplexedPathescription of what the bug is.
Oct 30, 2024
报错,这个应该怎么解决
A clear and concise dTraceback (most recent call last):
File "D:\langchao\Audio\CosyVoice\test.py", line 7, in
cosyvoice = CosyVoice('pretrained_models/CosyVoice-300M')
File "D:\langchao\Audio\CosyVoice\cosyvoice\cli\cosyvoice.py", line 33, in init
self.frontend = CosyVoiceFrontEnd(configs['get_tokenizer'],
File "D:\langchao\Audio\CosyVoice\cosyvoice\cli\frontend.py", line 73, in init
self.zh_tn_model = ZhNormalizer(remove_erhua=False, full_to_half=False)
File "D:\anaconda\envs\CosyVoice\lib\site-packages\tn\chinese\normalizer.py", line 53, in init
self.build_fst('zh_tn', cache_dir, overwrite_cache)
File "D:\anaconda\envs\CosyVoice\lib\site-packages\tn\processor.py", line 85, in build_fst
os.makedirs(cache_dir, exist_ok=True)
File "D:\anaconda\envs\CosyVoice\lib\os.py", line 210, in makedirs
head, tail = path.split(name)
File "D:\anaconda\envs\CosyVoice\lib\ntpath.py", line 211, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MultiplexedPathescription of what the bug is.
The text was updated successfully, but these errors were encountered: