一个基于VITS的简单易用的变声框架
Go to file
RVC-Boss 7bd25c4623
Add files via upload
2023-05-28 23:40:54 +08:00
.github/workflows fix unitest 2023-05-17 13:32:25 +08:00
configs Add files via upload 2023-03-31 17:49:09 +08:00
docs Add Korean CHANGELOG (#359) 2023-05-28 00:04:31 +09:00
i18n Corrected Japanese translation. (#319) 2023-05-21 11:06:11 +00:00
infer upload RVC v2 index training script (#343) 2023-05-24 12:26:35 +00:00
infer_pack Format code (#330) 2023-05-21 19:19:53 +08:00
logs/mute Add files via upload 2023-05-14 16:08:37 +08:00
pretrained 删除无用文件,增加--colab启动选项 2023-04-01 15:02:53 +08:00
pretrained_v2 Create .gitignore 2023-05-14 07:16:47 +00:00
train Format code (#304) 2023-05-18 13:18:02 +08:00
uvr5_pack Add files via upload 2023-05-28 23:00:51 +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-05-28 15:11:30 +00:00
Changelog_EN.md Update Changelog_EN.md 2023-05-14 07:50:54 +00:00
Changelog_KO.md Add Korean CHANGELOG (#359) 2023-05-28 00:04:31 +09:00
Dockerfile add ability to containerize with Docker (add Dockerfile) (#240) 2023-05-07 13:32:16 +08:00
LICENSE Initial commit 2023-03-27 17:59:11 +08:00
MDXNet.py Add files via upload 2023-05-28 23:40:54 +08:00
README.md Update README.md 2023-05-14 07:19:35 +00:00
Retrieval_based_Voice_Conversion_WebUI.ipynb 优化笔记本、翻译并重新引入自动push (#48) 2023-04-13 13:32:08 +00:00
Retrieval_based_Voice_Conversion_WebUI_v2.ipynb feat: ipynb for v2 (#332) 2023-05-23 12:58:05 +08:00
config.py Format code (#330) 2023-05-21 19:19:53 +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 Format code (#330) 2023-05-21 19:19:53 +08:00
extract_f0_print.py bugfix: leaked semaphore error (#309) 2023-05-19 17:56:06 +08:00
extract_feature_print.py fix workflow (#284) 2023-05-15 13:11:01 +08:00
extract_locale.py fix: json format (#84) 2023-04-17 12:49:29 +00:00
go-realtime-gui.bat Add files via upload 2023-04-16 18:56:20 +08:00
go-web.bat Add files via upload 2023-04-27 23:34:03 +08:00
gui.py Fix gui.py (#365) 2023-05-28 12:52:05 +00:00
i18n.py Format code (#330) 2023-05-21 19:19:53 +08:00
infer-web.py Add files via upload 2023-05-28 23:40:54 +08:00
infer_uvr5.py Add files via upload 2023-05-28 23:40:54 +08:00
my_utils.py Format code (#142) 2023-04-24 20:35:56 +08:00
poetry.lock Bump tornado from 6.2 to 6.3.2 (#358) 2023-05-28 00:36:12 +09:00
pyproject.toml Bump tornado from 6.2 to 6.3.2 (#358) 2023-05-28 00:36:12 +09:00
requirements-win-for-realtime_vc_gui.txt Fix GUI i18n (#38) 2023-04-12 14:28:28 +08:00
requirements.txt Add files via upload 2023-05-28 23:40:54 +08: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 Bump tornado from 6.2 to 6.3.2 (#358) 2023-05-28 00:36:12 +09:00
trainset_preprocess_pipeline_print.py bugfix: leaked semaphore error (#309) 2023-05-19 17:56:06 +08:00
vc_infer_pipeline.py Add files via upload 2023-05-28 22:58:33 +08:00
使用需遵守的协议-LICENSE.txt fix: train step2a & add arg --port --pycmd --noparallel 2023-04-01 16:42:19 +08:00

README.md

Retrieval-based-Voice-Conversion-WebUI

一个基于VITS的简单易用的语音转换变声器框架

madewithlove


Open In Colab Licence Huggingface

Discord

更新日志 | 常见问题解答 | AutoDL·5毛钱训练AI歌手 | 对照实验记录


English | 中文简体 | 日本語 | 한국어 (韓國語)

点此查看我们的演示视频 !

使用了RVC的实时语音转换: w-okada/voice-changer

底模使用接近50小时的开源高质量VCTK训练集训练无版权方面的顾虑请大家放心使用

后续会陆续加入高质量有授权歌声训练集训练底模

简介

本仓库具有以下特点

  • 使用top1检索替换输入源特征为训练集特征来杜绝音色泄漏
  • 即便在相对较差的显卡上也能快速训练
  • 使用少量数据进行训练也能得到较好结果(推荐至少收集10分钟低底噪语音数据)
  • 可以通过模型融合来改变音色(借助ckpt处理选项卡中的ckpt-merge)
  • 简单易用的网页界面
  • 可调用UVR5模型来快速分离人声和伴奏

环境配置

推荐使用poetry配置环境。

以下指令需在Python版本大于3.8的环境中执行:

# 安装Pytorch及其核心依赖若已安装则跳过
# 参考自: https://pytorch.org/get-started/locally/
pip install torch torchvision torchaudio

#如果是win系统+Nvidia Ampere架构(RTX30xx),根据 #21 的经验需要指定pytorch对应的cuda版本
#pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

# 安装 Poetry 依赖管理工具, 若已安装则跳过
# 参考自: https://python-poetry.org/docs/#installation
curl -sSL https://install.python-poetry.org | python3 -

# 通过poetry安装依赖
poetry install

你也可以通过pip来安装依赖

pip install -r requirements.txt

注意

  1. 英特尔MacOS下使用pip安装faiss 1.7.0以上版本会导致抛出段错误,在手动安装时,如需安装最新版,请使用conda;如只能使用pip,请指定使用1.7.0版本。
  2. MacOS下如faiss安装失败,可尝试通过brew安装Swig
brew install swig

其他预模型准备

RVC需要其他一些预模型来推理和训练。

你可以从我们的Hugging Face space下载到这些模型。

以下是一份清单包括了所有RVC所需的预模型和其他文件的名称:

hubert_base.pt

./pretrained 

./uvr5_weights

想测试v2版本模型的话(v2版本模型将特征从 9层hubert+final_proj的256维输入 变更为 12层hubert的768维输入并且增加了3个周期鉴别器),需要额外下载

./pretrained_v2 

#如果你正在使用Windows则你可能需要这个文件若ffmpeg和ffprobe已安装则跳过; ubuntu/debian 用户可以通过apt install ffmpeg来安装这2个库
./ffmpeg

./ffprobe

之后使用以下指令来启动WebUI:

python infer-web.py

如果你正在使用Windows你可以直接下载并解压RVC-beta.7z,运行go-web.bat以启动WebUI。

仓库内还有一份小白简易教程.doc以供参考。

参考项目

感谢所有贡献者作出的努力