1
0
Fork 0

small fixes

master
mrq 2023-02-17 20:18:57 +07:00
parent 67208be022
commit a245dc43c0
5 changed files with 56 additions and 4 deletions

@ -42,9 +42,20 @@
"%cd ai-voice-cloning\n",
"!python -m pip install --upgrade pip\n",
"!pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116\n",
"!python -m pip install -r ./requirements.txt"
"!python -m pip install -r ./requirements.txt\n",
"!git clone https://git.ecker.tech/mrq/DL-Art-School dlas\n",
"!python -m pip install -r ./dlas/requirements.txt"
]
},
{
"cell_type":"markdown",
"source":[
"# Restart Runtime Before Proceeding"
],
"metadata":{
"id":"TXFyLVLA48S5"
}
},
{
"cell_type":"code",
"source":[
@ -59,6 +70,20 @@
]
},
{
"cell_type":"code",
"source":[
"from google.colab import drive\n",
"drive.mount('/content/drive')"
],
"metadata":{
"id":"SGt9gyvubveT"
},
"execution_count":null,
"outputs":[
]
},
{
"cell_type":"markdown",
"source":[
@ -92,7 +117,7 @@
"\n",
"webui = setup_gradio()\n",
"tts = setup_tortoise()\n",
"webui.launch(share=True, prevent_thread_lock=True, height=1000)\n",
"webui.launch(share=True, prevent_thread_lock=True, debug=True, height=1000)\n",
"webui.block_thread()"
],
"metadata":{
@ -103,6 +128,29 @@
]
},
{
"cell_type":"markdown",
"source":[
"# Fallback Training"
],
"metadata":{
"id":"ggLY9A9KA21D"
}
},
{
"cell_type":"code",
"source":[
"%cd /content/ai-voice-cloning\n",
"!python ./src/train.py -opt ./training/finetune.yml"
],
"metadata":{
"id":"-KayB8klA5tY"
},
"execution_count":null,
"outputs":[
]
},
{
"cell_type":"markdown",
"source":[

@ -1 +1,2 @@
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
python -m pip install -r ./dlas/requirements.txt

@ -1 +1,2 @@
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
!python -m pip install -r .\dlas\requirements.txt

@ -3,5 +3,6 @@ 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
deactivate
pause

@ -3,4 +3,5 @@ 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
deactivate