mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-02-17 03:34:55 +08:00
undate envfilescheck.bat (#368)
* Update envfilescheck.bat add pretrained_v2 and uvr5 update * Update envfilescheck.bat fix bug * Update envfilescheck.bat fix bug
This commit is contained in:
parent
e435b3bb8a
commit
f0a798c53f
@ -30,6 +30,9 @@ set g32=f0G32k.pth
|
||||
set g40=f0G40k.pth
|
||||
set g48=f0G48k.pth
|
||||
|
||||
set d40v2=f0D40k.pth
|
||||
set g40v2=f0G40k.pth
|
||||
|
||||
set dld32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D32k.pth
|
||||
set dld40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D40k.pth
|
||||
set dld48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D48k.pth
|
||||
@ -37,11 +40,24 @@ set dlg32=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretra
|
||||
set dlg40=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G40k.pth
|
||||
set dlg48=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G48k.pth
|
||||
|
||||
set hp2=HP2-人声vocals+非人声instrumentals.pth
|
||||
set hp5=HP5-主旋律人声vocals+其他instrumentals.pth
|
||||
set dld40v2=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth
|
||||
set dlg40v2=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth
|
||||
|
||||
set dlhp2=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth
|
||||
set dlhp5=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth
|
||||
set hp2_all=HP2_all_vocals.pth
|
||||
set hp3_all=HP3_all_vocals.pth
|
||||
set hp5_only=HP5_only_main_vocal.pth
|
||||
set VR_DeEchoAggressive=VR-DeEchoAggressive.pth
|
||||
set VR_DeEchoDeReverb=VR-DeEchoDeReverb.pth
|
||||
set VR_DeEchoNormal=VR-DeEchoNormal.pth
|
||||
set onnx_dereverb=vocals.onnx
|
||||
|
||||
set dlhp2_all=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2_all_vocals.pth
|
||||
set dlhp3_all=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP3_all_vocals.pth
|
||||
set dlhp5_only=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5_only_main_vocal.pth
|
||||
set dlVR_DeEchoAggressive=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoAggressive.pth
|
||||
set dlVR_DeEchoDeReverb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoDeReverb.pth
|
||||
set dlVR_DeEchoNormal=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/VR-DeEchoNormal.pth
|
||||
set dlonnx_dereverb=https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/onnx_dereverb_By_FoxJoy/vocals.onnx
|
||||
|
||||
set hb=hubert_base.pt
|
||||
|
||||
@ -56,12 +72,24 @@ if exist "%~dp0pretrained" (
|
||||
echo failed. generating dir .\pretrained.
|
||||
mkdir pretrained
|
||||
)
|
||||
if exist "%~dp0pretrained_v2" (
|
||||
echo dir .\pretrained_v2 checked.
|
||||
) else (
|
||||
echo failed. generating dir .\pretrained_v2.
|
||||
mkdir pretrained_v2
|
||||
)
|
||||
if exist "%~dp0uvr5_weights" (
|
||||
echo dir .\uvr5_weights checked.
|
||||
) else (
|
||||
echo failed. generating dir .\uvr5_weights.
|
||||
mkdir uvr5_weights
|
||||
)
|
||||
if exist "%~dp0uvr5_weights\onnx_dereverb_By_FoxJoy" (
|
||||
echo dir .\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
|
||||
) else (
|
||||
echo failed. generating dir .\uvr5_weights\onnx_dereverb_By_FoxJoy.
|
||||
mkdir uvr5_weights\onnx_dereverb_By_FoxJoy
|
||||
)
|
||||
|
||||
echo=
|
||||
echo dir check finished.
|
||||
@ -89,7 +117,17 @@ if exist "%~dp0pretrained\D40k.pth" (
|
||||
if exist "%~dp0pretrained\D40k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking D48k.pth
|
||||
echo checking D40k.pth
|
||||
if exist "%~dp0pretrained_v2\D40k.pth" (
|
||||
echo D40k.pth in .\pretrained_v2 checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~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
|
||||
if exist "%~dp0pretrained_v2\D40k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking D48k.pth
|
||||
if exist "%~dp0pretrained\D48k.pth" (
|
||||
echo D48k.pth in .\pretrained checked.
|
||||
echo=
|
||||
@ -99,7 +137,7 @@ if exist "%~dp0pretrained\D48k.pth" (
|
||||
if exist "%~dp0pretrained\D48k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking G32k.pth
|
||||
echo checking G32k.pth
|
||||
if exist "%~dp0pretrained\G32k.pth" (
|
||||
echo G32k.pth in .\pretrained checked.
|
||||
echo=
|
||||
@ -109,7 +147,7 @@ if exist "%~dp0pretrained\G32k.pth" (
|
||||
if exist "%~dp0pretrained\G32k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking G40k.pth
|
||||
echo checking G40k.pth
|
||||
if exist "%~dp0pretrained\G40k.pth" (
|
||||
echo G40k.pth in .\pretrained checked.
|
||||
echo=
|
||||
@ -119,7 +157,17 @@ if exist "%~dp0pretrained\G40k.pth" (
|
||||
if exist "%~dp0pretrained\G40k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking G48k.pth
|
||||
echo checking G40k.pth
|
||||
if exist "%~dp0pretrained_v2\G40k.pth" (
|
||||
echo G40k.pth in .\pretrained_v2 checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~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
|
||||
if exist "%~dp0pretrained_v2\G40k.pth" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking G48k.pth
|
||||
if exist "%~dp0pretrained\G48k.pth" (
|
||||
echo G48k.pth in .\pretrained checked.
|
||||
echo=
|
||||
@ -150,6 +198,16 @@ if exist "%~dp0pretrained\%d40%" (
|
||||
if exist "%~dp0pretrained\%d40%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %d40v2%
|
||||
if exist "%~dp0pretrained_v2\%d40v2%" (
|
||||
echo %d40v2% in .\pretrained_v2 checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dld40v2% -d %~dp0pretrained_v2 -o %d40v2%
|
||||
if exist "%~dp0pretrained_v2\%d40v2%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %d48%
|
||||
if exist "%~dp0pretrained\%d48%" (
|
||||
echo %d48% in .\pretrained checked.
|
||||
@ -180,6 +238,16 @@ if exist "%~dp0pretrained\%g40%" (
|
||||
if exist "%~dp0pretrained\%g40%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %g40v2%
|
||||
if exist "%~dp0pretrained_v2\%g40v2%" (
|
||||
echo %g40v2% in .\pretrained_v2 checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlg40v2% -d %~dp0pretrained_v2 -o %g40v2%
|
||||
if exist "%~dp0pretrained_v2\%g40v2%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %g48%
|
||||
if exist "%~dp0pretrained\%g48%" (
|
||||
echo %g48% in .\pretrained checked.
|
||||
@ -191,26 +259,76 @@ if exist "%~dp0pretrained\%g48%" (
|
||||
echo=)
|
||||
)
|
||||
|
||||
echo checking %hp2%
|
||||
if exist "%~dp0uvr5_weights\%hp2%" (
|
||||
echo %hp2% in .\uvr5_weights checked.
|
||||
echo checking %hp2_all%
|
||||
if exist "%~dp0uvr5_weights\%hp2_all%" (
|
||||
echo %hp2_all% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp2% -d %~dp0\uvr5_weights -o %hp2%
|
||||
if exist "%~dp0uvr5_weights\%hp2%" (echo download successful.) else (echo please try again!
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp2_all% -d %~dp0\uvr5_weights -o %hp2_all%
|
||||
if exist "%~dp0uvr5_weights\%hp2_all%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %hp5%
|
||||
if exist "%~dp0uvr5_weights\%hp5%" (
|
||||
echo %hp5% in .\uvr5_weights checked.
|
||||
echo checking %hp3_all%
|
||||
if exist "%~dp0uvr5_weights\%hp3_all%" (
|
||||
echo %hp3_all% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp5% -d %~dp0\uvr5_weights -o %HP5%
|
||||
if exist "%~dp0uvr5_weights\%hp5%" (echo download successful.) else (echo please try again!
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp3_all% -d %~dp0\uvr5_weights -o %hp3_all%
|
||||
if exist "%~dp0uvr5_weights\%hp3_all%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %hp5_only%
|
||||
if exist "%~dp0uvr5_weights\%hp5_only%" (
|
||||
echo %hp5_only% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlhp5_only% -d %~dp0\uvr5_weights -o %hp5_only%
|
||||
if exist "%~dp0uvr5_weights\%hp5_only%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %VR_DeEchoAggressive%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoAggressive%" (
|
||||
echo %VR_DeEchoAggressive% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoAggressive% -d %~dp0\uvr5_weights -o %VR_DeEchoAggressive%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoAggressive%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %VR_DeEchoDeReverb%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoDeReverb%" (
|
||||
echo %VR_DeEchoDeReverb% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoDeReverb% -d %~dp0\uvr5_weights -o %VR_DeEchoDeReverb%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoDeReverb%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %VR_DeEchoNormal%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoNormal%" (
|
||||
echo %VR_DeEchoNormal% in .\uvr5_weights checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~dp0%aria2%\aria2c --console-log-level=error -c -x 16 -s 16 -k 1M %dlVR_DeEchoNormal% -d %~dp0\uvr5_weights -o %VR_DeEchoNormal%
|
||||
if exist "%~dp0uvr5_weights\%VR_DeEchoNormal%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
echo checking %onnx_dereverb%
|
||||
if exist "%~dp0uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" (
|
||||
echo %onnx_dereverb% in .\uvr5_weights\onnx_dereverb_By_FoxJoy checked.
|
||||
echo=
|
||||
) else (
|
||||
echo failed. starting download from huggingface.
|
||||
%~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%
|
||||
if exist "%~dp0uvr5_weights\onnx_dereverb_By_FoxJoy\%onnx_dereverb%" (echo download successful.) else (echo please try again!
|
||||
echo=)
|
||||
)
|
||||
|
||||
echo checking %hb%
|
||||
if exist "%~dp0%hb%" (
|
||||
@ -227,4 +345,4 @@ echo required files check finished.
|
||||
echo envfiles check complete.
|
||||
pause
|
||||
:end
|
||||
del flag.txt
|
||||
del flag.txt
|
||||
|
Loading…
Reference in New Issue
Block a user