File tree 2 files changed +25
-18
lines changed
2 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 9
9
1 . 下载 [ 模型及配置文件] ( https://huggingface.co/MistEO/Pallas-Bot/tree/main/so-vits-svc/4.0 ) 放到 ` resource/sing/models/XXX/ ` 文件夹里
10
10
11
11
- 这里的 ` XXX ` 换成资源文件夹的名字,例如 ` pallas ` , ` amiya ` 等,需要对应 ` config.json ` 里的 ` spk ` 字段
12
- - 具体路径结构请参考 [ path_structure.txt] ( https://github.com/MistEO/Pallas-Bot/blob/master /resource/sing/models/path_structure.txt)
12
+ - 具体路径结构请参考 [ path_structure.txt] ( .. /resource/sing/models/path_structure.txt)
13
13
- 在 ` src/plugins/sing/__init__.py ` 修改 ` svc_speakers ` 对应上面的资源文件夹名。(也可以在 ` .env ` 里改)
14
14
15
15
2 . 更新 git 子模块
38
38
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
39
39
```
40
40
41
- ## 画画
42
-
43
- 敬请期待
44
-
45
41
## Chat
46
42
47
43
1. 下载模型,参考 [原仓库说明](https://github.com/BlinkDL/ChatRWKV#%E4%B8%AD%E6%96%87%E6%A8%A1%E5%9E%8B),把文件放到 `resource/chat/models` 文件夹(只要是 `.pth` 都行,根据你的显存和需求选择)
70
66
71
67
## TTS
72
68
73
- **仍在开发中,有能力的可以自己试着先接入玩玩**
74
-
75
- 1. 下载 [模型资源](https://huggingface.co/MistEO/Pallas-Bot/tree/main/paddlespeech/tts),放入 `resource/tts/models` 文件夹中
69
+ 1. 下载 [模型资源](https://huggingface.co/MistEO/Pallas-Bot/tree/main/paddlespeech/tts) common.zip 和 pallas_cn.zip。解压放入 `resource/tts/models` 文件夹中
70
+ - 具体路径结构请参考 [path_structure.txt](../resource/sing/models/path_structure.txt)
71
+ - `vocoder` 下有两个声码器,`pwgan_aishell3` 快,`wavernn_csmsc` 慢很多效果好一点,可以自行选择
76
72
2. 安装依赖
77
73
74
+ - CPU 版本(合成耗时 20s 左右)
75
+
76
+ ```
77
+ python3 -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
78
+ ```
79
+
78
80
- GPU 版本(显存占用约 1.5G,合成耗时 1s 左右)
79
81
80
82
因为需要装 cudnn,推荐用 conda 安装。没有 conda 的可以自己去搜教程 cudnn 的安装方法,或者参考 [飞桨官方安装教程](https://www.paddlepaddle.org.cn/documentation/docs/zh/install/pip/linux-pip.html)
83
85
conda install paddlepaddle-gpu==2.4.2 cudatoolkit=11.7 cudnn -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge
84
86
```
85
87
86
- - CPU 版本(合成耗时 20s 左右)
88
+ ## 画画
87
89
88
- ```
89
- python3 -m pip install paddlepaddle-gpu==2.4.2.post117 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
90
- ```
90
+ 敬请期待
Original file line number Diff line number Diff line change 1
1
resource/tts/models
2
- ├── vocoder
3
- │ ├── pwgan_aishell3.pdiparams
4
- │ └── pwgan_aishell3.pdmodel
5
- ├── pallas.pdiparams
6
- ├── pallas.pdmodel
2
+ ├── nltk_data
3
+ │ └── corpora
4
+ │ └── cmudict
5
+ │ ├── cmudict
6
+ │ └── README
7
+ ├── pallas_cn.pdiparams
8
+ ├── pallas_cn.pdmodel
7
9
├── path_structure.txt
8
- └── phone_id_map.txt
10
+ ├── phone_id_map.txt
11
+ └── vocoder
12
+ ├── pwgan_aishell3.pdiparams
13
+ ├── pwgan_aishell3.pdmodel
14
+ ├── wavernn_csmsc.pdiparams
15
+ └── wavernn_csmsc.pdmodel
You can’t perform that action at this time.
0 commit comments