added PYTHONUTF8 to start/train bats

This commit is contained in:
mrq 2023-03-14 02:29:11 +00:00
parent dadb1fca6b
commit 92a05d3c4c
5 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit 97cd58e7eba06b91fc6b0c77029ad72022b8c231 Subproject commit 65a43deb9e354342ba805214edf1283b8af6fa90

View File

@ -49,7 +49,7 @@ VOCODERS = ['univnet', 'bigvgan_base_24khz_100band', 'bigvgan_24khz_100band']
GENERATE_SETTINGS_ARGS = None GENERATE_SETTINGS_ARGS = None
LEARNING_RATE_SCHEMES = {"Multistep": "MultiStepLR", "Cos. Annealing": "CosineAnnealingLR_Restart"} LEARNING_RATE_SCHEMES = {"Multistep": "MultiStepLR", "Cos. Annealing": "CosineAnnealingLR_Restart"}
LEARNING_RATE_SCHEDULE = [ 9, 18, 25, 33 ] LEARNING_RATE_SCHEDULE = [ 2, 4, 9, 18, 25, 33, 50 ]
RESAMPLERS = {} RESAMPLERS = {}

View File

@ -1,4 +1,5 @@
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
set PATH=.\bin\;%PATH% set PATH=.\bin\;%PATH%
set PYTHONUTF8=1
python .\src\main.py %* python .\src\main.py %*
pause pause

View File

@ -1,4 +1,5 @@
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
set PYTHONUTF8=1
python ./src/train.py -opt "%1" python ./src/train.py -opt "%1"
pause pause
deactivate deactivate

View File

@ -2,7 +2,6 @@
git pull git pull
git submodule update --remote git submodule update --remote
source ./venv/bin/activate
if python -m pip show whispercpp &>/dev/null; then python -m pip install -U git+https://git.ecker.tech/lightmare/whispercpp.py; fi if python -m pip show whispercpp &>/dev/null; then python -m pip install -U git+https://git.ecker.tech/lightmare/whispercpp.py; fi
if python -m pip show whisperx &>/dev/null; then python -m pip install -U git+https://github.com/m-bain/whisperx.git; fi
deactivate deactivate