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

Apple M1 issue in training model

Open
#1,701 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am running on macos with M1 processor.
The "train feature index" does nothing and then the training fail.

When I run "One-click training" I get the following error.

Traceback (most recent call last):
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/routes.py", line 437, in run_predict
output = await app.get_blocks().process_api(
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/blocks.py", line 1346, in process_api
result = await self.call_function(
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/blocks.py", line 1090, in call_function
prediction = await utils.async_iteration(iterator)
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/utils.py", line 341, in async_iteration
return await iterator.anext()
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/utils.py", line 334, in anext
return await anyio.to_thread.run_sync(
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/Users/xxx/miniconda3/envs/rvcenv/lib/python3.10/site-packages/gradio/utils.py", line 317, in run_sync_iterator_async
return next(iterator)
File "/Users/xxx/Documents/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 721, in train1key
click_train(
File "/Users/xxx/Documents/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 479, in click_train
& set([name.split(".")[0] for name in os.listdir(f0_dir)])

Please assist.

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 with infer-web.py at train1key and click_train, especially the os.listdir(f0_dir) expression shown in the traceback. Reproduce the training flow on macOS with an M1 processor and verify that Train Feature Index and One-click training complete without the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
machine-learning, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.