-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
I keep getting TypeError: Invalid file: WindowsPath #235
Comments
Hi! Have you solved this issue? I'm facing the exact the same problem. |
any news about this issue? |
Bump. This issue is affecting me aswell! |
This bug is easy to debug. I was testing the algorithm so I hard-coded the url of the input files with the raw string modifier in python. E.g., r"PATH2MYFILE" |
Actually I just fixed it for myself. I changed line 119 in toolbox/init.py to: |
It's nice to see you all found a workaround. We formally resolved this problem in #371 . Closing this issue. |
Hi guys I keep getting this error when running python demo_toolbox.py
Exception: Invalid file: WindowsPath('D:/ai/LibriSpeech/train-clean-360/6157/40556/6157-40556-0111.flac')
Also I get this error using eg. python synthesizer_preprocess_audio.py
TypeError: Invalid file: WindowsPath('D:/ai/LibriSpeech/train-clean-100/103/1240/103-1240-0000.flac')
Any help with this would be fantastic it may be something simple I have only just started with python a few days ago.
I am running Windows 10 and using Anaconda and have downloaded all the files required. I just cant seem to load any voices in the toolbox through Voxceleb, librispeech or custom audio files in any format but i can record my own voice in toolbox. Thanks guys hopefully someone can help me out.
Cheers
Glenn
The text was updated successfully, but these errors were encountered: