Skip to content
This repository was archived by the owner on Jul 12, 2025. It is now read-only.

Commit a732f87

Browse files
committed
sync changes with applio
1 parent 7ad2fa8 commit a732f87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3097
-2846
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Ignore logs folder
2-
logs
2+
# logs
33

44
# Ignore compiled executables
55
*.exe

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
> [!NOTE]
66
> Issues are not handled in this repository due to time constraints. For questions or discussions, feel free to join [AI Hispano on Discord](https://discord.gg/iahispano). If you're experiencing a technical issue, please report it on [Applio's Issues page](https://github.com/IAHispano/Applio/issues) and specify that the problem occurs via CLI.
7+
> This repository is partially abandoned, use Applio for more constant updates (You can use CLI through the `core.py` file).
78
89
### Installation
910

install.bat

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,40 @@ echo.
88
set "INSTALL_DIR=%cd%"
99
set "MINICONDA_DIR=%UserProfile%\Miniconda3"
1010
set "ENV_DIR=%INSTALL_DIR%\env"
11-
set "MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-py39_23.9.0-0-Windows-x86_64.exe"
11+
set "MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-py310_24.7.1-0-Windows-x86_64.exe"
1212
set "CONDA_EXE=%MINICONDA_DIR%\Scripts\conda.exe"
1313

14+
set "startTime=%TIME%"
15+
set "startHour=%TIME:~0,2%"
16+
set "startMin=%TIME:~3,2%"
17+
set "startSec=%TIME:~6,2%"
18+
set /a startHour=1%startHour% - 100
19+
set /a startMin=1%startMin% - 100
20+
set /a startSec=1%startSec% - 100
21+
set /a startTotal = startHour*3600 + startMin*60 + startSec
22+
1423
call :cleanup
1524
call :install_miniconda
1625
call :create_conda_env
1726
call :install_dependencies
1827

28+
set "endTime=%TIME%"
29+
set "endHour=%TIME:~0,2%"
30+
set "endMin=%TIME:~3,2%"
31+
set "endSec=%TIME:~6,2%"
32+
set /a endHour=1%endHour% - 100
33+
set /a endMin=1%endMin% - 100
34+
set /a endSec=1%endSec% - 100
35+
set /a endTotal = endHour*3600 + endMin*60 + endSec
36+
set /a elapsed = endTotal - startTotal
37+
if %elapsed% lss 0 set /a elapsed += 86400
38+
set /a hours = elapsed / 3600
39+
set /a minutes = (elapsed %% 3600) / 60
40+
set /a seconds = elapsed %% 60
41+
42+
echo Installation time: %hours% hours, %minutes% minutes, %seconds% seconds.
43+
echo.
44+
1945
echo RVC CLI has been installed successfully!
2046
echo.
2147
pause
@@ -48,26 +74,26 @@ exit /b 0
4874

4975
:create_conda_env
5076
echo Creating Conda environment...
51-
call "%MINICONDA_DIR%\_conda.exe" create --no-shortcuts -y -k --prefix "%ENV_DIR%" python=3.9
77+
call "%MINICONDA_DIR%\_conda.exe" create --no-shortcuts -y -k --prefix "%ENV_DIR%" python=3.10
5278
if errorlevel 1 goto :error
5379
echo Conda environment created successfully.
5480
echo.
5581

5682
if exist "%ENV_DIR%\python.exe" (
57-
echo Installing specific pip version...
58-
"%ENV_DIR%\python.exe" -m pip install "pip<24.1"
83+
echo Installing uv package installer...
84+
"%ENV_DIR%\python.exe" -m pip install uv
5985
if errorlevel 1 goto :error
60-
echo Pip installation complete.
86+
echo uv installation complete.
6187
echo.
6288
)
6389
exit /b 0
6490

6591
:install_dependencies
6692
echo Installing dependencies...
6793
call "%MINICONDA_DIR%\condabin\conda.bat" activate "%ENV_DIR%" || goto :error
68-
pip install --upgrade setuptools || goto :error
69-
pip install --no-cache-dir -r "%INSTALL_DIR%\requirements.txt" || goto :error
70-
pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --upgrade --index-url https://download.pytorch.org/whl/cu121 || goto :error
94+
uv pip install --upgrade setuptools || goto :error
95+
uv pip install torch==2.7.0 torchvision torchaudio==2.7.0 --upgrade --index-url https://download.pytorch.org/whl/cu128 || goto :error
96+
uv pip install -r "%INSTALL_DIR%\requirements.txt" || goto :error
7197
call "%MINICONDA_DIR%\condabin\conda.bat" deactivate
7298
echo Dependencies installation complete.
7399
echo.
@@ -84,4 +110,4 @@ goto :error
84110
:error
85111
echo An error occurred during installation. Please check the output above for details.
86112
pause
87-
exit /b 1
113+
exit /b 1
517 KB
Binary file not shown.

logs/mute/v1_extracted/mute.npy

-149 KB
Binary file not shown.

logs/reference/ref32000.wav

383 KB
Binary file not shown.

logs/reference/ref32000_f0c.npy

1.32 KB
Binary file not shown.

logs/reference/ref32000_f0f.npy

2.52 KB
Binary file not shown.

logs/reference/ref32000_feats.npy

459 KB
Binary file not shown.

0 commit comments

Comments
 (0)