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:
parent
57060190af
commit
ec550d74fd
|
@ -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
|
||||
more-itertools
|
||||
ffmpeg-python
|
||||
|
|
|
@ -2,7 +2,8 @@ python -m venv venv
|
|||
call .\venv\Scripts\activate.bat
|
||||
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 -r ./requirements.txt
|
||||
.\setup-tortoise.bat
|
||||
.\setup-training.bat
|
||||
python -m pip install -r ./requirements.txt
|
||||
deactivate
|
||||
pause
|
|
@ -3,6 +3,7 @@ python -m venv venv
|
|||
source ./venv/bin/activate
|
||||
python -m pip install --upgrade pip
|
||||
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
|
||||
python -m pip install -r ./requirements.txt
|
||||
deactivate
|
||||
|
|
|
@ -2,7 +2,8 @@ python -m venv venv
|
|||
call .\venv\Scripts\activate.bat
|
||||
python -m pip install --upgrade pip
|
||||
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
|
||||
python -m pip install -r ./requirements.txt
|
||||
deactivate
|
||||
pause
|
|
@ -4,6 +4,7 @@ source ./venv/bin/activate
|
|||
python -m pip install --upgrade pip
|
||||
# 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
|
||||
python -m pip install -r ./requirements.txt
|
||||
./setup-training.sh
|
||||
./setup-tortoise.sh
|
||||
python -m pip install -r ./requirements.txt
|
||||
deactivate
|
||||
|
|
3
setup-tortoise.bat
Executable file
3
setup-tortoise.bat
Executable 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
4
setup-tortoise.sh
Executable 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/
|
69
train.ipynb
69
train.ipynb
|
@ -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":[
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
15
update.bat
15
update.bat
|
@ -1,13 +1,22 @@
|
|||
git pull
|
||||
python -m venv venv
|
||||
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
|
||||
git pull
|
||||
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
|
||||
pause
|
16
update.sh
16
update.sh
|
@ -2,12 +2,22 @@
|
|||
git pull
|
||||
python -m venv venv
|
||||
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
|
||||
git pull
|
||||
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
|
Loading…
Reference in New Issue
Block a user