ChazzyG/Retrieval-based-Voice-Conversion-WebUI
0
1<div align="center">2 3<h1>Retrieval-based-Voice-Conversion-WebUI</h1>4An easy-to-use SVC framework based on VITS.<br><br>5 6[](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI)7 8<img src="https://counter.seku.su/cmoe?name=rvc&theme=r34" /><br>9 10[](https://colab.research.google.com/github/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/Retrieval_based_Voice_Conversion_WebUI.ipynb)11[](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/%E4%BD%BF%E7%94%A8%E9%9C%80%E9%81%B5%E5%AE%88%E7%9A%84%E5%8D%8F%E8%AE%AE-LICENSE.txt)12[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)13 14[](https://discord.gg/HcsmBBGyVk)15 16</div>17 18------19[**Changelog**](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/Changelog_CN.md)20 21[**English**](./README.en.md) | [**中文简体**](../README.md) | [**日本語**](./README.ja.md) | [**한국어**](./README.ko.md) ([**韓國語**](./README.ko.han.md))22 23> Check our [Demo Video](https://www.bilibili.com/video/BV1pm4y1z7Gm/) here!24 25> Realtime Voice Conversion Software using RVC : [w-okada/voice-changer](https://github.com/w-okada/voice-changer)26 27> The dataset for the pre-training model uses nearly 50 hours of high quality VCTK open source dataset.28 29> High quality licensed song datasets will be added to training-set one after another for your use, without worrying about copyright infringement.30## Summary31This repository has the following features:32+ Reduce tone leakage by replacing source feature to training-set feature using top1 retrieval;33+ Easy and fast training, even on relatively poor graphics cards;34+ Training with a small amount of data also obtains relatively good results (>=10min low noise speech recommended);35+ Supporting model fusion to change timbres (using ckpt processing tab->ckpt merge);36+ Easy-to-use Webui interface;37+ Use the UVR5 model to quickly separate vocals and instruments.38## Preparing the environment39We recommend you install the dependencies through poetry.40 41The following commands need to be executed in the environment of Python version 3.8 or higher:42```bash43# Install PyTorch-related core dependencies, skip if installed44# Reference: https://pytorch.org/get-started/locally/45pip install torch torchvision torchaudio46 47#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/2148#pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu11749 50# Install the Poetry dependency management tool, skip if installed51# Reference: https://python-poetry.org/docs/#installation52curl -sSL https://install.python-poetry.org | python3 -53 54# Install the project dependencies55poetry install56```57You can also use pip to install the dependencies58 59**Notice**: `faiss 1.7.2` will raise Segmentation Fault: 11 under `MacOS`, please use `pip install faiss-cpu==1.7.0` if you use pip to install it manually.60 61```bash62pip install -r requirements.txt63```64 65## Preparation of other Pre-models66RVC requires other pre-models to infer and train.67 68You need to download them from our [Huggingface space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/).69 70Here's a list of Pre-models and other files that RVC needs:71```bash72hubert_base.pt73 74./pretrained 75 76./uvr5_weights77 78#If you are using Windows, you may also need this dictionary, skip if FFmpeg is installed79ffmpeg.exe80```81Then use this command to start Webui:82```bash83python infer-web.py84```85If you are using Windows, you can download and extract `RVC-beta.7z` to use RVC directly and use `go-web.bat` to start Webui.86 87There's also a tutorial on RVC in Chinese and you can check it out if needed.88 89## Credits90+ [ContentVec](https://github.com/auspicious3000/contentvec/)91+ [VITS](https://github.com/jaywalnut310/vits)92+ [HIFIGAN](https://github.com/jik876/hifi-gan)93+ [Gradio](https://github.com/gradio-app/gradio)94+ [FFmpeg](https://github.com/FFmpeg/FFmpeg)95+ [Ultimate Vocal Remover](https://github.com/Anjok07/ultimatevocalremovergui)96+ [audio-slicer](https://github.com/openvpi/audio-slicer)97## Thanks to all contributors for their efforts98 99<a href="https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/graphs/contributors" target="_blank">100 <img src="https://contrib.rocks/image?repo=liujing04/Retrieval-based-Voice-Conversion-WebUI" />101</a>102 103 