Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错TypeError: expected str, bytes or os.PathLike object, not MultiplexedPathescription of what the bug is. #609

Open
cc228 opened this issue Oct 30, 2024 · 1 comment

Comments

@cc228
Copy link

cc228 commented 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.

@cc228 cc228 changed the title 报错 报错TypeError: expected str, bytes or os.PathLike object, not MultiplexedPathescription of what the bug is. Oct 30, 2024
@aluminumbox
Copy link
Collaborator

没遇到过,看上去是wetextprocessing没装好,重装试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants