Upload envfilescheck.bat with huggingface_hub
Browse files- envfilescheck.bat +348 -0
envfilescheck.bat
ADDED
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off && chcp 65001
|
2 |
+
|
3 |
+
echo working dir is %cd%
|
4 |
+
echo downloading requirement aria2 check.
|
5 |
+
echo=
|
6 |
+
dir /a:d/b | findstr "aria2" > flag.txt
|
7 |
+
findstr "aria2" flag.txt >nul
|
8 |
+
if %errorlevel% ==0 (
|
9 |
+
echo aria2 checked.
|
10 |
+
echo=
|
11 |
+
) else (
|
12 |
+
echo failed. please downloading aria2 from webpage!
|
13 |
+
echo unzip it and put in this directory!
|
14 |
+
timeout /T 5
|
15 |
+
start https://github.com/aria2/aria2/releases/tag/release-1.36.0
|
16 |
+
echo=
|
17 |
+
goto end
|
18 |
+
)
|
19 |
+
|
20 |
+
echo envfiles checking start.
|
21 |
+
echo=
|
22 |
+
|
23 |
+
for /f %%x in ('findstr /i /c:"aria2" "flag.txt"') do (set aria2=%%x)&goto endSch
|
24 |
+
:endSch
|
25 |
+
|
26 |
+
set d32=f0D32k.pth
|
27 |
+
set d40=f0D40k.pth
|
28 |
+
set d48=f0D48k.pth
|
29 |
+
set g32=f0G32k.pth
|
30 |
+
set g40=f0G40k.pth
|
31 |
+
set g48=f0G48k.pth
|
32 |
+
|
33 |
+
set d40v2=f0D40k.pth
|
34 |
+
set g40v2=f0G40k.pth
|
35 |
+
|
36 |
+
set dld32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D32k.pth
|
37 |
+
set dld40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D40k.pth
|
38 |
+
set dld48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D48k.pth
|
39 |
+
set dlg32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G32k.pth
|
40 |
+
set dlg40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G40k.pth
|
41 |
+
set dlg48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G48k.pth
|
42 |
+
|
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
|
53 |
+
|
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
|
61 |
+
|
62 |
+
set hb=hubert_base.pt
|
63 |
+
|
64 |
+
set dlhb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt
|
65 |
+
|
66 |
+
echo dir check start.
|
67 |
+
echo=
|
68 |
+
|
69 |
+
if exist "%~dp0pretrained" (
|
70 |
+
echo dir .\pretrained checked.
|
71 |
+
) else (
|
72 |
+
echo failed. generating dir .\pretrained.
|
73 |
+
mkdir pretrained
|
74 |
+
)
|
75 |
+
if exist "%~dp0pretrained_v2" (
|
76 |
+
echo dir .\pretrained_v2 checked.
|
77 |
+
) else (
|
78 |
+
echo failed. generating dir .\pretrained_v2.
|
79 |
+
mkdir pretrained_v2
|
80 |
+
)
|
81 |
+
if exist "%~dp0uvr5_weights" (
|
82 |
+
echo dir .\uvr5_weights checked.
|
83 |
+
) else (
|
84 |
+
echo failed. generating dir .\uvr5_weights.
|
85 |
+
mkdir uvr5_weights
|
86 |
+
)
|
87 |
+
if exist "%~dp0uvr5_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 |
+
)
|
93 |
+
|
94 |
+
echo=
|
95 |
+
echo dir check finished.
|
96 |
+
|
97 |
+
echo=
|
98 |
+
echo required files check start.
|
99 |
+
|
100 |
+
echo checking D32k.pth
|
101 |
+
if exist "%~dp0pretrained\D32k.pth" (
|
102 |
+
echo D32k.pth in .\pretrained checked.
|
103 |
+
echo=
|
104 |
+
) else (
|
105 |
+
echo failed. starting download from huggingface.
|
106 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D32k.pth -d %~dp0pretrained -o D32k.pth
|
107 |
+
if exist "%~dp0pretrained\D32k.pth" (echo download successful.) else (echo please try again!
|
108 |
+
echo=)
|
109 |
+
)
|
110 |
+
echo checking D40k.pth
|
111 |
+
if exist "%~dp0pretrained\D40k.pth" (
|
112 |
+
echo D40k.pth in .\pretrained checked.
|
113 |
+
echo=
|
114 |
+
) else (
|
115 |
+
echo failed. starting download from huggingface.
|
116 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D40k.pth -d %~dp0pretrained -o D40k.pth
|
117 |
+
if exist "%~dp0pretrained\D40k.pth" (echo download successful.) else (echo please try again!
|
118 |
+
echo=)
|
119 |
+
)
|
120 |
+
echo checking D40k.pth
|
121 |
+
if exist "%~dp0pretrained_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 %~dp0pretrained_v2 -o D40k.pth
|
127 |
+
if exist "%~dp0pretrained_v2\D40k.pth" (echo download successful.) else (echo please try again!
|
128 |
+
echo=)
|
129 |
+
)
|
130 |
+
echo checking D48k.pth
|
131 |
+
if exist "%~dp0pretrained\D48k.pth" (
|
132 |
+
echo D48k.pth in .\pretrained checked.
|
133 |
+
echo=
|
134 |
+
) else (
|
135 |
+
echo failed. starting download from huggingface.
|
136 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D48k.pth -d %~dp0pretrained -o D48k.pth
|
137 |
+
if exist "%~dp0pretrained\D48k.pth" (echo download successful.) else (echo please try again!
|
138 |
+
echo=)
|
139 |
+
)
|
140 |
+
echo checking G32k.pth
|
141 |
+
if exist "%~dp0pretrained\G32k.pth" (
|
142 |
+
echo G32k.pth in .\pretrained checked.
|
143 |
+
echo=
|
144 |
+
) else (
|
145 |
+
echo failed. starting download from huggingface.
|
146 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G32k.pth -d %~dp0pretrained -o G32k.pth
|
147 |
+
if exist "%~dp0pretrained\G32k.pth" (echo download successful.) else (echo please try again!
|
148 |
+
echo=)
|
149 |
+
)
|
150 |
+
echo checking G40k.pth
|
151 |
+
if exist "%~dp0pretrained\G40k.pth" (
|
152 |
+
echo G40k.pth in .\pretrained checked.
|
153 |
+
echo=
|
154 |
+
) else (
|
155 |
+
echo failed. starting download from huggingface.
|
156 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G40k.pth -d %~dp0pretrained -o G40k.pth
|
157 |
+
if exist "%~dp0pretrained\G40k.pth" (echo download successful.) else (echo please try again!
|
158 |
+
echo=)
|
159 |
+
)
|
160 |
+
echo checking G40k.pth
|
161 |
+
if exist "%~dp0pretrained_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 %~dp0pretrained_v2 -o G40k.pth
|
167 |
+
if exist "%~dp0pretrained_v2\G40k.pth" (echo download successful.) else (echo please try again!
|
168 |
+
echo=)
|
169 |
+
)
|
170 |
+
echo checking G48k.pth
|
171 |
+
if exist "%~dp0pretrained\G48k.pth" (
|
172 |
+
echo G48k.pth in .\pretrained checked.
|
173 |
+
echo=
|
174 |
+
) else (
|
175 |
+
echo failed. starting download from huggingface.
|
176 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G48k.pth -d %~dp0pretrained -o G48k.pth
|
177 |
+
if exist "%~dp0pretrained\G48k.pth" (echo download successful.) else (echo please try again!
|
178 |
+
echo=)
|
179 |
+
)
|
180 |
+
|
181 |
+
echo checking %d32%
|
182 |
+
if exist "%~dp0pretrained\%d32%" (
|
183 |
+
echo %d32% in .\pretrained checked.
|
184 |
+
echo=
|
185 |
+
) else (
|
186 |
+
echo failed. starting download from huggingface.
|
187 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld32% -d %~dp0pretrained -o %d32%
|
188 |
+
if exist "%~dp0pretrained\%d32%" (echo download successful.) else (echo please try again!
|
189 |
+
echo=)
|
190 |
+
)
|
191 |
+
echo checking %d40%
|
192 |
+
if exist "%~dp0pretrained\%d40%" (
|
193 |
+
echo %d40% in .\pretrained checked.
|
194 |
+
echo=
|
195 |
+
) else (
|
196 |
+
echo failed. starting download from huggingface.
|
197 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld40% -d %~dp0pretrained -o %d40%
|
198 |
+
if exist "%~dp0pretrained\%d40%" (echo download successful.) else (echo please try again!
|
199 |
+
echo=)
|
200 |
+
)
|
201 |
+
echo checking %d40v2%
|
202 |
+
if exist "%~dp0pretrained_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 %~dp0pretrained_v2 -o %d40v2%
|
208 |
+
if exist "%~dp0pretrained_v2\%d40v2%" (echo download successful.) else (echo please try again!
|
209 |
+
echo=)
|
210 |
+
)
|
211 |
+
echo checking %d48%
|
212 |
+
if exist "%~dp0pretrained\%d48%" (
|
213 |
+
echo %d48% in .\pretrained checked.
|
214 |
+
echo=
|
215 |
+
) else (
|
216 |
+
echo failed. starting download from huggingface.
|
217 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld48% -d %~dp0pretrained -o %d48%
|
218 |
+
if exist "%~dp0pretrained\%d48%" (echo download successful.) else (echo please try again!
|
219 |
+
echo=)
|
220 |
+
)
|
221 |
+
echo checking %g32%
|
222 |
+
if exist "%~dp0pretrained\%g32%" (
|
223 |
+
echo %g32% in .\pretrained checked.
|
224 |
+
echo=
|
225 |
+
) else (
|
226 |
+
echo failed. starting download from huggingface.
|
227 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg32% -d %~dp0pretrained -o %g32%
|
228 |
+
if exist "%~dp0pretrained\%g32%" (echo download successful.) else (echo please try again!
|
229 |
+
echo=)
|
230 |
+
)
|
231 |
+
echo checking %g40%
|
232 |
+
if exist "%~dp0pretrained\%g40%" (
|
233 |
+
echo %g40% in .\pretrained checked.
|
234 |
+
echo=
|
235 |
+
) else (
|
236 |
+
echo failed. starting download from huggingface.
|
237 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg40% -d %~dp0pretrained -o %g40%
|
238 |
+
if exist "%~dp0pretrained\%g40%" (echo download successful.) else (echo please try again!
|
239 |
+
echo=)
|
240 |
+
)
|
241 |
+
echo checking %g40v2%
|
242 |
+
if exist "%~dp0pretrained_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 %~dp0pretrained_v2 -o %g40v2%
|
248 |
+
if exist "%~dp0pretrained_v2\%g40v2%" (echo download successful.) else (echo please try again!
|
249 |
+
echo=)
|
250 |
+
)
|
251 |
+
echo checking %g48%
|
252 |
+
if exist "%~dp0pretrained\%g48%" (
|
253 |
+
echo %g48% in .\pretrained checked.
|
254 |
+
echo=
|
255 |
+
) else (
|
256 |
+
echo failed. starting download from huggingface.
|
257 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg48% -d %~dp0\pretrained -o %g48%
|
258 |
+
if exist "%~dp0pretrained\%g48%" (echo download successful.) else (echo please try again!
|
259 |
+
echo=)
|
260 |
+
)
|
261 |
+
|
262 |
+
echo checking %hp2_all%
|
263 |
+
if exist "%~dp0uvr5_weights\%hp2_all%" (
|
264 |
+
echo %hp2_all% in .\uvr5_weights checked.
|
265 |
+
echo=
|
266 |
+
) else (
|
267 |
+
echo failed. starting download from huggingface.
|
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 "%~dp0uvr5_weights\%hp2_all%" (echo download successful.) else (echo please try again!
|
270 |
+
echo=)
|
271 |
+
)
|
272 |
+
echo checking %hp3_all%
|
273 |
+
if exist "%~dp0uvr5_weights\%hp3_all%" (
|
274 |
+
echo %hp3_all% in .\uvr5_weights checked.
|
275 |
+
echo=
|
276 |
+
) else (
|
277 |
+
echo failed. starting download from huggingface.
|
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 "%~dp0uvr5_weights\%hp3_all%" (echo download successful.) else (echo please try again!
|
280 |
+
echo=)
|
281 |
+
)
|
282 |
+
echo checking %hp5_only%
|
283 |
+
if exist "%~dp0uvr5_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 "%~dp0uvr5_weights\%hp5_only%" (echo download successful.) else (echo please try again!
|
290 |
+
echo=)
|
291 |
+
)
|
292 |
+
echo checking %VR_DeEchoAggressive%
|
293 |
+
if exist "%~dp0uvr5_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 "%~dp0uvr5_weights\%VR_DeEchoAggressive%" (echo download successful.) else (echo please try again!
|
300 |
+
echo=)
|
301 |
+
)
|
302 |
+
echo checking %VR_DeEchoDeReverb%
|
303 |
+
if exist "%~dp0uvr5_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 "%~dp0uvr5_weights\%VR_DeEchoDeReverb%" (echo download successful.) else (echo please try again!
|
310 |
+
echo=)
|
311 |
+
)
|
312 |
+
echo checking %VR_DeEchoNormal%
|
313 |
+
if exist "%~dp0uvr5_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 "%~dp0uvr5_weights\%VR_DeEchoNormal%" (echo download successful.) else (echo please try again!
|
320 |
+
echo=)
|
321 |
+
)
|
322 |
+
echo checking %onnx_dereverb%
|
323 |
+
if exist "%~dp0uvr5_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 "%~dp0uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" (echo download successful.) else (echo please try again!
|
330 |
+
echo=)
|
331 |
+
)
|
332 |
+
|
333 |
+
echo checking %hb%
|
334 |
+
if exist "%~dp0%hb%" (
|
335 |
+
echo %hb% in .\pretrained checked.
|
336 |
+
echo=
|
337 |
+
) else (
|
338 |
+
echo failed. starting download from huggingface.
|
339 |
+
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhb% -d %~dp0 -o %hb%
|
340 |
+
if exist "%~dp0%hb%" (echo download successful.) else (echo please try again!
|
341 |
+
echo=)
|
342 |
+
)
|
343 |
+
|
344 |
+
echo required files check finished.
|
345 |
+
echo envfiles check complete.
|
346 |
+
pause
|
347 |
+
:end
|
348 |
+
del flag.txt
|