BenAAndrew / Voice-Cloning-App

A Python/Pytorch app for easily synthesising human voices
BSD 3-Clause "New" or "Revised" License
1.39k stars 233 forks source link

"No such name" #118

Open MikeyMK opened 2 years ago

MikeyMK commented 2 years ago

I'm getting an error when trying to start the process of creating a dataset. I select my audio file and my text file, but I get an error saying "no such name", looks like it happens when trying to find the "text.txt" file.

Is there something I'm doing wrong?

Thanks!

BenAAndrew commented 2 years ago

Could you copy the full error log?

MikeyMK commented 2 years ago

Loading data from C:\Users\Mike\Desktop\Voice-Cloning\data Server initialized for threading. Loading data from C:\Users\Mike\Desktop\Voice-Cloning\data Server initialized for threading. INFO:matplotlib.font_manager:generated new fontManager [nltk_data] Downloading package punkt to [nltk_data] C:\Users\Mike\AppData\Local\Temp_MEI188362\nltk_data. [nltk_data] .. [nltk_data] Package punkt is already up-to-date! WARNING:werkzeug:WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.

MikeyMK commented 2 years ago

I do have eventlet, gevent, and gevent-websocket installed but it still gives me the websocket error as well, not sure if it is related to the "no such name" issue. Running on Windows 10.

BenAAndrew commented 2 years ago

Hmm, that error is quite vague and it's not obvious from the logs why it failed. A few more questions:

MikeyMK commented 2 years ago

Yup, English is the language and only contains standard characters and punctuation. I'm using a plain .txt file. Since the audio was split from many episodes of a show, I had to type out the majority of the text myself. Each line of text is on a separate line, not sure if that makes a difference?

I've also noticed that a copy of the txt file and the converted audio file is created in the /datasets/Test folder, but is automatically deleted when the error occurs.

BenAAndrew commented 2 years ago

That all sounds fine then. You can send me a link to your data if you like (by Discord DM or email) and I might be able to do further investigation

RayDAnt3D commented 2 years ago

Just wanted to chime in that I too ran into this issue just recently, and was able to trace it back to the presence of tab and/or multiple-space indents at the beginnings of lines in a UTF-8 formatted text file.

rikabi89 commented 2 years ago

fyi for anyone having this issue. https://www.browserling.com/tools/remove-whitespace - remove all tab/space easily and it fixed the issues for me without me manually doing myself.