From ec295008e7993bac013904e12ea9081a86f82f05 Mon Sep 17 00:00:00 2001 From: w-okada <48346627+w-okada@users.noreply.github.com> Date: Sun, 11 Dec 2022 09:15:57 +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 --- MMVCTrainerFrontendDemo.ipynb | 95 ++++++++++++++++++++++++----------- 1 file changed, 66 insertions(+), 29 deletions(-) diff --git a/MMVCTrainerFrontendDemo.ipynb b/MMVCTrainerFrontendDemo.ipynb index 002ab066..37c1ff40 100644 --- a/MMVCTrainerFrontendDemo.ipynb +++ b/MMVCTrainerFrontendDemo.ipynb @@ -4,8 +4,6 @@ "metadata": { "colab": { "provenance": [], - "collapsed_sections": [], - "authorship_tag": "ABX9TyNeYcg5YiUjFhkeVj9OycIp", "include_colab_link": true }, "kernelspec": { @@ -15,7 +13,8 @@ "language_info": { "name": "python" }, - "gpuClass": "standard" + "gpuClass": "standard", + "accelerator": "GPU" }, "cells": [ { @@ -73,7 +72,7 @@ "base_uri": "https://localhost:8080/" }, "id": "vV1t7PBRm-o6", - "outputId": "15081c48-84f0-4798-be64-38cf15c28966" + "outputId": "4f159c80-8114-4732-f5af-0856f7b5c39a" }, "execution_count": 1, "outputs": [ @@ -81,8 +80,26 @@ "output_type": "stream", "name": "stdout", "text": [ - "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\n", - "\n" + "Sat Dec 10 23:45:44 2022 \n", + "+-----------------------------------------------------------------------------+\n", + "| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n", + "|-------------------------------+----------------------+----------------------+\n", + "| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |\n", + "| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |\n", + "| | | MIG M. |\n", + "|===============================+======================+======================|\n", + "| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n", + "| N/A 70C P0 31W / 70W | 0MiB / 15109MiB | 0% Default |\n", + "| | | N/A |\n", + "+-------------------------------+----------------------+----------------------+\n", + " \n", + "+-----------------------------------------------------------------------------+\n", + "| Processes: |\n", + "| GPU GI CI PID Type Process name GPU Memory |\n", + "| ID ID Usage |\n", + "|=============================================================================|\n", + "| No running processes found |\n", + "+-----------------------------------------------------------------------------+\n" ] } ] @@ -101,7 +118,6 @@ "cell_type": "code", "source": [ "# (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 -b dev\n", "%cd voice-changer/demo/\n", "\n", @@ -112,7 +128,7 @@ "base_uri": "https://localhost:8080/" }, "id": "86wTFmqsNMnD", - "outputId": "5151e168-15ec-4e4e-b50c-07867876294e" + "outputId": "3f84319c-0365-442a-fa3a-0a8aea701926" }, "execution_count": 2, "outputs": [ @@ -120,8 +136,13 @@ "output_type": "stream", "name": "stdout", "text": [ - "fatal: destination path '/MMVC_Trainer' already exists and is not an empty directory.\n", - "fatal: destination path 'voice-changer' already exists and is not an empty directory.\n", + "Cloning into 'voice-changer'...\n", + "remote: Enumerating objects: 1029, done.\u001b[K\n", + "remote: Counting objects: 100% (1029/1029), done.\u001b[K\n", + "remote: Compressing objects: 100% (919/919), done.\u001b[K\n", + "remote: Total 1029 (delta 21), reused 979 (delta 10), pack-reused 0\u001b[K\n", + "Receiving objects: 100% (1029/1029), 71.87 MiB | 26.18 MiB/s, done.\n", + "Resolving deltas: 100% (21/21), done.\n", "/content/voice-changer/demo\n" ] } @@ -159,10 +180,29 @@ "%cd ../../" ], "metadata": { - "id": "LwZAAuqxX7yY" + "id": "LwZAAuqxX7yY", + "outputId": "61526e29-97d9-4975-e921-4ca9ae5a153f", + "colab": { + "base_uri": "https://localhost:8080/" + } }, "execution_count": 3, - "outputs": [] + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "/content/voice-changer/demo/MMVC_Trainer/monotonic_align\n", + "running build_ext\n", + "building 'monotonic_align.core' extension\n", + "creating build\n", + "creating build/temp.linux-x86_64-3.8\n", + "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.8/dist-packages/numpy/core/include -I/usr/include/python3.8 -c core.c -o build/temp.linux-x86_64-3.8/core.o\n", + "x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/core.o -o /content/voice-changer/demo/MMVC_Trainer/monotonic_align/monotonic_align/core.cpython-38-x86_64-linux-gnu.so\n", + "/content/voice-changer/demo\n" + ] + } + ] }, { "cell_type": "markdown", @@ -193,18 +233,6 @@ "id": "-_2OcN9Borke" } }, - { - "cell_type": "code", - "source": [ - "!mkdir -p /MMVC_Trainer/info\n", - "!mkdir -p /MMVC_Trainer/logs" - ], - "metadata": { - "id": "pwUQ0_RzGK_g" - }, - "execution_count": 4, - "outputs": [] - }, { "cell_type": "code", "source": [ @@ -219,7 +247,7 @@ "metadata": { "id": "G-nMdPxEW1rc" }, - "execution_count": 5, + "execution_count": 4, "outputs": [] }, { @@ -234,7 +262,7 @@ "base_uri": "https://localhost:8080/" }, "id": "chu06KpAjEK6", - "outputId": "26995bdf-063e-43ee-84fd-4aecc7e7b7e6" + "outputId": "51b4979c-91b7-4c95-eb4b-40ea001042a9" }, "execution_count": 6, "outputs": [ @@ -280,7 +308,7 @@ "base_uri": "https://localhost:8080/", "height": 34 }, - "outputId": "845d1582-d776-4154-984c-e256dcce6b38" + "outputId": "bcca9fae-642c-42f6-f3a5-a8bb0789090f" }, "execution_count": 7, "outputs": [ @@ -288,10 +316,19 @@ "output_type": "stream", "name": "stdout", "text": [ - "https://ffm3z64cmhr-496ff2e9c6d22116-12768-colab.googleusercontent.com/trainer/\n" + "https://vljlzcgk39q-496ff2e9c6d22116-17357-colab.googleusercontent.com/trainer/\n" ] } ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "s1aWiBg-cTle" + }, + "execution_count": null, + "outputs": [] } ] -} +} \ No newline at end of file