Update README

This commit is contained in:
Wu Zichen
2024-01-25 19:40:03 +08:00
parent b942af74cc
commit 9e9268d10d
3 changed files with 57 additions and 29 deletions

View File

@@ -38,10 +38,29 @@ https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-
如果你是Windows用户已在win>=10上测试可以直接通过预打包文件安装。只需下载[预打包文件](https://huggingface.co/lj1995/GPT-SoVITS-windows-package/resolve/main/GPT-SoVITS-beta.7z?download=true)解压后双击go-webui.bat即可启动GPT-SoVITS-WebUI。
### Python和PyTorch版本
已在Python 3.9、PyTorch 2.0.1和CUDA 11上测试。
### 测试通过的PythonPyTorch版本
- Python 3.9、PyTorch 2.0.1和CUDA 11
- Python 3.10.13, PyTorch 2.1.2和CUDA 12.3
- Python 3.9、Pytorch 2.3.0.dev20240122和macOS 14.3Apple 芯片MPS
_注意: numba==0.56.4 需要 python<3.11_
### Mac 用户
如果你是Mac用户请使用以下命令安装
#### 创建环境
```bash
conda create -n GPTSoVits python=3.9
conda activate GPTSoVits
```
#### 安装依赖
```bash
pip install -r requirements.txt
pip uninstall torch torchaudio
pip3 install --pre torch torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
```
_注意如需使用UVR5进行预处理建议[下载原项目GUI](https://github.com/Anjok07/ultimatevocalremovergui)勾选GPU运行。另外使用Mac推理时可能存在内存泄漏问题重启推理UI即可释放内存。_
### 使用Conda快速安装
```bash
@@ -53,15 +72,7 @@ bash install.sh
#### Pip包
```bash
pip install torch numpy scipy tensorboard librosa==0.9.2 numba==0.56.4 pytorch-lightning gradio==3.14.0 ffmpeg-python onnxruntime tqdm cn2an pypinyin pyopenjtalk g2p_en chardet transformers
```
#### 额外要求
如果你需要中文自动语音识别由FunASR支持请安装
```bash
pip install modelscope torchaudio sentencepiece funasr
pip install -r requirements.txt
```
#### FFmpeg