-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstart.bat
41 lines (32 loc) · 2.78 KB
/
start.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@echo off
setlocal enabledelayedexpansion
:: Chocolatey를 사용하여 필요한 도구들 설치
choco install aria2 -y
choco install wget -y
:: 필요한 파일들을 다운로드합니다. 현재 폴더의 RVC/assets/pretrained_v2로 저장
if not exist ".\RVC\assets\pretrained_v2" mkdir ".\RVC\assets\pretrained_v2"
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D32k.pth -d .\RVC\assets\pretrained_v2 -o D32k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d .\RVC\assets\pretrained_v2 -o D40k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G32k.pth -d .\RVC\assets\pretrained_v2 -o G32k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d .\RVC\assets\pretrained_v2 -o G40k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D32k.pth -d .\RVC\assets\pretrained_v2 -o f0D32k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth -d .\RVC\assets\pretrained_v2 -o f0D40k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G32k.pth -d .\RVC\assets\pretrained_v2 -o f0G32k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth -d .\RVC\assets\pretrained_v2 -o f0G40k.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ORVC/Ov2Super/resolve/main/f0Ov2Super40kD.pth -d .\RVC\assets\pretrained_v2 -o f0Ov2Super40kD.pth
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ORVC/Ov2Super/resolve/main/f0Ov2Super40kG.pth -d .\RVC\assets\pretrained_v2 -o f0Ov2Super40kG.pth
:: 데이터셋 폴더 생성
if not exist ".\dataset" mkdir ".\dataset"
:: RVC 폴더로 이동
cd RVC
:: Python 패키지 설치
pip install -r requirements.txt
pip install mega.py
pip install gdown==4.6.0
:: wget을 사용하여 추가 파일 다운로드
wget https://huggingface.co/Rejekts/project/resolve/main/app.py -O app.py
wget https://huggingface.co/Rejekts/project/resolve/main/download_files.py -O download_files.py
wget https://huggingface.co/Rejekts/project/resolve/main/a.png -O a.png
wget https://huggingface.co/Rejekts/project/resolve/main/easy_sync.py -O easy_sync.py
:: 다운로드된 스크립트 실행
python download_files.py