RVC-Project / Retrieval-based-Voice-Conversion-WebUI

Easily train a good VC model with voice data <= 10 mins!
MIT License
22.44k stars 3.39k forks source link

How to fix "Runtimeerror"? #400

Open Raphy0218 opened 1 year ago

Raphy0218 commented 1 year ago

I push "One click training" then window said "training index" then I see command prompt then command prompt said↓

"RuntimeError: Error in __cdecl faiss::FileIOWriter::FileIOWriter(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:98: Error: 'f' failed: could not open D:\Private\AIVC\RVC-beta/logs/zundamon/trained_IVF1065_Flat_nprobe_1_zundamon_v1.index for writing: Illegal byte sequence"

What is wrong? And how to fix? If this error has paths "\\///", I want how to change this logs path.

(This is my first use github. Maybe it's wrong using, or confusing my sentence. So I want advice too.)

burakeg commented 1 year ago

can u fix this

arbaz686 commented 2 months ago

Ensure that the file path does not contain any illegal characters. Windows file paths can have issues with characters like <>:"/\|?* and the directory D:\Private\AIVC\RVC-beta/logs/zundamon/ exists. If not, create it manually or modify the script to create it automatically.

If the log path is set in a configuration file or within the code, you might need to change it. Or if the path is set in the repository configuration, you will need to locate the file and update it. The file could be a .env, config.py, or similar configuration file used by the repository.