rvc-ui / docs /kr /README.ko.md
Blane187's picture
Upload folder using huggingface_hub
7ff2ba3 verified
<div align="center">
# Retrieval-based-Voice-Conversion-WebUI
VITS ๊ธฐ๋ฐ˜์˜ ๊ฐ„๋‹จํ•˜๊ณ  ์‚ฌ์šฉํ•˜๊ธฐ ์‰ฌ์šด ์Œ์„ฑ ๋ณ€ํ™˜ ํ”„๋ ˆ์ž„์›Œํฌ.
[![madewithlove](https://img.shields.io/badge/made_with-%E2%9D%A4-red?style=for-the-badge&labelColor=orange)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI)
![moe](https://counter.seku.su/cmoe?name=rvc&theme=r34)
[![Licence](https://img.shields.io/github/license/fumiama/Retrieval-based-Voice-Conversion-WebUI?style=for-the-badge)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
[![Huggingface](https://img.shields.io/badge/๐Ÿค—%20-Spaces-yellow.svg?style=for-the-badge)](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
[![Discord](https://img.shields.io/badge/RVC%20Developers-Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/HcsmBBGyVk)
[**์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ**](./faq_ko.md) | [**AutoDLยท5์›์œผ๋กœ AI ๊ฐ€์ˆ˜ ํ›ˆ๋ จ**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/Autodl%E8%AE%AD%E7%BB%83RVC%C2%B7AI%E6%AD%8C%E6%89%8B%E6%95%99%E7%A8%8B) | [**๋Œ€์กฐ ์‹คํ—˜ ๊ธฐ๋ก**](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/wiki/%E5%AF%B9%E7%85%A7%E5%AE%9E%E9%AA%8C%C2%B7%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%95) | [**์˜จ๋ผ์ธ ๋ฐ๋ชจ**](https://modelscope.cn/studios/FlowerCry/RVCv2demo)
[**English**](../en/README.en.md) | [**ไธญๆ–‡็ฎ€ไฝ“**](../../README.md) | [**ๆ—ฅๆœฌ่ชž**](../jp/README.ja.md) | [**ํ•œ๊ตญ์–ด**](../kr/README.ko.md) ([**้Ÿ“ๅœ‹่ชž**](../kr/README.ko.han.md)) | [**Franรงais**](../fr/README.fr.md) | [**Tรผrkรงe**](../tr/README.tr.md) | [**Portuguรชs**](../pt/README.pt.md)
</div>
> ๊ธฐ๋ณธ ๋ชจ๋ธ์€ 50์‹œ๊ฐ„ ๊ฐ€๋Ÿ‰์˜ ๊ณ ํ€„๋ฆฌํ‹ฐ ์˜คํ”ˆ ์†Œ์Šค VCTK ๋ฐ์ดํ„ฐ์…‹์„ ์‚ฌ์šฉํ•˜์˜€์œผ๋ฏ€๋กœ, ์ €์ž‘๊ถŒ์ƒ์˜ ์—ผ๋ ค๊ฐ€ ์—†์œผ๋‹ˆ ์•ˆ์‹ฌํ•˜๊ณ  ์‚ฌ์šฉํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
> ๋” ํฐ ๋งค๊ฐœ๋ณ€์ˆ˜, ๋” ํฐ ๋ฐ์ดํ„ฐ, ๋” ๋‚˜์€ ํšจ๊ณผ, ๊ธฐ๋ณธ์ ์œผ๋กœ ๋™์ผํ•œ ์ถ”๋ก  ์†๋„, ๋” ์ ์€ ์–‘์˜ ํ›ˆ๋ จ ๋ฐ์ดํ„ฐ๊ฐ€ ํ•„์š”ํ•œ RVCv3์˜ ๊ธฐ๋ณธ ๋ชจ๋ธ์„ ๊ธฐ๋Œ€ํ•ด ์ฃผ์‹ญ์‹œ์˜ค.
> ํŠน์ • ์ง€์—ญ์—์„œ Hugging Face์— ์ง์ ‘ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์œผ๋ฉฐ, ์„ฑ๊ณต์ ์œผ๋กœ ์—ฐ๊ฒฐํ•ด๋„ ์†๋„๊ฐ€ ๋งค์šฐ ๋Š๋ฆด ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ, ๋ชจ๋ธ/ํ†ตํ•ฉ ํŒจํ‚ค์ง€/๋„๊ตฌ์˜ ์ผ๊ด„ ๋‹ค์šด๋กœ๋”๋ฅผ ํŠน๋ณ„ํžˆ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค. [RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
| ํ›ˆ๋ จ ๋ฐ ์ถ”๋ก  ์ธํ„ฐํŽ˜์ด์Šค |
| :--------: |
| ![web](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/assets/41315874/17e48404-2627-4fad-a0ec-65f9065aeade) |
| ์‹ค์‹œ๊ฐ„ ์Œ์„ฑ ๋ณ€ํ™˜ ์ธํ„ฐํŽ˜์ด์Šค |
| :---------: |
| ![realtime-gui](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/assets/41315874/95b36866-b92d-40c7-b5db-6a35ca5caeac) |
## ์†Œ๊ฐœ
๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํŠน์ง•์„ ๊ฐ€์ง€๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค:
- top1 ๊ฒ€์ƒ‰์„ ์ด์šฉํ•˜์—ฌ ์ž…๋ ฅ ์Œ์ƒ‰ ํŠน์ง•์„ ํ›ˆ๋ จ ์„ธํŠธ ์Œ์ƒ‰ ํŠน์ง•์œผ๋กœ ๋Œ€์ฒดํ•˜์—ฌ ์Œ์ƒ‰์˜ ๋ˆ„์ถœ์„ ๋ฐฉ์ง€
- ์ƒ๋Œ€์ ์œผ๋กœ ๋‚ฎ์€ ์„ฑ๋Šฅ์˜ GPU์—์„œ๋„ ๋น ๋ฅธ ํ›ˆ๋ จ ๊ฐ€๋Šฅ
- ์ ์€ ์–‘์˜ ๋ฐ์ดํ„ฐ๋กœ ํ›ˆ๋ จํ•ด๋„ ์ข‹์€ ๊ฒฐ๊ณผ๋ฅผ ์–ป์„ ์ˆ˜ ์žˆ์Œ (์ตœ์†Œ 10๋ถ„ ์ด์ƒ์˜ ์ €์žก์Œ ์Œ์„ฑ ๋ฐ์ดํ„ฐ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅ)
- ๋ชจ๋ธ ์œตํ•ฉ์„ ํ†ตํ•œ ์Œ์ƒ‰์˜ ๋ณ€์กฐ ๊ฐ€๋Šฅ (ckpt ์ฒ˜๋ฆฌ ํƒญ->ckpt ๋ณ‘ํ•ฉ ์„ ํƒ)
- ์‚ฌ์šฉํ•˜๊ธฐ ์‰ฌ์šด WebUI (์›น ์ธํ„ฐํŽ˜์ด์Šค)
- UVR5 ๋ชจ๋ธ์„ ์ด์šฉํ•˜์—ฌ ๋ชฉ์†Œ๋ฆฌ์™€ ๋ฐฐ๊ฒฝ์Œ์•…์˜ ๋น ๋ฅธ ๋ถ„๋ฆฌ;
- ์ตœ์ฒจ๋‹จ [์Œ์„ฑ ํ”ผ์น˜ ์ถ”์ถœ ์•Œ๊ณ ๋ฆฌ์ฆ˜ InterSpeech2023-RMVPE](#ๅ‚่€ƒ้กน็›ฎ)์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌด์„ฑ์Œ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค. ํšจ๊ณผ๋Š” ์ตœ๊ณ (์••๋„์ )์ด๋ฉฐ crepe_full๋ณด๋‹ค ๋” ๋น ๋ฅด๊ณ  ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ์ด ์ ์Œ
- A์นด๋“œ์™€ I์นด๋“œ ๊ฐ€์†์„ ์ง€์›
ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์˜ [๋ฐ๋ชจ ๋น„๋””์˜ค](https://www.bilibili.com/video/BV1pm4y1z7Gm/)๋ฅผ ํ™•์ธํ•ด๋ณด์„ธ์š”!
## ํ™˜๊ฒฝ ์„ค์ •
๋‹ค์Œ ๋ช…๋ น์€ Python ๋ฒ„์ „์ด 3.8 ์ด์ƒ์ธ ํ™˜๊ฒฝ์—์„œ ์‹คํ–‰ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
### Windows/Linux/MacOS ๋“ฑ ํ”Œ๋žซํผ ๊ณตํ†ต ๋ฐฉ๋ฒ•
์•„๋ž˜ ๋ฐฉ๋ฒ• ์ค‘ ํ•˜๋‚˜๋ฅผ ์„ ํƒํ•˜์„ธ์š”.
#### 1. pip๋ฅผ ํ†ตํ•œ ์˜์กด์„ฑ ์„ค์น˜
1. Pytorch ๋ฐ ์˜์กด์„ฑ ๋ชจ๋“ˆ ์„ค์น˜, ์ด๋ฏธ ์„ค์น˜๋˜์–ด ์žˆ์œผ๋ฉด ์ƒ๋žต. ์ฐธ์กฐ: https://pytorch.org/get-started/locally/
```bash
pip install torch torchvision torchaudio
```
2. win ์‹œ์Šคํ…œ + Nvidia Ampere ์•„ํ‚คํ…์ฒ˜(RTX30xx) ์‚ฌ์šฉ ์‹œ, #21์˜ ์‚ฌ๋ก€์— ๋”ฐ๋ผ pytorch์— ํ•ด๋‹นํ•˜๋Š” cuda ๋ฒ„์ „์„ ์ง€์ •
```bash
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
```
3. ์ž์‹ ์˜ ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ์— ๋งž๋Š” ์˜์กด์„ฑ ์„ค์น˜
- N์นด๋“œ
```bash
pip install -r requirements/main.txt
```
- A์นด๋“œ/I์นด๋“œ
```bash
pip install -r requirements/dml.txt
```
- A์นด๋“œROCM(Linux)
```bash
pip install -r requirements/amd.txt
```
- I์นด๋“œIPEX(Linux)
```bash
pip install -r requirements/ipex.txt
```
#### 2. poetry๋ฅผ ํ†ตํ•œ ์˜์กด์„ฑ ์„ค์น˜
Poetry ์˜์กด์„ฑ ๊ด€๋ฆฌ ๋„๊ตฌ ์„ค์น˜, ์ด๋ฏธ ์„ค์น˜๋œ ๊ฒฝ์šฐ ์ƒ๋žต. ์ฐธ์กฐ: https://python-poetry.org/docs/#installation
```bash
curl -sSL https://install.python-poetry.org | python3 -
```
poetry๋ฅผ ํ†ตํ•œ ์˜์กด์„ฑ ์„ค์น˜
```bash
poetry install
```
### MacOS
`run.sh`๋ฅผ ํ†ตํ•ด ์˜์กด์„ฑ ์„ค์น˜ ๊ฐ€๋Šฅ
```bash
sh ./run.sh
```
<!--
## ๅ…ถไป–่ต„ๆบๅ‡†ๅค‡
### 1. assets
> RVC้œ€่ฆไฝไบŽ`assets`ๆ–‡ไปถๅคนไธ‹็š„ไธ€ไบ›ๆจกๅž‹่ต„ๆบ่ฟ›่กŒๆŽจ็†ๅ’Œ่ฎญ็ปƒใ€‚
#### ่‡ชๅŠจๆฃ€ๆŸฅ/ไธ‹่ฝฝ่ต„ๆบ(้ป˜่ฎค)
> ้ป˜่ฎคๆƒ…ๅ†ตไธ‹๏ผŒRVCๅฏๅœจไธป็จ‹ๅบๅฏๅŠจๆ—ถ่‡ชๅŠจๆฃ€ๆŸฅๆ‰€้œ€่ต„ๆบ็š„ๅฎŒๆ•ดๆ€งใ€‚
> ๅณไฝฟ่ต„ๆบไธๅฎŒๆ•ด๏ผŒ็จ‹ๅบไนŸๅฐ†็ปง็ปญๅฏๅŠจใ€‚
- ๅฆ‚ๆžœๆ‚จๅธŒๆœ›ไธ‹่ฝฝๆ‰€ๆœ‰่ต„ๆบ๏ผŒ่ฏทๆทปๅŠ `--update`ๅ‚ๆ•ฐ
- ๅฆ‚ๆžœๆ‚จๅธŒๆœ›่ทณ่ฟ‡ๅฏๅŠจๆ—ถ็š„่ต„ๆบๅฎŒๆ•ดๆ€งๆฃ€ๆŸฅ๏ผŒ่ฏทๆทปๅŠ `--nocheck`ๅ‚ๆ•ฐ
#### ๆ‰‹ๅŠจไธ‹่ฝฝ่ต„ๆบ
> ๆ‰€ๆœ‰่ต„ๆบๆ–‡ไปถๅ‡ไฝไบŽ[Hugging Face space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
> ไฝ ๅฏไปฅๅœจ`tools`ๆ–‡ไปถๅคนๆ‰พๅˆฐไธ‹่ฝฝๅฎƒไปฌ็š„่„šๆœฌ
> ไฝ ไนŸๅฏไปฅไฝฟ็”จๆจกๅž‹/ๆ•ดๅˆๅŒ…/ๅทฅๅ…ท็š„ไธ€้”ฎไธ‹่ฝฝๅ™จ๏ผš[RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
ไปฅไธ‹ๆ˜ฏไธ€ไปฝๆธ…ๅ•๏ผŒๅŒ…ๆ‹ฌไบ†ๆ‰€ๆœ‰RVCๆ‰€้œ€็š„้ข„ๆจกๅž‹ๅ’Œๅ…ถไป–ๆ–‡ไปถ็š„ๅ็งฐใ€‚
- ./assets/hubert/hubert_base.pt
```bash
rvcmd assets/hubert # RVC-Models-Downloader command
```
- ./assets/pretrained
```bash
rvcmd assets/v1 # RVC-Models-Downloader command
```
- ./assets/uvr5_weights
```bash
rvcmd assets/uvr5 # RVC-Models-Downloader command
```
ๆƒณไฝฟ็”จv2็‰ˆๆœฌๆจกๅž‹็š„่ฏ๏ผŒ้œ€่ฆ้ขๅค–ไธ‹่ฝฝ
- ./assets/pretrained_v2
```bash
rvcmd assets/v2 # RVC-Models-Downloader command
```
### 3. ไธ‹่ฝฝ rmvpe ไบบๅฃฐ้Ÿณ้ซ˜ๆๅ–็ฎ—ๆณ•ๆ‰€้œ€ๆ–‡ไปถ
ๅฆ‚ๆžœไฝ ๆƒณไฝฟ็”จๆœ€ๆ–ฐ็š„RMVPEไบบๅฃฐ้Ÿณ้ซ˜ๆๅ–็ฎ—ๆณ•๏ผŒๅˆ™ไฝ ้œ€่ฆไธ‹่ฝฝ้Ÿณ้ซ˜ๆๅ–ๆจกๅž‹ๅ‚ๆ•ฐๅนถๆ”พ็ฝฎไบŽ`assets/rmvpe`ใ€‚
- ไธ‹่ฝฝ[rmvpe.pt](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt)
```bash
rvcmd assets/rmvpe # RVC-Models-Downloader command
```
#### ไธ‹่ฝฝ rmvpe ็š„ dml ็Žฏๅขƒ(ๅฏ้€‰, Aๅก/Iๅก็”จๆˆท)
- ไธ‹่ฝฝ[rmvpe.onnx](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.onnx)
```bash
rvcmd assets/rmvpe # RVC-Models-Downloader command
```
### 4. AMDๆ˜พๅกRocm(ๅฏ้€‰, ไป…Linux)
ๅฆ‚ๆžœไฝ ๆƒณๅŸบไบŽAMD็š„RocmๆŠ€ๆœฏๅœจLinux็ณป็ปŸไธŠ่ฟ่กŒRVC๏ผŒ่ฏทๅ…ˆๅœจ[่ฟ™้‡Œ](https://rocm.docs.amd.com/en/latest/deploy/linux/os-native/install.html)ๅฎ‰่ฃ…ๆ‰€้œ€็š„้ฉฑๅŠจใ€‚
่‹ฅไฝ ไฝฟ็”จ็š„ๆ˜ฏArch Linux๏ผŒๅฏไปฅไฝฟ็”จpacmanๆฅๅฎ‰่ฃ…ๆ‰€้œ€้ฉฑๅŠจ๏ผš
````
pacman -S rocm-hip-sdk rocm-opencl-sdk
````
ๅฏนไบŽๆŸไบ›ๅž‹ๅท็š„ๆ˜พๅก๏ผŒไฝ ๅฏ่ƒฝ้œ€่ฆ้ขๅค–้…็ฝฎๅฆ‚ไธ‹็š„็Žฏๅขƒๅ˜้‡๏ผˆๅฆ‚๏ผšRX6700XT๏ผ‰๏ผš
````
export ROCM_PATH=/opt/rocm
export HSA_OVERRIDE_GFX_VERSION=10.3.0
````
ๅŒๆ—ถ็กฎไฟไฝ ็š„ๅฝ“ๅ‰็”จๆˆทๅค„ไบŽ`render`ไธŽ`video`็”จๆˆท็ป„ๅ†…๏ผš
````
sudo usermod -aG render $USERNAME
sudo usermod -aG video $USERNAME
````
## ๅผ€ๅง‹ไฝฟ็”จ
### ็›ดๆŽฅๅฏๅŠจ
ไฝฟ็”จไปฅไธ‹ๆŒ‡ไปคๆฅๅฏๅŠจ WebUI
```bash
python web.py
```
### Linux/MacOS ็”จๆˆท
```bash
./run.sh
```
### ๅฏนไบŽ้œ€่ฆไฝฟ็”จIPEXๆŠ€ๆœฏ็š„Iๅก็”จๆˆท(ไป…Linux)
```bash
source /opt/intel/oneapi/setvars.sh
./run.sh
```
### ไฝฟ็”จๆ•ดๅˆๅŒ… (Windows ็”จๆˆท)
ไธ‹่ฝฝๅนถ่งฃๅŽ‹`RVC-beta.7z`๏ผŒ่งฃๅŽ‹ๅŽๅŒๅ‡ป`go-web.bat`ๅณๅฏไธ€้”ฎๅฏๅŠจใ€‚
```bash
rvcmd packs/general/latest # RVC-Models-Downloader command
```
## ๅ‚่€ƒ้กน็›ฎ
+ [ContentVec](https://github.com/auspicious3000/contentvec/)
+ [VITS](https://github.com/jaywalnut310/vits)
+ [HIFIGAN](https://github.com/jik876/hifi-gan)
+ [Gradio](https://github.com/gradio-app/gradio)
+ [Ultimate Vocal Remover](https://github.com/Anjok07/ultimatevocalremovergui)
+ [audio-slicer](https://github.com/openvpi/audio-slicer)
+ [Vocal pitch extraction:RMVPE](https://github.com/Dream-High/RMVPE)
+ The pretrained model is trained and tested by [yxlllc](https://github.com/yxlllc/RMVPE) and [RVC-Boss](https://github.com/RVC-Boss).
## ๆ„Ÿ่ฐขๆ‰€ๆœ‰่ดก็Œฎ่€…ไฝœๅ‡บ็š„ๅŠชๅŠ›
[![contributors](https://contrib.rocks/image?repo=fumiama/Retrieval-based-Voice-Conversion-WebUI)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/graphs/contributors)
translate to Korean
-->
## ๊ธฐํƒ€ ์‚ฌ์ „ ํ›ˆ๋ จ๋œ ๋ชจ๋ธ ์ค€๋น„
### assets
> RVC๋Š” ์ถ”๋ก ๊ณผ ํ›ˆ๋ จ์„ ์œ„ํ•ด assets ํด๋” ํ•˜์œ„์— ์‚ฌ์ „ ํ›ˆ๋ จ๋œ ๋ชจ๋ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.
#### ์ž๋™ ๊ฒ€์‚ฌ/๋‹ค์šด๋กœ๋“œ ๋ฆฌ์†Œ์Šค(๊ธฐ๋ณธ๊ฐ’)
> ๊ธฐ๋ณธ์ ์œผ๋กœ RVC๋Š” ์‹œ์ž‘ํ•  ๋•Œ ํ•„์š”ํ•œ ๋ฆฌ์†Œ์Šค์˜ ๋ฌด๊ฒฐ์„ฑ์„ ์ž๋™์œผ๋กœ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
> ๋ฆฌ์†Œ์Šค๊ฐ€ ๋ถˆ์™„์ „ํ•˜๋”๋ผ๋„ ํ”„๋กœ๊ทธ๋žจ์€ ๊ณ„์† ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.
- ๋ชจ๋“  ๋ฆฌ์†Œ์Šค๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๋ ค๋ฉด `--update` ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”
- ์‹œ์ž‘ ์‹œ ๋ฆฌ์†Œ์Šค ๋ฌด๊ฒฐ์„ฑ ๊ฒ€์‚ฌ๋ฅผ ๊ฑด๋„ˆ๋›ฐ๋ ค๋ฉด `--nocheck` ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”
#### ๋ฆฌ์†Œ์Šค ์ˆ˜๋™ ๋‹ค์šด๋กœ๋“œ
> ๋ชจ๋“  ๋ฆฌ์†Œ์Šค ํŒŒ์ผ์€ [Hugging Face space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)์— ์žˆ์Šต๋‹ˆ๋‹ค.
> ์ด๋“ค์„ ๋‹ค์šด๋กœ๋“œํ•˜๋Š” ์Šคํฌ๋ฆฝํŠธ๋Š” `tools` ํด๋”์—์„œ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
> ๋ชจ๋ธ/ํ†ตํ•ฉ ํŒจํ‚ค์ง€/๋„๊ตฌ์˜ ์ผ๊ด„ ๋‹ค์šด๋กœ๋”๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค: [RVC-Models-Downloader](https://github.com/fumiama/RVC-Models-Downloader)
๋‹ค์Œ์€ RVC์— ํ•„์š”ํ•œ ๋ชจ๋“  ์‚ฌ์ „ ํ›ˆ๋ จ๋œ ๋ชจ๋ธ๊ณผ ๊ธฐํƒ€ ํŒŒ์ผ์˜ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค.
- ./assets/hubert/hubert_base.pt
```bash
rvcmd assets/hubert # RVC-Models-Downloader command
```
- ./assets/pretrained
```bash
rvcmd assets/v1 # RVC-Models-Downloader command
```
- ./assets/uvr5_weights
```bash
rvcmd assets/uvr5 # RVC-Models-Downloader command
```
v2 ๋ฒ„์ „ ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์ถ”๊ฐ€๋กœ ๋‹ค์Œ์„ ๋‹ค์šด๋กœ๋“œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
- ./assets/pretrained_v2
```bash
rvcmd assets/v2 # RVC-Models-Downloader command
```
### 2. RMVPE ์ธ๊ฐ„ ์Œ์„ฑ ํ”ผ์น˜ ์ถ”์ถœ ์•Œ๊ณ ๋ฆฌ์ฆ˜์— ํ•„์š”ํ•œ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ
์ตœ์‹  RMVPE ์ธ๊ฐ„ ์Œ์„ฑ ํ”ผ์น˜ ์ถ”์ถœ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด ์Œํ”ผ์น˜ ์ถ”์ถœ ๋ชจ๋ธ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๊ณ  RVC ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์— ๋ฐฐ์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
- [rmvpe.pt ๋‹ค์šด๋กœ๋“œ](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt)
#### dml ํ™˜๊ฒฝ์˜ RMVPE ๋‹ค์šด๋กœ๋“œ(์„ ํƒ์‚ฌํ•ญ, A์นด๋“œ/I์นด๋“œ ์‚ฌ์šฉ์ž)
- [rmvpe.onnx ๋‹ค์šด๋กœ๋“œ](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.onnx)
### 3. AMD ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ Rocm(์„ ํƒ์‚ฌํ•ญ, Linux๋งŒ ํ•ด๋‹น)
Linux ์‹œ์Šคํ…œ์—์„œ AMD์˜ Rocm ๊ธฐ์ˆ ์„ ๊ธฐ๋ฐ˜์œผ๋กœ RVC๋ฅผ ์‹คํ–‰ํ•˜๋ ค๋ฉด [์—ฌ๊ธฐ](https://rocm.docs.amd.com/en/latest/deploy/linux/os-native/install.html)์—์„œ ํ•„์š”ํ•œ ๋“œ๋ผ์ด๋ฒ„๋ฅผ ๋จผ์ € ์„ค์น˜ํ•˜์„ธ์š”.
Arch Linux๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ pacman์„ ์‚ฌ์šฉํ•˜์—ฌ ํ•„์š”ํ•œ ๋“œ๋ผ์ด๋ฒ„๋ฅผ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
```
pacman -S rocm-hip-sdk rocm-opencl-sdk
```
์ผ๋ถ€ ๋ชจ๋ธ์˜ ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ(์˜ˆ: RX6700XT)์˜ ๊ฒฝ์šฐ, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€๋กœ ์„ค์ •ํ•ด์•ผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
```
export ROCM_PATH=/opt/rocm
export HSA_OVERRIDE_GFX_VERSION=10.3.0
```
๋™์‹œ์— ํ˜„์žฌ ์‚ฌ์šฉ์ž๊ฐ€ `render` ๋ฐ `video` ์‚ฌ์šฉ์ž ๊ทธ๋ฃน์— ์†ํ•ด ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”.
```
sudo usermod -aG render $USERNAME
sudo usermod -aG video $USERNAME
```
## ์‹œ์ž‘ํ•˜๊ธฐ
### ์ง์ ‘ ์‹œ์ž‘
๋‹ค์Œ ๋ช…๋ น์–ด๋กœ WebUI๋ฅผ ์‹œ์ž‘ํ•˜์„ธ์š”
```bash
python web.py
```
### ํ†ตํ•ฉ ํŒจํ‚ค์ง€ ์‚ฌ์šฉ
`RVC-beta.7z`๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๊ณ  ์••์ถ• ํ•ด์ œ
#### Windows ์‚ฌ์šฉ์ž
`go-web.bat` ๋”๋ธ” ํด๋ฆญ
#### MacOS ์‚ฌ์šฉ์ž
```bash
sh ./run.sh
```
### IPEX ๊ธฐ์ˆ ์ด ํ•„์š”ํ•œ I์นด๋“œ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ ์ง€์นจ(Linux๋งŒ ํ•ด๋‹น)
```bash
source /opt/intel/oneapi/setvars.sh
```
## ์ฐธ์กฐ ํ”„๋กœ์ ํŠธ
- [ContentVec](https://github.com/auspicious3000/contentvec/)
- [VITS](https://github.com/jaywalnut310/vits)
- [HIFIGAN](https://github.com/jik876/hifi-gan)
- [Gradio](https://github.com/gradio-app/gradio)
- [Ultimate Vocal Remover](https://github.com/Anjok07/ultimatevocalremovergui)
- [audio-slicer](https://github.com/openvpi/audio-slicer)
- [Vocal pitch extraction:RMVPE](https://github.com/Dream-High/RMVPE)
- ์‚ฌ์ „ ํ›ˆ๋ จ๋œ ๋ชจ๋ธ์€ [yxlllc](https://github.com/yxlllc/RMVPE)์™€ [RVC-Boss](https://github.com/RVC-Boss)์— ์˜ํ•ด ํ›ˆ๋ จ๋˜๊ณ  ํ…Œ์ŠคํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
## ๋ชจ๋“  ๊ธฐ์—ฌ์ž๋“ค์˜ ๋…ธ๋ ฅ์— ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค
[![contributors](https://contrib.rocks/image?repo=fumiama/Retrieval-based-Voice-Conversion-WebUI)](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/graphs/contributors)