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: Invalid file: WindowsPath #1

Closed
kahotv opened this issue Mar 9, 2023 · 1 comment
Closed

TypeError: Invalid file: WindowsPath #1

kahotv opened this issue Mar 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kahotv
Copy link

kahotv commented Mar 9, 2023

我在最后推导时出现这个错误,根据网上搜索,解决办法如下:

在inference_main.py的第35行,
wav_path = Path(raw_audio_path).with_suffix('.wav')
改为:
wav_path = str(Path(raw_audio_path).with_suffix('.wav'))

@SUC-DriverOld
Copy link
Owner

感谢指出!

@kahotv kahotv closed this as completed Mar 10, 2023
@SUC-DriverOld SUC-DriverOld added the enhancement New feature or request label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants