mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 09:10:25 +08:00
fix: no attribute 'FILE_LIKE'' & update instructions
This commit is contained in:
@@ -11,7 +11,7 @@ VITS基盤의 簡單하고使用하기 쉬운音聲變換틀
|
||||

|
||||
|
||||
[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
|
||||
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
|
||||
[](https://huggingface.co/fumiama/RVC-Pretrained-Models/tree/main/)
|
||||
|
||||
[](https://discord.gg/HcsmBBGyVk)
|
||||
|
||||
@@ -19,7 +19,7 @@ VITS基盤의 簡單하고使用하기 쉬운音聲變換틀
|
||||
|
||||
------
|
||||
|
||||
[**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)
|
||||
[**English**](../../README.md) | [**中文简体**](../cn/README.cn.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)
|
||||
|
||||
> [示範映像](https://www.bilibili.com/video/BV1pm4y1z7Gm/)을 確認해 보세요!
|
||||
|
||||
@@ -66,7 +66,7 @@ pip install -r requirements/main.txt
|
||||
## 其他預備모델準備
|
||||
RVC 모델은 推論과訓練을 依하여 다른 預備모델이 必要합니다.
|
||||
|
||||
[Huggingface space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)를 通해서 다운로드 할 수 있습니다.
|
||||
[Huggingface space](https://huggingface.co/fumiama/RVC-Pretrained-Models/tree/main/)를 通해서 다운로드 할 수 있습니다.
|
||||
|
||||
다음은 RVC에 必要한 預備모델 및 其他 파일 目錄입니다:
|
||||
```bash
|
||||
|
||||
@@ -8,13 +8,13 @@ VITS 기반의 간단하고 사용하기 쉬운 음성 변환 프레임워크.
|
||||

|
||||
|
||||
[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/blob/main/LICENSE)
|
||||
[](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
|
||||
[](https://huggingface.co/fumiama/RVC-Pretrained-Models/tree/main/)
|
||||
|
||||
[](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)
|
||||
[**English**](../../README.md) | [**中文简体**](../cn/README.cn.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>
|
||||
|
||||
@@ -117,119 +117,6 @@ poetry install
|
||||
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).
|
||||
|
||||
## 感谢所有贡献者作出的努力
|
||||
[](https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI/graphs/contributors)
|
||||
|
||||
translate to Korean
|
||||
-->
|
||||
|
||||
## 기타 사전 훈련된 모델 준비
|
||||
|
||||
### assets
|
||||
@@ -247,7 +134,7 @@ translate to Korean
|
||||
|
||||
#### 리소스 수동 다운로드
|
||||
|
||||
> 모든 리소스 파일은 [Hugging Face space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)에 있습니다.
|
||||
> 모든 리소스 파일은 [Hugging Face space](https://huggingface.co/fumiama/RVC-Pretrained-Models/tree/main/)에 있습니다.
|
||||
|
||||
> 이들을 다운로드하는 스크립트는 `tools` 폴더에서 찾을 수 있습니다.
|
||||
|
||||
@@ -283,11 +170,11 @@ v2 버전 모델을 사용하려면 추가로 다음을 다운로드해야 합
|
||||
|
||||
최신 RMVPE 인간 음성 피치 추출 알고리즘을 사용하려면 음피치 추출 모델 매개변수를 다운로드하고 RVC 루트 디렉토리에 배치해야 합니다.
|
||||
|
||||
- [rmvpe.pt 다운로드](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt)
|
||||
- [rmvpe.pt 다운로드](https://huggingface.co/fumiama/RVC-Pretrained-Models/blob/main/rmvpe/rmvpe.pt)
|
||||
|
||||
#### dml 환경의 RMVPE 다운로드(선택사항, A카드/I카드 사용자)
|
||||
|
||||
- [rmvpe.onnx 다운로드](https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.onnx)
|
||||
- [rmvpe.onnx 다운로드](https://huggingface.co/fumiama/RVC-Pretrained-Models/blob/main/rmvpe/rmvpe.onnx)
|
||||
|
||||
### 3. AMD 그래픽 카드 Rocm(선택사항, Linux만 해당)
|
||||
|
||||
|
||||
@@ -31,22 +31,7 @@ logs 폴더 아래 수백 MB의 pth 파일을 weights 폴더에 복사/공유하
|
||||
트레이닝 스크립트: <br>
|
||||
먼저 WebUI를 실행하여 데이터 세트 처리 및 트레이닝에 사용되는 명령줄을 메시지 창에서 확인할 수 있습니다. <br>
|
||||
|
||||
추론 스크립트: <br>
|
||||
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/myinfer.py <br>
|
||||
|
||||
예제: <br>
|
||||
|
||||
runtime\python.exe myinfer.py 0 "E:\codes\py39\RVC-beta\todo-songs\1111.wav" "E:\codes\py39\logs\mi-test\added_IVF677_Flat_nprobe_7.index" harvest "test.wav" "weights/mi-test.pth" 0.6 cuda:0 True <br>
|
||||
|
||||
f0up_key=sys.argv[1] <br>
|
||||
input_path=sys.argv[2] <br>
|
||||
index_path=sys.argv[3] <br>
|
||||
f0method=sys.argv[4]#harvest 또는 pm <br>
|
||||
opt_path=sys.argv[5] <br>
|
||||
model_path=sys.argv[6] <br>
|
||||
index_rate=float(sys.argv[7]) <br>
|
||||
device=sys.argv[8] <br>
|
||||
is_half=bool(sys.argv[9]) <br>
|
||||
추론 스크립트: tool/cmd/infer_cli.py
|
||||
|
||||
## Q7:Cuda 오류/Cuda 메모리 부족
|
||||
|
||||
|
||||
Reference in New Issue
Block a user