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

ValueError: need at least one array to concatenate

Open
#1,198 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

following up
Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

INFO:test2:====> Epoch: 200 [2023-08-26 18:18:25] | (0:00:20.367071)
INFO:test2:Training is done. The program is closed.
INFO:test2:saving final ckpt:Success.
Traceback (most recent call last):
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\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\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\runtime\lib\site-packages\gradio\blocks.py", line 859, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\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\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\runtime\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\runtime\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\runtime\lib\site-packages\gradio\utils.py", line 408, in async_iteration
return next(iterator)
File "C:\Users\Catalin\Desktop\RVC0813AMD_Intel\RVC0813AMD_Intel\infer-web.py", line 1283, in train1key
big_npy = np.concatenate(npys, 0)
File "<array_function internals>", line 180, in concatenate
ValueError: need at least one array to concatenate

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at infer-web.py line 1283, where training calls np.concatenate(npys, 0), and trace how npys is populated before that point. Reproduce the training flow using the issue's log context, determine why no arrays are available, and verify that training completes without the ValueError.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
audio-video-rtc, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.