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

Cannot find .index file even after separate Index training

Open

#395 创建于 2023年5月30日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)Python (2,849 fork)batch import
bughelp wantedquestion

仓库指标

Star
 (18,427 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南