1
0
mirror of synced 2024-11-14 18:57:39 +01:00
Voice data <= 10 mins can also be used to train a good VC model!
Go to file
唐澤 克幸 72d37119de
add localization(添加本地化) (#35)
* add i18n

* Add gui.py as target

* update

* Update extract_locale.py
2023-04-12 10:48:39 +08:00
configs Add files via upload 2023-03-31 17:49:09 +08:00
infer fix: MacOS 纯 CPU 推理时 Segmentation fault: 11 2023-04-10 18:28:39 +08:00
infer_pack optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
locale add localization(添加本地化) (#35) 2023-04-12 10:48:39 +08:00
logs/mute Delete a 2023-04-09 16:00:56 +00:00
pretrained 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00
train Merge pull request #7 from fumiama/main 2023-04-10 10:32:35 +08:00
uvr5_pack optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
uvr5_weights 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00
weights 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00
.gitignore fix: train step2a & add arg --port --pycmd --noparallel 2023-04-01 16:42:19 +08:00
Changelog_CN.md Update Changelog_CN.md 2023-04-09 15:57:14 +00:00
config.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
envfilescheck.bat Add a batch file for windows user to download requearment files automated by using aria2. 2023-04-04 00:23:39 +08:00
export_onnx.py Add files via upload 2023-04-08 23:36:25 +08:00
extract_f0_print.py Add files via upload 2023-03-31 17:54:38 +08:00
extract_feature_print.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
extract_locale.py add localization(添加本地化) (#35) 2023-04-12 10:48:39 +08:00
gui.py add localization(添加本地化) (#35) 2023-04-12 10:48:39 +08:00
infer_uvr5.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
infer-web.py add localization(添加本地化) (#35) 2023-04-12 10:48:39 +08:00
LICENSE Initial commit 2023-03-27 17:59:11 +08:00
my_utils.py Update my_utils.py 2023-04-09 16:05:04 +00:00
poetry.lock add poetry dependency file 2023-04-05 10:44:07 +08:00
pyproject.toml add poetry dependency file 2023-04-05 10:44:07 +08:00
README_en.md Update README_en.md (#34) 2023-04-11 18:11:53 +08:00
README.md Update README.md (#36) 2023-04-11 16:24:49 +00:00
requirements-win.txt Tested minimum pip requirements on windows. 2023-04-11 00:51:03 +08:00
requirements.txt edit README 2023-04-10 18:46:58 +08:00
Retrieval_based_Voice_Conversion_WebUI.ipynb fix: MacOS 纯 CPU 推理时 Segmentation fault: 11 2023-04-10 18:28:39 +08:00
slicer2.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
train_nsf_sim_cache_sid_load_pretrain.py Update train_nsf_sim_cache_sid_load_pretrain.py 2023-04-10 11:08:26 +08:00
trainset_preprocess_pipeline_print.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
vc_infer_pipeline.py optimize: 精简未用到的配置项并在特征提取初步引入mps (#32) 2023-04-11 18:14:55 +08:00
webui_locale.py add localization(添加本地化) (#35) 2023-04-12 10:48:39 +08:00
使用需遵守的协议-LICENSE.txt fix: train step2a & add arg --port --pycmd --noparallel 2023-04-01 16:42:19 +08:00
小白简易教程.doc Add files via upload 2023-03-31 18:52:30 +08:00

Retrieval-based-Voice-Conversion-WebUI

An easy-to-use SVC framework based on VITS.

madewithlove


Open In Colab Licence Huggingface


Changelog

English | 中文简体

Check our Demo Video here!

Realtime Voice Conversion Software using RVC : w-okada/voice-changer

Summary

This repository has the following features:

  • Using top1 feature model retrieval to reduce tone leakage;
  • Easy and fast training, even on relatively poor graphics cards;
  • Training with a small amount of data also obtains relatively good results;
  • Supporting model fusion to change timbres;
  • Easy-to-use Webui interface;
  • Use the UVR5 model to quickly separate vocals and instruments.
  • The dataset for the pre-training model uses nearly 50 hours of high quality VCTK open source, and high quality licensed song datasets will be added one after another for your use, without worrying about copyright infringement.

Preparing the environment

We recommend you install the dependencies through poetry.

The following commands need to be executed in the environment of Python version 3.8 or higher:

# Install PyTorch-related core dependencies, skip if installed
# Reference: https://pytorch.org/get-started/locally/
pip install torch torchvision torchaudio

#For Windows + 30-series Nvidia cards, you need to specify the cuda version corresponding to pytorch according to the experience of https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/issues/21

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

# Install the Poetry dependency management tool, skip if installed
# Reference: https://python-poetry.org/docs/#installation
curl -sSL https://install.python-poetry.org | python3 -

# Install the project dependencies
poetry install

You can also use pip to install the dependencies

Notice: faiss 1.7.2 will raise Segmentation Fault: 11 under MacOS, please change corresponding line in requirements.txt to faiss-cpu==1.7.0

pip install -r requirements.txt

Preparation of other Pre-models

RVC requires other pre-models to infer and train.

You need to download them from our Huggingface space.

Here's a list of Pre-models and other files that RVC needs:

hubert_base.pt

./pretrained 

./uvr5_weights

#If you are using Windows, you may also need this dictionary, skip if FFmpeg is installed
ffmpeg.exe

Then use this command to start Webui:

python infer-web.py

If you are using Windows, you can download and extract RVC-beta.7z to use RVC directly and use go-web.bat to start Webui.

We will develop an English version of the WebUI in 2 weeks.

There's also a tutorial on RVC in Chinese and you can check it out if needed.

Credits

Thanks to all contributors for their efforts