Colaboratory を使用して作成しました

This commit is contained in:
w-okada 2022-12-03 19:51:13 +09:00
parent a9a09409a8
commit 24f3a26943

View File

@ -5,8 +5,7 @@
"colab": { "colab": {
"name": "VoiceChangerDemo", "name": "VoiceChangerDemo",
"provenance": [], "provenance": [],
"collapsed_sections": [], "authorship_tag": "ABX9TyM0gzLQPv7wjydzq26Wt2uM",
"authorship_tag": "ABX9TyMftRLeDlARaCwr4ncwk9vN",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {
@ -75,15 +74,15 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "vV1t7PBRm-o6", "id": "vV1t7PBRm-o6",
"outputId": "465f78ad-bff5-434d-899e-9c426fe025a1" "outputId": "76db7bf4-f28a-4049-833c-a9f17c1b5472"
}, },
"execution_count": null, "execution_count": 1,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
"name": "stdout", "name": "stdout",
"text": [ "text": [
"Thu Nov 3 22:31:14 2022 \n", "Sat Dec 3 10:47:24 2022 \n",
"+-----------------------------------------------------------------------------+\n", "+-----------------------------------------------------------------------------+\n",
"| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n", "| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n",
"|-------------------------------+----------------------+----------------------+\n", "|-------------------------------+----------------------+----------------------+\n",
@ -92,7 +91,7 @@
"| | | MIG M. |\n", "| | | MIG M. |\n",
"|===============================+======================+======================|\n", "|===============================+======================+======================|\n",
"| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n", "| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n",
"| N/A 56C P0 26W / 70W | 0MiB / 15109MiB | 0% Default |\n", "| N/A 51C P0 25W / 70W | 0MiB / 15109MiB | 0% Default |\n",
"| | | N/A |\n", "| | | N/A |\n",
"+-------------------------------+----------------------+----------------------+\n", "+-------------------------------+----------------------+----------------------+\n",
" \n", " \n",
@ -130,18 +129,18 @@
"metadata": { "metadata": {
"id": "nSXATMWYb4Ik" "id": "nSXATMWYb4Ik"
}, },
"execution_count": null, "execution_count": 2,
"outputs": [] "outputs": []
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 3,
"metadata": { "metadata": {
"colab": { "colab": {
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "2wxD-gRSMU5R", "id": "2wxD-gRSMU5R",
"outputId": "ad46952e-7a9e-4366-b819-f04e3ed3e3d6" "outputId": "ff4560ce-c04a-4fe8-bec3-3b93dfdd77ee"
}, },
"outputs": [ "outputs": [
{ {
@ -172,18 +171,21 @@
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"# (3) リポジトリのクローン\n", "# (3) リポジトリのクローン\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/isletennos/MMVC_Trainer.git -b v1.3.1.5 /MMVC_Trainer\n",
"!git clone --depth 1 https://github.com/w-okada/voice-changer.git\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"
], ],
"metadata": { "metadata": {
"colab": { "colab": {
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "86wTFmqsNMnD", "id": "86wTFmqsNMnD",
"outputId": "d654db02-02e7-4305-d538-5b3d977b3cbd" "outputId": "35bad20a-b0a8-44c9-a072-10e11a199c50"
}, },
"execution_count": null, "execution_count": 4,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
@ -193,26 +195,17 @@
"remote: Enumerating objects: 917, done.\u001b[K\n", "remote: Enumerating objects: 917, done.\u001b[K\n",
"remote: Counting objects: 100% (917/917), done.\u001b[K\n", "remote: Counting objects: 100% (917/917), done.\u001b[K\n",
"remote: Compressing objects: 100% (828/828), 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", "remote: Total 917 (delta 3), reused 889 (delta 0), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (917/917), 53.02 MiB | 18.46 MiB/s, done.\n", "Receiving objects: 100% (917/917), 53.02 MiB | 20.41 MiB/s, done.\n",
"Resolving deltas: 100% (3/3), done.\n", "Resolving deltas: 100% (3/3), done.\n",
"Note: checking out '39723b3243e0265b8802e020e4d4d90a4b8b65ee'.\n",
"\n",
"You are in 'detached HEAD' state. You can look around, make experimental\n",
"changes and commit them, and you can discard any commits you make in this\n",
"state without impacting any branches by performing another checkout.\n",
"\n",
"If you want to create a new branch to retain commits you create, you may\n",
"do so (now or later) by using -b with the checkout command again. Example:\n",
"\n",
" git checkout -b <new-branch-name>\n",
"\n",
"Cloning into 'voice-changer'...\n", "Cloning into 'voice-changer'...\n",
"remote: Enumerating objects: 91, done.\u001b[K\n", "remote: Enumerating objects: 108, done.\u001b[K\n",
"remote: Counting objects: 100% (91/91), done.\u001b[K\n", "remote: Counting objects: 100% (108/108), done.\u001b[K\n",
"remote: Compressing objects: 100% (80/80), done.\u001b[K\n", "remote: Compressing objects: 100% (94/94), done.\u001b[K\n",
"remote: Total 91 (delta 12), reused 53 (delta 3), pack-reused 0\u001b[K\n", "remote: Total 108 (delta 15), reused 75 (delta 3), pack-reused 0\u001b[K\n",
"Unpacking objects: 100% (91/91), done.\n", "Receiving objects: 100% (108/108), 18.79 MiB | 15.05 MiB/s, done.\n",
"Resolving deltas: 100% (15/15), done.\n",
"/MMVC_Trainer/monotonic_align\n",
"/content/voice-changer/demo\n" "/content/voice-changer/demo\n"
] ]
} }
@ -237,7 +230,7 @@
"metadata": { "metadata": {
"id": "Bn4kV8TgXp8i" "id": "Bn4kV8TgXp8i"
}, },
"execution_count": null, "execution_count": 5,
"outputs": [] "outputs": []
}, },
{ {
@ -251,9 +244,9 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "pjxPsOOaXXTj", "id": "pjxPsOOaXXTj",
"outputId": "dd627fc2-35ee-4c45-ac1a-4fd1095f9a12" "outputId": "0aaa53de-2a45-45c1-b0e6-cc6de98873fe"
}, },
"execution_count": null, "execution_count": 6,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
@ -357,7 +350,7 @@
"metadata": { "metadata": {
"id": "LwZAAuqxX7yY" "id": "LwZAAuqxX7yY"
}, },
"execution_count": null, "execution_count": 7,
"outputs": [] "outputs": []
}, },
{ {
@ -408,7 +401,7 @@
"metadata": { "metadata": {
"id": "iNOAB7zISI6J" "id": "iNOAB7zISI6J"
}, },
"execution_count": null, "execution_count": 8,
"outputs": [] "outputs": []
}, },
{ {
@ -422,9 +415,9 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "chu06KpAjEK6", "id": "chu06KpAjEK6",
"outputId": "b5047905-b210-45d2-8fef-3dabebc3e7bb" "outputId": "c1f8ca20-23e3-42c0-9143-b44498e84bd2"
}, },
"execution_count": null, "execution_count": 14,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
@ -473,18 +466,27 @@
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
"height": 34 "height": 34
}, },
"outputId": "b86962da-b605-4a4c-cdc4-22337b6a589a" "outputId": "96886f3d-3f88-4392-df41-90514fe4b0bc"
}, },
"execution_count": null, "execution_count": 15,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
"name": "stdout", "name": "stdout",
"text": [ "text": [
"https://sf6v0yop3nm-496ff2e9c6d22116-13532-colab.googleusercontent.com/front/\n" "https://3lddbr773py-496ff2e9c6d22116-11741-colab.googleusercontent.com/front/\n"
] ]
} }
] ]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "Jos5WZHGmz4s"
},
"execution_count": null,
"outputs": []
} }
] ]
} }