From 92a05d3c4ca3a23c183065a16fd6aa0019f515c3 Mon Sep 17 00:00:00 2001 From: mrq Date: Tue, 14 Mar 2023 02:29:11 +0000 Subject: [PATCH] added PYTHONUTF8 to start/train bats --- modules/tortoise-tts | 2 +- src/utils.py | 2 +- start.bat | 1 + train.bat | 1 + update.sh | 3 +-- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/tortoise-tts b/modules/tortoise-tts index 97cd58e..65a43de 160000 --- a/modules/tortoise-tts +++ b/modules/tortoise-tts @@ -1 +1 @@ -Subproject commit 97cd58e7eba06b91fc6b0c77029ad72022b8c231 +Subproject commit 65a43deb9e354342ba805214edf1283b8af6fa90 diff --git a/src/utils.py b/src/utils.py index d650a18..445fb2d 100755 --- a/src/utils.py +++ b/src/utils.py @@ -49,7 +49,7 @@ VOCODERS = ['univnet', 'bigvgan_base_24khz_100band', 'bigvgan_24khz_100band'] GENERATE_SETTINGS_ARGS = None 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 = {} diff --git a/start.bat b/start.bat index 4ef2f49..b80f8b0 100755 --- a/start.bat +++ b/start.bat @@ -1,4 +1,5 @@ call .\venv\Scripts\activate.bat set PATH=.\bin\;%PATH% +set PYTHONUTF8=1 python .\src\main.py %* pause \ No newline at end of file diff --git a/train.bat b/train.bat index e745705..ada6bc2 100755 --- a/train.bat +++ b/train.bat @@ -1,4 +1,5 @@ call .\venv\Scripts\activate.bat +set PYTHONUTF8=1 python ./src/train.py -opt "%1" pause deactivate \ No newline at end of file diff --git a/update.sh b/update.sh index 728a14a..777ba35 100755 --- a/update.sh +++ b/update.sh @@ -2,7 +2,6 @@ git pull 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 whisperx &>/dev/null; then python -m pip install -U git+https://github.com/m-bain/whisperx.git; fi - deactivate \ No newline at end of file