1
0
mirror of synced 2024-11-15 03:07:40 +01:00
Voice data <= 10 mins can also be used to train a good VC model!
Go to file
源文雨 aeec244087
fix: extract locale regex (#63)
* optimize: 精简未用到的配置项并在特征提取初步引入mps

* add cmd argument: --noautoopen

* fix: i18n

* fix

* fix

* add genlocale workflow

* add unitest

* fix

* fix

* fix

* 优化笔记本

* reintroduce Push changes

* disable genlocale on non-main branch

* 将笔记本checkout改为stable

* 优化代码结构

* make lint happy

* make lint happy

* 优化

* 优化

* 优化

* fix path on windows okey pack

* fix

* fix

* revert

* revert

* revert

* fix: extract locale regex
2023-04-15 13:27:03 +00:00
.github/workflows fix: genlocale (#53) 2023-04-14 14:22:55 +00:00
configs Add files via upload 2023-03-31 17:49:09 +08:00
infer Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
infer_pack Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
locale Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
logs/mute Delete a 2023-04-09 16:00:56 +00:00
pretrained 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00
train Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
uvr5_pack Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00: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 Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00: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 Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
extract_f0_print.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
extract_feature_print.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
extract_locale.py fix: extract locale regex (#63) 2023-04-15 13:27:03 +00:00
go-web.bat optimize: append pause to bat (#51) 2023-04-14 14:30:10 +00:00
gui.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
infer_uvr5.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
infer-web.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
LICENSE Initial commit 2023-03-27 17:59:11 +08:00
my_utils.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +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 add Discord badge to English&Japanese README (#56) 2023-04-14 15:57:34 +00:00
README.ja.md add Discord badge to English&Japanese README (#56) 2023-04-14 15:57:34 +00:00
README.md add Discord badge to ZH_CN (#55) 2023-04-14 15:57:15 +00:00
requirements-win-for-realtime_vc_gui.txt Fix GUI i18n (#38) 2023-04-12 14:28:28 +08:00
requirements.txt fix typo 2023-04-09 20:30:15 +09:00
Retrieval_based_Voice_Conversion_WebUI.ipynb 优化笔记本、翻译并重新引入自动push (#48) 2023-04-13 13:32:08 +00:00
slicer2.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
train_nsf_sim_cache_sid_load_pretrain.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
trainset_preprocess_pipeline_print.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
vc_infer_pipeline.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00:00
webui_locale.py Reformat and rewrite _get_name_params (#57) 2023-04-15 11:44:24 +00: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

Discord


Changelog

English | 中文简体 | 日本語

Check our Demo Video here!

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

Summary

This repository has the following features:

  • Reduce tone leakage by replacing source feature to training-set feature using top1 retrieval;
  • Easy and fast training, even on relatively poor graphics cards;
  • Training with a small amount of data also obtains relatively good results (>=10min low noise speech recommended);
  • Supporting model fusion to change timbres (using ckpt processing tab->ckpt merge);
  • 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 dataset, and high quality licensed song datasets will be added to training-set 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 + Nvidia Ampere Architecture(RTX30xx), 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