From 9e045af0bb57275d51e865f82e9ccf1a0a2942e7 Mon Sep 17 00:00:00 2001 From: w-okada <48346627+w-okada@users.noreply.github.com> Date: Sat, 3 Dec 2022 20:29:10 +0900 Subject: [PATCH] =?UTF-8?q?Colaboratory=20=E3=82=92=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E3=81=97=E3=81=A6=E4=BD=9C=E6=88=90=E3=81=97=E3=81=BE=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VoiceChangerDemo_Simple.ipynb | 37 +++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/VoiceChangerDemo_Simple.ipynb b/VoiceChangerDemo_Simple.ipynb index 6b8e4d8c9..5d1ca7b30 100644 --- a/VoiceChangerDemo_Simple.ipynb +++ b/VoiceChangerDemo_Simple.ipynb @@ -4,8 +4,7 @@ "metadata": { "colab": { "provenance": [], - "collapsed_sections": [], - "authorship_tag": "ABX9TyP+8wuzHi5QO4OKLKxFI1U3", + "authorship_tag": "ABX9TyOL/hH+LGuhA9XalSAtP6Ya", "include_colab_link": true }, "kernelspec": { @@ -74,7 +73,7 @@ "base_uri": "https://localhost:8080/" }, "id": "vV1t7PBRm-o6", - "outputId": "f4ca1ec9-f3d1-4460-9bba-037c8e64d52b" + "outputId": "f5fde405-cace-4c0e-a8b0-ff8833f8095c" }, "execution_count": 1, "outputs": [ @@ -82,7 +81,7 @@ "output_type": "stream", "name": "stdout", "text": [ - "Sat Nov 12 04:19:23 2022 \n", + "Sat Dec 3 11:03:06 2022 \n", "+-----------------------------------------------------------------------------+\n", "| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n", "|-------------------------------+----------------------+----------------------+\n", @@ -91,7 +90,7 @@ "| | | MIG M. |\n", "|===============================+======================+======================|\n", "| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n", - "| N/A 57C P8 10W / 70W | 0MiB / 15109MiB | 0% Default |\n", + "| N/A 67C P0 30W / 70W | 0MiB / 15109MiB | 0% Default |\n", "| | | N/A |\n", "+-------------------------------+----------------------+----------------------+\n", " \n", @@ -122,7 +121,10 @@ "# (2) リポジトリのクローン\n", "!git clone --depth 1 https://github.com/isletennos/MMVC_Trainer.git -b v1.3.1.3 /MMVC_Trainer\n", "!git clone --depth 1 https://github.com/w-okada/voice-changer.git\n", - "%cd voice-changer/demo/\n", + "%cd /MMVC_Trainer/monotonic_align \n", + "!cythonize -3 -i core.pyx &> /dev/null\n", + "!mv core.cpython-*.so monotonic_align &> /dev/null\n", + "%cd /content/voice-changer/demo/\n", "\n", "!cp ../template/setting_mmvc_colab.json ../frontend/dist/assets/setting.json" ], @@ -131,7 +133,7 @@ "base_uri": "https://localhost:8080/" }, "id": "86wTFmqsNMnD", - "outputId": "9de839b7-fea0-4a16-82b7-ebd10f72910e" + "outputId": "49cfcf63-30cd-4070-9077-3092e24118cd" }, "execution_count": 2, "outputs": [ @@ -144,7 +146,7 @@ "remote: Counting objects: 100% (917/917), done.\u001b[K\n", "remote: Compressing objects: 100% (828/828), done.\u001b[K\n", "remote: Total 917 (delta 3), reused 888 (delta 0), pack-reused 0\u001b[K\n", - "Receiving objects: 100% (917/917), 53.02 MiB | 17.83 MiB/s, done.\n", + "Receiving objects: 100% (917/917), 53.02 MiB | 36.37 MiB/s, done.\n", "Resolving deltas: 100% (3/3), done.\n", "Note: checking out '39723b3243e0265b8802e020e4d4d90a4b8b65ee'.\n", "\n", @@ -160,10 +162,11 @@ "Cloning into 'voice-changer'...\n", "remote: Enumerating objects: 108, done.\u001b[K\n", "remote: Counting objects: 100% (108/108), done.\u001b[K\n", - "remote: Compressing objects: 100% (93/93), done.\u001b[K\n", - "remote: Total 108 (delta 15), reused 74 (delta 4), pack-reused 0\u001b[K\n", - "Receiving objects: 100% (108/108), 18.80 MiB | 13.72 MiB/s, done.\n", + "remote: Compressing objects: 100% (94/94), done.\u001b[K\n", + "remote: Total 108 (delta 15), reused 74 (delta 3), pack-reused 0\u001b[K\n", + "Receiving objects: 100% (108/108), 18.79 MiB | 21.22 MiB/s, done.\n", "Resolving deltas: 100% (15/15), done.\n", + "/MMVC_Trainer/monotonic_align\n", "/content/voice-changer/demo\n" ] } @@ -251,7 +254,7 @@ "cell_type": "code", "source": [ "# (4-2) サーバの起動確認\n", - "!sleep 5\n", + "!sleep 10\n", "!tail -20 {LOG_FILE}" ], "metadata": { @@ -259,9 +262,9 @@ "base_uri": "https://localhost:8080/" }, "id": "chu06KpAjEK6", - "outputId": "46c5414c-d77a-41d7-bfcc-86551d2ef2cc" + "outputId": "29fbc8d9-e24a-4964-db98-843ab0d5786a" }, - "execution_count": 5, + "execution_count": 7, "outputs": [ { "output_type": "stream", @@ -305,15 +308,15 @@ "base_uri": "https://localhost:8080/", "height": 34 }, - "outputId": "5cc28647-e1ad-4014-a3d9-7841f460ae2e" + "outputId": "0ad91439-9b92-47a6-9c91-c8d0c3d0f8b8" }, - "execution_count": 6, + "execution_count": 8, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "https://i1lduji3vho-496ff2e9c6d22116-14965-colab.googleusercontent.com/front/\n" + "https://wpvi4988vnk-496ff2e9c6d22116-14764-colab.googleusercontent.com/front/\n" ] } ]