mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #557] FileNotFoundError: [WinError 3] specifically file "0_gt_wavs" #321
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#321
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Siiinaayu on GitHub (Jun 17, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/557
Tested multiple times but came out to the same issue
['extract_f0_print.py', 'C:\TCHT\Retrieval-based-Voice-Conversion-WebUI/logs/suisei', '12', 'harvest']
['extract_feature_print.py', 'cuda:0', '1', '0', '0', 'C:\TCHT\Retrieval-based-Voice-Conversion-WebUI/logs/suisei', 'v1']
C:\TCHT\Retrieval-based-Voice-Conversion-WebUI/logs/suisei
load model(s) from hubert_base.pt
move model to cuda
Traceback (most recent call last):
File "C:\Python310\lib\site-packages\gradio\routes.py", line 437, in run_predict
output = await app.get_blocks().process_api(
File "C:\Python310\lib\site-packages\gradio\blocks.py", line 1352, in process_api
result = await self.call_function(
File "C:\Python310\lib\site-packages\gradio\blocks.py", line 1093, in call_function
prediction = await utils.async_iteration(iterator)
File "C:\Python310\lib\site-packages\gradio\utils.py", line 341, in async_iteration
return await iterator.anext()
File "C:\Python310\lib\site-packages\gradio\utils.py", line 334, in anext
return await anyio.to_thread.run_sync(
File "C:\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Python310\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "C:\Python310\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\Python310\lib\site-packages\gradio\utils.py", line 317, in run_sync_iterator_async
return next(iterator)
File "C:\TCHT\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 932, in train1key
set([name.split(".")[0] for name in os.listdir(gt_wavs_dir)])
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\TCHT\Retrieval-based-Voice-Conversion-WebUI/logs/suisei/0_gt_wavs'
@RVC-Boss commented on GitHub (Jun 18, 2023):
there is some other errors before this
see preprocess.log
@pofudukpofi commented on GitHub (Jun 20, 2023):
okey i found preprocess.log, what should i do
@mar-tok commented on GitHub (Jun 22, 2023):
preprocess.log won't inform you of anything useful, since this is a problem that occurs when training is about to start.
What solved it for me was running the bat from the location of the original directory used when installing everything.
So if you initially set things up in
C:/SomeFolder, it will then give the FileNotFoundError if you've moved (and run the bat from) the repository outside of that directory, sayC:/NewFolder/SomeFolder. In my case, I just had to move it back toC:/SomeFolder. During the process, it was looking for the required file in the new directory, but had saved it in the old directory.Not sure how to reconfigure it properly, but that was how I solved it in my case.
@DatDuckSaysQuack commented on GitHub (Jul 1, 2023):
I am running into this issue as well, version RVC-beta-v2-0618...
@ddcharx commented on GitHub (Jul 2, 2023):
I also have this problem....
C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
Use Language: zh_CN
Running on local URL: http://0.0.0.0:7897
Traceback (most recent call last):
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\trainset_preprocess_pipeline_print.py", line 20, in
f = open("%s/preprocess.log" % exp_dir, "a+")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Max/preprocess.log'
Traceback (most recent call last):
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\extract_f0_print.py", line 14, in
f = open("%s/extract_f0_feature.log" % exp_dir, "a+")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Max/extract_f0_feature.log'
Traceback (most recent call last):
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\extract_feature_print.py", line 29, in
f = open("%s/extract_f0_feature.log" % exp_dir, "a+")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Max/extract_f0_feature.log'
Traceback (most recent call last):
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\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\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\runtime\lib\site-packages\gradio\blocks.py", line 859, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\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\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\runtime\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\runtime\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\runtime\lib\site-packages\gradio\utils.py", line 408, in async_iteration
return next(iterator)
File "C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618\infer-web.py", line 1072, in train1key
set([name.split(".")[0] for name in os.listdir(gt_wavs_dir)])
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\Users\Max Sun\Desktop\RVC-beta\RVC-beta-v2-0618/logs/untest/0_gt_wavs'
@wf-chen commented on GitHub (Jul 3, 2023):
Create a new folder within the project, place the materials in this folder, and specify the material path as the path of the newly created folder.
@wf-chen commented on GitHub (Jul 3, 2023):
It solves my problem
@DatDuckSaysQuack commented on GitHub (Jul 3, 2023):
With project, are you referring to where the original audio files are located, or where the unfinished training data is located? Apologies if my question is potentially stupid
@wf-chen commented on GitHub (Jul 3, 2023):
original audio files
@ddcharx commented on GitHub (Jul 4, 2023):
At first, I tried creating a new folder within the project, placing the materials in this folder, and specifying the material path as the path of the newly created folder, but it didn't work. However, when I moved the entire 'rvc' folder with the materials to the root directory of the C drive, the program started running. I guess my initial path was too long for the program.
@DatDuckSaysQuack commented on GitHub (Jul 4, 2023):
I cannot say for certain as to how and why, but this actually worked. Huh.
@wf-chen commented on GitHub (Jul 9, 2023):
I guess it might be caused by spaces in the folder names.
@DatDuckSaysQuack commented on GitHub (Jul 9, 2023):
It actually does seem like that this RVC web UI hates spaces. Everything works for me now since I've removed any and all spaces from my paths, and this specific error only appears when I've specified a path that contains spaces.
That is very annoying, but at least now I know how to avert the error.
@boog-i commented on GitHub (Sep 14, 2023):
Try downloading this:
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/mute.zip
@abe546 commented on GitHub (Feb 9, 2024):
I was able to resolve this issue by moving the training set data folder to the root directory where the UI .bat file is launched. If no wav file exists that means process data was unsuccesful, and looking at CMD error logs I saw FileNotFound error which was only resolved after moving the training data to the same directory as the WEB UI tool.
@DatDuckSaysQuack commented on GitHub (Feb 9, 2024):
I resolved this issue a while ago by just not having any spaces in the file path.
@github-actions[bot] commented on GitHub (Apr 28, 2024):
This issue was closed because it has been inactive for 15 days since being marked as stale.
@qinglangee commented on GitHub (May 5, 2025):
用资源管理器复制路径就不会踩这个坑了。。。