changed setup scripts to just clone mrq/tortoise-tts and install locally, instead of relying on pip's garbage git-integrations

This commit is contained in:
mrq 2023-02-19 05:29:01 +00:00
parent 57060190af
commit ec550d74fd
10 changed files with 40 additions and 81 deletions

View File

@ -1,5 +1,3 @@
git+https://git.ecker.tech/mrq/tortoise-tts.git
# git+https://git.ecker.tech/mrq/DL-Art-School.git
git+https://github.com/openai/whisper.git git+https://github.com/openai/whisper.git
more-itertools more-itertools
ffmpeg-python ffmpeg-python

View File

@ -2,7 +2,8 @@ python -m venv venv
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt .\setup-tortoise.bat
.\setup-training.bat .\setup-training.bat
python -m pip install -r ./requirements.txt
deactivate deactivate
pause pause

View File

@ -3,6 +3,7 @@ python -m venv venv
source ./venv/bin/activate source ./venv/bin/activate
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt ./setup-tortoise.sh
./setup-training.sh ./setup-training.sh
python -m pip install -r ./requirements.txt
deactivate deactivate

View File

@ -2,7 +2,8 @@ python -m venv venv
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio torch-directml==0.1.13.1.dev230119 python -m pip install torch torchvision torchaudio torch-directml==0.1.13.1.dev230119
python -m pip install -r ./requirements.txt .\setup-tortoise.bat
.\setup-training.bat .\setup-training.bat
python -m pip install -r ./requirements.txt
deactivate deactivate
pause pause

View File

@ -4,6 +4,7 @@ source ./venv/bin/activate
python -m pip install --upgrade pip python -m pip install --upgrade pip
# ROCM # ROCM
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu
python -m pip install -r ./requirements.txt
./setup-training.sh ./setup-training.sh
./setup-tortoise.sh
python -m pip install -r ./requirements.txt
deactivate deactivate

3
setup-tortoise.bat Executable file
View File

@ -0,0 +1,3 @@
git clone https://git.ecker.tech/mrq/tortoise-tts
python -m pip install -r .\tortoise-tts\requirements.txt
python -m pip install -e .\tortoise-tts\

4
setup-tortoise.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
git clone https://git.ecker.tech/mrq/tortoise-tts
python -m pip install -r ./tortoise-tts/requirements.txt
python -m pip install -e ./tortoise-tts/

View File

@ -1,69 +0,0 @@
{
"nbformat":4,
"nbformat_minor":0,
"metadata":{
"colab":{
"private_outputs":true,
"provenance":[
]
},
"kernelspec":{
"name":"python3",
"display_name":"Python 3"
},
"language_info":{
"name":"python"
},
"accelerator":"GPU",
"gpuClass":"standard"
},
"cells":[
{
"cell_type":"code",
"execution_count":null,
"metadata":{
"id":"AaKpV3rCI3Eo"
},
"outputs":[
],
"source":[
"!git clone https://git.ecker.tech/mrq/DL-Art-School\n",
"%cd DL-Art-School\n",
"!rm -r experiments\n",
"!pip install -r requirements.txt"
]
},
{
"cell_type":"code",
"source":[
"from google.colab import drive\n",
"drive.mount('/content/drive')",
"%cd /content/DL-Art-School/\n",
"!ln -s /content/drive/MyDrive/experiments/\n",
],
"metadata":{
"id":"8eV92cjGI4XL"
},
"execution_count":null,
"outputs":[
]
},
{
"cell_type":"code",
"source":[
"%cd /content/DL-Art-School/\n",
"!python ./codes/train.py -opt ./experiments/ar.yml"
],
"metadata":{
"id":"7lcRGqglX2FC"
},
"execution_count":null,
"outputs":[
]
}
]
}

View File

@ -1,13 +1,22 @@
git pull git pull
python -m venv venv python -m venv venv
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
cd dlas cd dlas
git pull git pull
cd .. cd ..
git clone https://git.ecker.tech/mrq/tortoise-tts
cd tortoise-tts
git pull
cd ..
python -m pip install --upgrade pip
python -m pip install -r .\dlas\requirements.txt
python -m pip install -r .\tortoise-tts\requirements.txt
python -m pip install -e .\tortoise-tts
python -m pip install -r .\requirements.txt
deactivate deactivate
pause pause

View File

@ -2,12 +2,22 @@
git pull git pull
python -m venv venv python -m venv venv
source ./venv/bin/activate source ./venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
cd dlas cd dlas
git pull git pull
cd .. cd ..
git clone https://git.ecker.tech/mrq/tortoise-tts
cd tortoise-tts
git pull
cd ..
python -m pip install --upgrade pip
python -m pip install -r ./dlas/requirements.txt
python -m pip install -r ./tortoise-tts/requirements.txt
python -m pip install -e ./tortoise-tts
python -m pip install -r ./requirements.txt
deactivate deactivate