@@ -30,18 +30,34 @@ set g32=f0G32k.pth
30
30
set g40 = f0G40k.pth
31
31
set g48 = f0G48k.pth
32
32
33
+ set d40v2 = f0D40k.pth
34
+ set g40v2 = f0G40k.pth
35
+
33
36
set dld32 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D32k.pth
34
37
set dld40 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D40k.pth
35
38
set dld48 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D48k.pth
36
39
set dlg32 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G32k.pth
37
40
set dlg40 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G40k.pth
38
41
set dlg48 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G48k.pth
39
42
40
- set hp2 = HP2-人声vocals+非人声instrumentals.pth
41
- set hp5 = HP5-主旋律人声vocals+其他instrumentals.pth
43
+ set dld40v2 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth
44
+ set dlg40v2 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth
45
+
46
+ set hp2_all = HP2_all_vocals.pth
47
+ set hp3_all = HP3_all_vocals.pth
48
+ set hp5_only = HP5_only_main_vocal.pth
49
+ set VR_DeEchoAggressive = VR-DeEchoAggressive.pth
50
+ set VR_DeEchoDeReverb = VR-DeEchoDeReverb.pth
51
+ set VR_DeEchoNormal = VR-DeEchoNormal.pth
52
+ set onnx_dereverb = vocals.onnx
42
53
43
- set dlhp2 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth
44
- set dlhp5 = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth
54
+ set dlhp2_all = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2_all_vocals.pth
55
+ set dlhp3_all = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP3_all_vocals.pth
56
+ set dlhp5_only = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5_only_main_vocal.pth
57
+ set dlVR_DeEchoAggressive = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoAggressive.pth
58
+ set dlVR_DeEchoDeReverb = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoDeReverb.pth
59
+ set dlVR_DeEchoNormal = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoNormal.pth
60
+ set dlonnx_dereverb = https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/onnx_dereverb_By_FoxJoy/vocals.onnx
45
61
46
62
set hb = hubert_base.pt
47
63
@@ -56,12 +72,24 @@ if exist "%~dp0pretrained" (
56
72
echo failed. generating dir .\pretrained.
57
73
mkdir pretrained
58
74
)
75
+ if exist " %~dp0 pretrained_v2" (
76
+ echo dir .\pretrained_v2 checked.
77
+ ) else (
78
+ echo failed. generating dir .\pretrained_v2.
79
+ mkdir pretrained_v2
80
+ )
59
81
if exist " %~dp0 uvr5_weights" (
60
82
echo dir .\uvr5_weights checked.
61
83
) else (
62
84
echo failed. generating dir .\uvr5_weights.
63
85
mkdir uvr5_weights
64
86
)
87
+ if exist " %~dp0 uvr5_weights\onnx_dereverb_By_FoxJoy" (
88
+ echo dir .\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
89
+ ) else (
90
+ echo failed. generating dir .\uvr5_weights\onnx_dereverb_By_FoxJoy.
91
+ mkdir uvr5_weights\onnx_dereverb_By_FoxJoy
92
+ )
65
93
66
94
echo=
67
95
echo dir check finished.
@@ -89,7 +117,17 @@ if exist "%~dp0pretrained\D40k.pth" (
89
117
if exist " %~dp0 pretrained\D40k.pth" (echo download successful.) else (echo please try again!
90
118
echo=)
91
119
)
92
- echo checking D48k.pth
120
+ echo checking D40k.pth
121
+ if exist " %~dp0 pretrained_v2\D40k.pth" (
122
+ echo D40k.pth in .\pretrained_v2 checked.
123
+ echo=
124
+ ) else (
125
+ echo failed. starting download from huggingface.
126
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d %~dp0 pretrained_v2 -o D40k.pth
127
+ if exist " %~dp0 pretrained_v2\D40k.pth" (echo download successful.) else (echo please try again!
128
+ echo=)
129
+ )
130
+ echo checking D48k.pth
93
131
if exist " %~dp0 pretrained\D48k.pth" (
94
132
echo D48k.pth in .\pretrained checked.
95
133
echo=
@@ -99,7 +137,7 @@ if exist "%~dp0pretrained\D48k.pth" (
99
137
if exist " %~dp0 pretrained\D48k.pth" (echo download successful.) else (echo please try again!
100
138
echo=)
101
139
)
102
- echo checking G32k.pth
140
+ echo checking G32k.pth
103
141
if exist " %~dp0 pretrained\G32k.pth" (
104
142
echo G32k.pth in .\pretrained checked.
105
143
echo=
@@ -109,7 +147,7 @@ if exist "%~dp0pretrained\G32k.pth" (
109
147
if exist " %~dp0 pretrained\G32k.pth" (echo download successful.) else (echo please try again!
110
148
echo=)
111
149
)
112
- echo checking G40k.pth
150
+ echo checking G40k.pth
113
151
if exist " %~dp0 pretrained\G40k.pth" (
114
152
echo G40k.pth in .\pretrained checked.
115
153
echo=
@@ -119,7 +157,17 @@ if exist "%~dp0pretrained\G40k.pth" (
119
157
if exist " %~dp0 pretrained\G40k.pth" (echo download successful.) else (echo please try again!
120
158
echo=)
121
159
)
122
- echo checking G48k.pth
160
+ echo checking G40k.pth
161
+ if exist " %~dp0 pretrained_v2\G40k.pth" (
162
+ echo G40k.pth in .\pretrained_v2 checked.
163
+ echo=
164
+ ) else (
165
+ echo failed. starting download from huggingface.
166
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d %~dp0 pretrained_v2 -o G40k.pth
167
+ if exist " %~dp0 pretrained_v2\G40k.pth" (echo download successful.) else (echo please try again!
168
+ echo=)
169
+ )
170
+ echo checking G48k.pth
123
171
if exist " %~dp0 pretrained\G48k.pth" (
124
172
echo G48k.pth in .\pretrained checked.
125
173
echo=
@@ -150,6 +198,16 @@ if exist "%~dp0pretrained\%d40%" (
150
198
if exist " %~dp0 pretrained\%d40% " (echo download successful.) else (echo please try again!
151
199
echo=)
152
200
)
201
+ echo checking %d40v2%
202
+ if exist " %~dp0 pretrained_v2\%d40v2% " (
203
+ echo %d40v2% in .\pretrained_v2 checked.
204
+ echo=
205
+ ) else (
206
+ echo failed. starting download from huggingface.
207
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld40v2% -d %~dp0 pretrained_v2 -o %d40v2%
208
+ if exist " %~dp0 pretrained_v2\%d40v2% " (echo download successful.) else (echo please try again!
209
+ echo=)
210
+ )
153
211
echo checking %d48%
154
212
if exist " %~dp0 pretrained\%d48% " (
155
213
echo %d48% in .\pretrained checked.
@@ -180,6 +238,16 @@ if exist "%~dp0pretrained\%g40%" (
180
238
if exist " %~dp0 pretrained\%g40% " (echo download successful.) else (echo please try again!
181
239
echo=)
182
240
)
241
+ echo checking %g40v2%
242
+ if exist " %~dp0 pretrained_v2\%g40v2% " (
243
+ echo %g40v2% in .\pretrained_v2 checked.
244
+ echo=
245
+ ) else (
246
+ echo failed. starting download from huggingface.
247
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg40v2% -d %~dp0 pretrained_v2 -o %g40v2%
248
+ if exist " %~dp0 pretrained_v2\%g40v2% " (echo download successful.) else (echo please try again!
249
+ echo=)
250
+ )
183
251
echo checking %g48%
184
252
if exist " %~dp0 pretrained\%g48% " (
185
253
echo %g48% in .\pretrained checked.
@@ -191,26 +259,76 @@ if exist "%~dp0pretrained\%g48%" (
191
259
echo=)
192
260
)
193
261
194
- echo checking %hp2 %
195
- if exist " %~dp0 uvr5_weights\%hp2 % " (
196
- echo %hp2 % in .\uvr5_weights checked.
262
+ echo checking %hp2_all %
263
+ if exist " %~dp0 uvr5_weights\%hp2_all % " (
264
+ echo %hp2_all % in .\uvr5_weights checked.
197
265
echo=
198
266
) else (
199
267
echo failed. starting download from huggingface.
200
- %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp2 % -d %~dp0 \uvr5_weights -o %hp2 %
201
- if exist " %~dp0 uvr5_weights\%hp2 % " (echo download successful.) else (echo please try again!
268
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp2_all % -d %~dp0 \uvr5_weights -o %hp2_all %
269
+ if exist " %~dp0 uvr5_weights\%hp2_all % " (echo download successful.) else (echo please try again!
202
270
echo=)
203
271
)
204
- echo checking %hp5 %
205
- if exist " %~dp0 uvr5_weights\%hp5 % " (
206
- echo %hp5 % in .\uvr5_weights checked.
272
+ echo checking %hp3_all %
273
+ if exist " %~dp0 uvr5_weights\%hp3_all % " (
274
+ echo %hp3_all % in .\uvr5_weights checked.
207
275
echo=
208
276
) else (
209
277
echo failed. starting download from huggingface.
210
- %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp5 % -d %~dp0 \uvr5_weights -o %HP5 %
211
- if exist " %~dp0 uvr5_weights\%hp5 % " (echo download successful.) else (echo please try again!
278
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp3_all % -d %~dp0 \uvr5_weights -o %hp3_all %
279
+ if exist " %~dp0 uvr5_weights\%hp3_all % " (echo download successful.) else (echo please try again!
212
280
echo=)
213
281
)
282
+ echo checking %hp5_only%
283
+ if exist " %~dp0 uvr5_weights\%hp5_only% " (
284
+ echo %hp5_only% in .\uvr5_weights checked.
285
+ echo=
286
+ ) else (
287
+ echo failed. starting download from huggingface.
288
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp5_only% -d %~dp0 \uvr5_weights -o %hp5_only%
289
+ if exist " %~dp0 uvr5_weights\%hp5_only% " (echo download successful.) else (echo please try again!
290
+ echo=)
291
+ )
292
+ echo checking %VR_DeEchoAggressive%
293
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoAggressive% " (
294
+ echo %VR_DeEchoAggressive% in .\uvr5_weights checked.
295
+ echo=
296
+ ) else (
297
+ echo failed. starting download from huggingface.
298
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoAggressive% -d %~dp0 \uvr5_weights -o %VR_DeEchoAggressive%
299
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoAggressive% " (echo download successful.) else (echo please try again!
300
+ echo=)
301
+ )
302
+ echo checking %VR_DeEchoDeReverb%
303
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoDeReverb% " (
304
+ echo %VR_DeEchoDeReverb% in .\uvr5_weights checked.
305
+ echo=
306
+ ) else (
307
+ echo failed. starting download from huggingface.
308
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoDeReverb% -d %~dp0 \uvr5_weights -o %VR_DeEchoDeReverb%
309
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoDeReverb% " (echo download successful.) else (echo please try again!
310
+ echo=)
311
+ )
312
+ echo checking %VR_DeEchoNormal%
313
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoNormal% " (
314
+ echo %VR_DeEchoNormal% in .\uvr5_weights checked.
315
+ echo=
316
+ ) else (
317
+ echo failed. starting download from huggingface.
318
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoNormal% -d %~dp0 \uvr5_weights -o %VR_DeEchoNormal%
319
+ if exist " %~dp0 uvr5_weights\%VR_DeEchoNormal% " (echo download successful.) else (echo please try again!
320
+ echo=)
321
+ )
322
+ echo checking %onnx_dereverb%
323
+ if exist " %~dp0 uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb% " (
324
+ echo %onnx_dereverb% in .\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
325
+ echo=
326
+ ) else (
327
+ echo failed. starting download from huggingface.
328
+ %~dp0 %aria2% \aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlonnx_dereverb% -d %~dp0 \uvr5_weights\onnx_dereverb_By_FoxJoy -o %onnx_dereverb%
329
+ if exist " %~dp0 uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb% " (echo download successful.) else (echo please try again!
330
+ echo=)
331
+ )
214
332
215
333
echo checking %hb%
216
334
if exist " %~dp0 %hb% " (
@@ -227,4 +345,4 @@ echo required files check finished.
227
345
echo envfiles check complete.
228
346
pause
229
347
:end
230
- del flag.txt
348
+ del flag.txt
0 commit comments