From b162848e7a930dc0666f968a5803d3a93e98246d Mon Sep 17 00:00:00 2001 From: shadow01a <141255649+shadow01a@users.noreply.github.com> Date: Mon, 15 Apr 2024 23:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8colab=E4=B8=AD=E8=BF=90=E8=A1=8Ccolab?= =?UTF-8?q?=5Fwebui.ipynb=E5=8F=91=E7=94=9F=E7=9A=84uvr5=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E7=BC=BA=E5=A4=B1=E9=97=AE=E9=A2=98=20(#968)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在colab中使用git下载uvr5模型时报错: fatal: destination path 'uvr5_weights' already exists and is not an empty directory. 通过在下载前将原本从本仓库下载的uvr5_weights文件夹删除可以解决问题。 --- colab_webui.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/colab_webui.ipynb b/colab_webui.ipynb index 70fa794..0d50fe1 100644 --- a/colab_webui.ipynb +++ b/colab_webui.ipynb @@ -67,6 +67,7 @@ "!git clone https://www.modelscope.cn/damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch.git\n", "# @title UVR5 pretrains 安装uvr5模型\n", "%cd /content/GPT-SoVITS/tools/uvr5\n", + "%rm -r uvr5_weights\n", "!git clone https://huggingface.co/Delik/uvr5_weights\n", "!git config core.sparseCheckout true\n", "!mv /content/GPT-SoVITS/GPT_SoVITS/pretrained_models/GPT-SoVITS/* /content/GPT-SoVITS/GPT_SoVITS/pretrained_models/"