Miuzarte commited on
Commit
b4beac7
·
1 Parent(s): 4d466eb

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -27
app.py CHANGED
@@ -76,49 +76,55 @@ with app:
76
  gr.Markdown(value="""
77
  ## [仓库](https://huggingface.co/Miuzarte/SUImodels)内模型所用于训练的数据:
78
 
79
- |变声器|G_1000000.pth|G_1M111000_sing.pth(suiji_1M111000_SoVits.onnx)| G_100K100000_sing.pth(待产)|
80
  |-:|:-:|:-:|:-:|
81
- |训练集|12月录播(除电台)、出道至今22条歌投、10条歌切、圣诞音声(27.5小时)|G_1000000.pth作为底模_2022年所有唱歌投稿、唱歌切片、圣诞音声(3.9小时)|先用12月、1月录播(除电台)训练一个步数较少的底模,再用出道至今所有唱歌投稿、唱歌切片、圣诞音声继续训练|
 
 
82
 
83
  #### [仓库](https://huggingface.co/Miuzarte/SUImodels)内G.pth、D.pth都有,欢迎作为底模用于进一步训练
84
 
85
- #### 如果要训练自己的数据请访问:[[项目Github仓库]](https://github.com/innnky/so-vits-svc)(32k分支少绕路,48k没什么人管)
86
 
87
  # 在本地使用 [MoeSS](https://github.com/NaruseMioShirakana/MoeSS) 推理:
88
 
89
- #### 因为该程序每次更新都会有较大的变化,下面的下载链接都将指向[[MoeSS 4.0.1]](https://github.com/NaruseMioShirakana/MoeSS/releases/tag/4.0.1)
90
 
91
- ### 0. 下载[[MoeSS本体]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/4.0.1/MoeSS.zip)、[[hifigan]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/3.0.0/hifigan.7z)、[[hubert]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/3.0.0/hubert.7z),并解压成以下的文件结构
92
 
93
  ```
94
  MoeSS
95
- ├── Mods
96
- ├── MoeSS.exe
97
- ├── ShirakanaUI.dmres
98
  ├── cleaners
 
99
  ├── hifigan
100
- │   └── hifigan.onnx
101
  ├── hubert
102
  │   └── hubert.onnx
 
 
 
 
 
 
 
103
  ├── onnxruntime.dll
104
  ├── onnxruntime_providers_shared.dll
105
- └── onnxruntime_providers_tensorrt.dll
 
 
 
106
  ```
107
 
108
- ### 1. 下载[[转换好的onnx模型]](https://huggingface.co/Miuzarte/SUImodels/blob/main/onnx/suiji_1M111000_SoVits.onnx),放在 MoeSS\\\Mods\\suiji_1M111000 里面
109
 
110
- ### 2. 在 MoeSS\\Mods 新建一个 MoeSS.json 并写入以下文本,保存时请确保编码为UTF-8,保存时请确保编码为UTF-8,保存时请确保编码为UTF-8
111
 
112
  ```json
113
  {
114
- "Folder" : "suiji_1M111000",
115
- "Name" : "岁己SUI",
116
  "Type" : "SoVits",
117
- "Symbol" : "",
118
- "Cleaner" : "",
119
  "Rate" : 48000,
120
  "Hop" : 320,
121
- "Hifigan": "",
122
  "Hubert": "hubert",
123
  "SoVits3": true,
124
  "Characters" : ["岁己SUI"]
@@ -129,31 +135,38 @@ with app:
129
 
130
  ```
131
  MoeSS
132
- ├── Mods
133
- │   ├── MoeSS.json
134
- │   └── suiji_1M111000
135
- │   └── suiji_1M111000_SoVits.onnx
136
- ├── MoeSS.exe
137
- ├── ShirakanaUI.dmres
138
  ├── cleaners
 
139
  ├── hifigan
140
- │   ├── hifigan.onnx
141
  ├── hubert
142
  │   └── hubert.onnx
 
 
 
 
 
 
 
 
 
 
143
  ├── onnxruntime.dll
144
  ├── onnxruntime_providers_shared.dll
145
- └── onnxruntime_providers_tensorrt.dll
 
 
 
146
  ```
147
 
148
  ### (A卡不用看)如果要使用GPU推理的话,下载[[MoeSS-GPU.7z]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/3.2.0/MoeSS-GPU.7z)并解压"MoeSS - CUDA.exe"、"onnxruntime_providers_cuda.dll"至 MoeSS 目录(全覆盖一遍也行)。注意:需要CUDA版本 ≥ 11.6 < 12 、 CUdnn < 83.0 ,目前30系显卡最新驱动是cuda12,需要降级,建议选CPU版本
149
 
150
  ### 3. 运行 MoeSS.exe / Moess - CUDA.exe
151
 
152
- 1. 在左上角选择模型 “SoVits:岁己SUI” 并等待加载,完成后右边会显示 “当前模型: 岁己SUI
153
 
154
  2. 将音频文件拖入程序窗口 或 直接点击开始转换后选择文件 或 在左下角输入框中写入音频文件路径再点击开始转换,支持批量,如:
155
 
156
- 3.0.0 到 4.0.1 MoeSS 终于支持了文件拖放
157
 
158
  ```
159
  A:\\SUI\\so-vits-svc\\raw\\wavs\\2043.wav
 
76
  gr.Markdown(value="""
77
  ## [仓库](https://huggingface.co/Miuzarte/SUImodels)内模型所用于训练的数据:
78
 
79
+ |Sovits3_v1|Base/G_1000000.pth|Singing/G_1M111000.pth|Singing/G_100000.pth|
80
  |-:|:-:|:-:|:-:|
81
+ |训练集|12月录播(除电台)、出道至今22条歌投、10条歌切、圣诞音声(27.5小时)|Base/G_1000000.pth作为底模_2022年所有唱歌投稿、唱歌切片、圣诞音声(3.9小时)|2022年所有唱歌投稿、唱歌切片、圣诞音声(3.9小时)|
82
+
83
+ #### [Sovits4.0](https://github.com/innnky/so-vits-svc/tree/4.0)版本移步[[SUI-svc-4.0]](https://huggingface.co/spaces/Miuzarte/SUI-svc-3.0)
84
 
85
  #### [仓库](https://huggingface.co/Miuzarte/SUImodels)内G.pth、D.pth都有,欢迎作为底模用于进一步训练
86
 
87
+ #### 如果要训练自己的数据请访问:[[项目Github仓库]](https://github.com/innnky/so-vits-svc)(32k分支少绕路,48k没什么人管,4.0流程和3.0大同小异)
88
 
89
  # 在本地使用 [MoeSS](https://github.com/NaruseMioShirakana/MoeSS) 推理:
90
 
91
+ #### 因为该程序每次更新都会有较大的变化,下面的下载链接都将指向[[MoeSS 4.2.2]](https://github.com/NaruseMioShirakana/MoeSS/releases/tag/4.2.2)
92
 
93
+ ### 0. 下载[[MoeSS本体]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/4.2.2/MoeSS-CPU.7z)、[[hubert]](https://huggingface.co/NaruseMioShirakana/MoeSS-SUBModel/resolve/main/hubert.7z),并解压成以下的文件结构
94
 
95
  ```
96
  MoeSS
 
 
 
97
  ├── cleaners
98
+ ├── emotion
99
  ├── hifigan
 
100
  ├── hubert
101
  │   └── hubert.onnx
102
+ ├── Mods
103
+ ├── OutPuts
104
+ ├── temp
105
+ ├── avcodec-58.dll
106
+ ├── avformat-58.dll
107
+ ├── avutil-56.dll
108
+ ├── MoeSS.exe
109
  ├── onnxruntime.dll
110
  ├── onnxruntime_providers_shared.dll
111
+ ├── ParamsRegex.json
112
+ ├── ShirakanaUI.dmres
113
+ ├── swresample-3.dll
114
+ └── swscale-5.dll
115
  ```
116
 
117
+ ### 1. 下载[[转换好的onnx模型]](https://huggingface.co/Miuzarte/SUImodels/blob/main/sovits3_48k/v1/Singing/suijiSUI_v1_1M111000_SoVits.onnx),放在 MoeSS\\\Mods\\suijiSUI_v1_1M111000 里面
118
 
119
+ ### 2. 在 MoeSS\\Mods 新建一个 岁己SUI_v1_1M111k.json 并写入以下文本,保存时请确保编码为UTF-8,保存时请确保编码为UTF-8,保存时请确保编码为UTF-8
120
 
121
  ```json
122
  {
123
+ "Folder" : "suijiSUI_v1_1M111000",
124
+ "Name" : "岁己SUI_v1_1M111k",
125
  "Type" : "SoVits",
 
 
126
  "Rate" : 48000,
127
  "Hop" : 320,
 
128
  "Hubert": "hubert",
129
  "SoVits3": true,
130
  "Characters" : ["岁己SUI"]
 
135
 
136
  ```
137
  MoeSS
 
 
 
 
 
 
138
  ├── cleaners
139
+ ├── emotion
140
  ├── hifigan
 
141
  ├── hubert
142
  │   └── hubert.onnx
143
+ ├── Mods
144
+ │   ├── 岁己SUI_v1_1M111k.json
145
+ │   └── suijiSUI_v1_1M111000
146
+ │   └── suijiSUI_v1_1M111000_SoVits.onnx
147
+ ├── OutPuts
148
+ ├── temp
149
+ ├── avcodec-58.dll
150
+ ├── avformat-58.dll
151
+ ├── avutil-56.dll
152
+ ├── MoeSS.exe
153
  ├── onnxruntime.dll
154
  ├── onnxruntime_providers_shared.dll
155
+ ├── ParamsRegex.json
156
+ ├── ShirakanaUI.dmres
157
+ ├── swresample-3.dll
158
+ └── swscale-5.dll
159
  ```
160
 
161
  ### (A卡不用看)如果要使用GPU推理的话,下载[[MoeSS-GPU.7z]](https://github.com/NaruseMioShirakana/MoeSS/releases/download/3.2.0/MoeSS-GPU.7z)并解压"MoeSS - CUDA.exe"、"onnxruntime_providers_cuda.dll"至 MoeSS 目录(全覆盖一遍也行)。注意:需要CUDA版本 ≥ 11.6 < 12 、 CUdnn < 83.0 ,目前30系显卡最新驱动是cuda12,需要降级,建议选CPU版本
162
 
163
  ### 3. 运行 MoeSS.exe / Moess - CUDA.exe
164
 
165
+ 1. 在左上角选择模型 “SoVits:岁己SUI_v1_1M111k” 并等待加载,完成后右边会显示 “当前模型: 岁己SUI_v1_1M111k
166
 
167
  2. 将音频文件拖入程序窗口 或 直接点击开始转换后选择文件 或 在左下角输入框中写入音频文件路径再点击开始转换,支持批量,如:
168
 
169
+ 3.0.0 到 4.0.1 MoeSS 终于支持了文件拖放
170
 
171
  ```
172
  A:\\SUI\\so-vits-svc\\raw\\wavs\\2043.wav