RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
The realtime gui problem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 38.4k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Description
I get this error if I want to start the realtime gui, any help? ^^
2024-08-26 00:56:59 | INFO | faiss.loader | Loading faiss with AVX2 support.
2024-08-26 00:56:59 | INFO | faiss.loader | Could not load library with AVX2 support due to:
ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'")
2024-08-26 00:56:59 | INFO | faiss.loader | Loading faiss.
2024-08-26 00:56:59 | INFO | faiss.loader | Successfully loaded faiss.
2024-08-26 00:57:00 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3090 Ti
2024-08-26 00:57:00 | INFO | configs.config | Half-precision floating-point: True, device: cuda:0
Traceback (most recent call last):
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 157, in load
data = json.load(j)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 1070, in
gui = GUI()
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 150, in init
self.launcher()
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 224, in launcher
data = self.load()
File "D:\RVC\Retrieval-based-Voice-Conversion-WebUI\gui_v1.py", line 195, in load
self.input_devices_indices.index(sd.default.device[0])
ValueError: -1 is not in list
Thanks <3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in gui_v1.py, especially load() around lines 157 and 195 and launcher() around line 224. Reproduce starting the realtime GUI and inspect the JSON loading and input-device selection paths shown in the traceback. Done means the GUI starts without the reported JSONDecodeError or ValueError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100