From 786c94861c705c8d916f35bd2339f2325608e4b9 Mon Sep 17 00:00:00 2001 From: masa032 Date: Sat, 8 Feb 2025 22:26:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20Colab=20=E5=BB=BA=E7=AB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inference.ipynb | 147 ++++++++++++++++++++++++------------------------ 1 file changed, 73 insertions(+), 74 deletions(-) diff --git a/inference.ipynb b/inference.ipynb index 7096816..0ef3a51 100644 --- a/inference.ipynb +++ b/inference.ipynb @@ -91,11 +91,11 @@ "!git clone https://github.com/34j/so-vits-svc.git /content/so-vits-svc" ], "metadata": { - "id": "JqTlZE7d0jOv", - "outputId": "d577eb45-b24a-49e5-9828-b481d2ad358b", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "JqTlZE7d0jOv", + "outputId": "d577eb45-b24a-49e5-9828-b481d2ad358b" }, "id": "JqTlZE7d0jOv", "execution_count": 2, @@ -119,11 +119,11 @@ "%cd /content/so-vits-svc" ], "metadata": { - "id": "_s-rSK4l0o1M", - "outputId": "eaf7f317-57d3-47d4-8646-5f4ff6ed4c1b", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "_s-rSK4l0o1M", + "outputId": "eaf7f317-57d3-47d4-8646-5f4ff6ed4c1b" }, "id": "_s-rSK4l0o1M", "execution_count": 3, @@ -143,11 +143,11 @@ "!ls /content/so-vits-svc" ], "metadata": { - "id": "RwAroz3i1HGr", - "outputId": "73c8ebc9-c903-4aa2-90d8-7e1167675c3f", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "RwAroz3i1HGr", + "outputId": "73c8ebc9-c903-4aa2-90d8-7e1167675c3f" }, "id": "RwAroz3i1HGr", "execution_count": 5, @@ -173,11 +173,11 @@ "!git clone https://github.com/34j/so-vits-svc.git /content/so-vits-svc" ], "metadata": { - "id": "UhJrRE5k1Suj", - "outputId": "4a1f9864-6579-4b01-ffbe-8b768aedd5d7", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "UhJrRE5k1Suj", + "outputId": "4a1f9864-6579-4b01-ffbe-8b768aedd5d7" }, "id": "UhJrRE5k1Suj", "execution_count": 6, @@ -197,11 +197,11 @@ "!python preprocess_hubert_f0.py --config_path /content/drive/MyDrive/so-vits-svc/config.json" ], "metadata": { - "id": "BxDyOqQ51lz9", - "outputId": "c3df49bd-9d80-4790-d376-faeb1c5d5139", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "BxDyOqQ51lz9", + "outputId": "c3df49bd-9d80-4790-d376-faeb1c5d5139" }, "id": "BxDyOqQ51lz9", "execution_count": 7, @@ -224,11 +224,11 @@ "!ls /content/drive/MyDrive/so-vits-svc/" ], "metadata": { - "id": "QI27BFmY1sff", - "outputId": "4ed2b1ca-e718-4477-d963-70081338b7cd", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "QI27BFmY1sff", + "outputId": "4ed2b1ca-e718-4477-d963-70081338b7cd" }, "id": "QI27BFmY1sff", "execution_count": 8, @@ -248,11 +248,11 @@ "!pip install pyworld" ], "metadata": { - "id": "8QKT99qo2BN8", - "outputId": "280da063-c1c4-462a-cec3-2a757b63d8bb", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "8QKT99qo2BN8", + "outputId": "280da063-c1c4-462a-cec3-2a757b63d8bb" }, "id": "8QKT99qo2BN8", "execution_count": 9, @@ -285,11 +285,11 @@ "!python preprocess_hubert_f0.py --config_path /content/drive/MyDrive/so-vits-svc/config.json" ], "metadata": { - "id": "xdS6100Z2ZJm", - "outputId": "2d258408-68c4-4d74-de56-09ee7f4dae1a", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "xdS6100Z2ZJm", + "outputId": "2d258408-68c4-4d74-de56-09ee7f4dae1a" }, "id": "xdS6100Z2ZJm", "execution_count": 10, @@ -5309,11 +5309,11 @@ "!pip install praat-parselmouth" ], "metadata": { - "id": "QKxO9lu1204g", - "outputId": "1917305f-323d-433c-a365-78ee1fbf3508", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "QKxO9lu1204g", + "outputId": "1917305f-323d-433c-a365-78ee1fbf3508" }, "id": "QKxO9lu1204g", "execution_count": 11, @@ -5339,11 +5339,11 @@ "!python preprocess_hubert_f0.py --config_path /content/drive/MyDrive/so-vits-svc/config.json" ], "metadata": { - "id": "7tQuMwOA29H4", - "outputId": "4d2b9896-41d0-4c96-ca77-995a070f9c96", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "7tQuMwOA29H4", + "outputId": "4d2b9896-41d0-4c96-ca77-995a070f9c96" }, "id": "7tQuMwOA29H4", "execution_count": 12, @@ -5534,11 +5534,11 @@ "!python preprocess_hubert_f0.py /content/drive/MyDrive/so-vits-svc/\n" ], "metadata": { - "id": "hljxQrca3gHL", - "outputId": "ad275e98-a08a-439e-8c25-9627c5d80494", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "hljxQrca3gHL", + "outputId": "ad275e98-a08a-439e-8c25-9627c5d80494" }, "id": "hljxQrca3gHL", "execution_count": 13, @@ -5729,11 +5729,11 @@ "!python preprocess_hubert_f0.py --in_dir /content/drive/MyDrive/so-vits-svc/dataset" ], "metadata": { - "id": "9nfOkP7-3q5t", - "outputId": "97664b93-8d32-4fa8-bfb7-fdc68d3d5749", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "9nfOkP7-3q5t", + "outputId": "97664b93-8d32-4fa8-bfb7-fdc68d3d5749" }, "id": "9nfOkP7-3q5t", "execution_count": 14, @@ -5947,11 +5947,11 @@ "!ls /content/drive/MyDrive/so-vits-svc/" ], "metadata": { - "id": "2D8psbl23xx1", - "outputId": "57533105-a3c1-4fa9-c604-5ca5a4f81cf7", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "2D8psbl23xx1", + "outputId": "57533105-a3c1-4fa9-c604-5ca5a4f81cf7" }, "id": "2D8psbl23xx1", "execution_count": 15, @@ -5972,11 +5972,11 @@ "!wget -O hubert/hubert-soft-0d54a1f4.pt https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt" ], "metadata": { - "id": "8I2wf1U94Opj", - "outputId": "c645a47c-bf23-4e5c-e14a-74cd352d0164", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "8I2wf1U94Opj", + "outputId": "c645a47c-bf23-4e5c-e14a-74cd352d0164" }, "id": "8I2wf1U94Opj", "execution_count": 16, @@ -6012,11 +6012,11 @@ "drive.mount('/content/drive')" ], "metadata": { - "id": "2gK2vAFH4jib", - "outputId": "a7df428a-6d41-4439-db60-e3cf97e5cdfe", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "2gK2vAFH4jib", + "outputId": "a7df428a-6d41-4439-db60-e3cf97e5cdfe" }, "id": "2gK2vAFH4jib", "execution_count": 18, @@ -6036,11 +6036,11 @@ "!ls /content/drive/MyDrive/" ], "metadata": { - "id": "J1MtocY24t8u", - "outputId": "921cc14c-0fb3-4050-ab0f-e1675cb3aaa6", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "J1MtocY24t8u", + "outputId": "921cc14c-0fb3-4050-ab0f-e1675cb3aaa6" }, "id": "J1MtocY24t8u", "execution_count": 19, @@ -6088,11 +6088,11 @@ "!wget -O hubert/hubert-soft-0d54a1f4.pt https://github.com/bshall/hubert/releases/download/v0.1/hubert-soft-0d54a1f4.pt" ], "metadata": { - "id": "zH_HtQpm5LpQ", - "outputId": "dc4e11e9-b032-4b31-ca3f-cc77e6591848", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "zH_HtQpm5LpQ", + "outputId": "dc4e11e9-b032-4b31-ca3f-cc77e6591848" }, "id": "zH_HtQpm5LpQ", "execution_count": 20, @@ -6128,11 +6128,11 @@ "drive.mount('/content/drive')" ], "metadata": { - "id": "zMLp1f0l5TLE", - "outputId": "d36343d8-c6a1-4e16-c65c-64ebc7a57d76", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "zMLp1f0l5TLE", + "outputId": "d36343d8-c6a1-4e16-c65c-64ebc7a57d76" }, "id": "zMLp1f0l5TLE", "execution_count": 21, @@ -6152,11 +6152,11 @@ "!ls /content/drive/MyDrive/" ], "metadata": { - "id": "cVsFE0L75aJL", - "outputId": "1a643b82-f9d0-4a7a-9cac-0751ec247f1e", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "cVsFE0L75aJL", + "outputId": "1a643b82-f9d0-4a7a-9cac-0751ec247f1e" }, "id": "cVsFE0L75aJL", "execution_count": 22, @@ -6203,11 +6203,11 @@ "!ls /content/drive/MyDrive/so-vits-svc/dataset/" ], "metadata": { - "id": "wzJ8uD2L5e3q", - "outputId": "ac814f42-ea3d-4f05-a9ee-fa9fa5b62823", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "wzJ8uD2L5e3q", + "outputId": "ac814f42-ea3d-4f05-a9ee-fa9fa5b62823" }, "id": "wzJ8uD2L5e3q", "execution_count": 23, @@ -6228,11 +6228,11 @@ "drive.mount('/content/drive')" ], "metadata": { - "id": "YBlW4q8H503F", - "outputId": "61d7466c-349c-4189-844e-5735be09f0bc", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "YBlW4q8H503F", + "outputId": "61d7466c-349c-4189-844e-5735be09f0bc" }, "id": "YBlW4q8H503F", "execution_count": 24, @@ -6252,11 +6252,11 @@ "%cd /content/so-vits-svc" ], "metadata": { - "id": "Ig9DqyUp55rk", - "outputId": "8b27219f-e2e3-470b-e4c3-59f8131ce2d1", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "Ig9DqyUp55rk", + "outputId": "8b27219f-e2e3-470b-e4c3-59f8131ce2d1" }, "id": "Ig9DqyUp55rk", "execution_count": 25, @@ -6276,11 +6276,11 @@ "!python train.py -c /content/drive/MyDrive/so-vits-svc/config.json" ], "metadata": { - "id": "TYpInQuN59RJ", - "outputId": "59bd3734-640c-4482-bd16-8518c91ec12c", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "TYpInQuN59RJ", + "outputId": "59bd3734-640c-4482-bd16-8518c91ec12c" }, "id": "TYpInQuN59RJ", "execution_count": 26, @@ -6482,11 +6482,11 @@ "!python train.py -c /content/drive/MyDrive/so-vits-svc/config.json" ], "metadata": { - "id": "oFd06w0m6lHA", - "outputId": "480ba9be-d5a6-4bd6-c9d3-2cfcdc7b7f38", "colab": { "base_uri": "https://localhost:8080/" - } + }, + "id": "oFd06w0m6lHA", + "outputId": "480ba9be-d5a6-4bd6-c9d3-2cfcdc7b7f38" }, "id": "oFd06w0m6lHA", "execution_count": 27, @@ -6707,5 +6707,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} -!python train.py -c /content/drive/MyDrive/so-vits-svc/config.json +} \ No newline at end of file