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

Cannot find .index file even after separate Index training

Open

#395 geöffnet am 30. Mai 2023

Auf GitHub ansehen
 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.849 Forks)batch import
bughelp wantedquestion

Repository-Metriken

Stars
 (18.427 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I first used the one-click training and it was missing the .index file, so I followed the instructions on other Issues tabs and the wiki. But after training feature index saparately, this happens.

  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
    output = await app.blocks.process_api(
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 1006, in process_api
    result = await self.call_function(fn_index, inputs, iterator, request)
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 859, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\utils.py", line 408, in async_iteration
    return next(iterator)
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\infer-web.py", line 804, in train_index
    faiss.write_index(
  File "C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528\runtime\lib\site-packages\faiss\swigfaiss.py", line 8255, in write_index
    return _swigfaiss.write_index(*args)
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 C:\Users\edenw\OneDrive\桌面\RVC-beta-v2-0528/logs/my-voice/trained_IVF275_Flat_nprobe_1_my-voice_v2.index for writing: No such file or directory```

I might have missed a past Issue or two, but I genuinely couldn't figure out how to fix it.

Contributor Guide