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

This commit is contained in:
w-okada 2023-01-14 19:54:40 +09:00
parent 485392f705
commit 0680da980f

View File

@ -4,7 +4,7 @@
"metadata": { "metadata": {
"colab": { "colab": {
"provenance": [], "provenance": [],
"authorship_tag": "ABX9TyPil77mdDP/EcndzrT40C2K", "authorship_tag": "ABX9TyMvlihfFf4Lya4Hh98XmoBI",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {
@ -73,7 +73,7 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "vV1t7PBRm-o6", "id": "vV1t7PBRm-o6",
"outputId": "0780c5df-36cf-4f84-9a63-3669212d2769" "outputId": "03507075-369d-4dc6-9b34-dfc37a5dcf6d"
}, },
"execution_count": 1, "execution_count": 1,
"outputs": [ "outputs": [
@ -81,7 +81,7 @@
"output_type": "stream", "output_type": "stream",
"name": "stdout", "name": "stdout",
"text": [ "text": [
"Fri Jan 13 22:07:27 2023 \n", "Sat Jan 14 10:48:43 2023 \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",
@ -90,7 +90,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 40C P8 9W / 70W | 0MiB / 15109MiB | 0% Default |\n", "| N/A 47C P8 10W / 70W | 0MiB / 15109MiB | 0% Default |\n",
"| | | N/A |\n", "| | | N/A |\n",
"+-------------------------------+----------------------+----------------------+\n", "+-------------------------------+----------------------+----------------------+\n",
" \n", " \n",
@ -119,7 +119,7 @@
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"# (2) リポジトリのクローン\n", "# (2) リポジトリのクローン\n",
"!git clone --depth 1 https://github.com/w-okada/voice-changer.git -b v.1.3.4\n", "!git clone --depth 1 https://github.com/w-okada/voice-changer.git -b v.1.3.5\n",
"%cd voice-changer/server\n", "%cd voice-changer/server\n",
"!git clone https://github.com/isletennos/MMVC_Client.git\n", "!git clone https://github.com/isletennos/MMVC_Client.git\n",
"!cd MMVC_Client && git checkout 04f3fec4fd82dea6657026ec4e1cd80fb29a415c && cd -\n" "!cd MMVC_Client && git checkout 04f3fec4fd82dea6657026ec4e1cd80fb29a415c && cd -\n"
@ -129,7 +129,7 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "86wTFmqsNMnD", "id": "86wTFmqsNMnD",
"outputId": "fd283f8e-48a9-4dcb-e017-8e125a5f6000" "outputId": "d65ffce7-99a5-4cb6-b7bd-cb7cff7f3eb3"
}, },
"execution_count": 2, "execution_count": 2,
"outputs": [ "outputs": [
@ -138,20 +138,31 @@
"name": "stdout", "name": "stdout",
"text": [ "text": [
"Cloning into 'voice-changer'...\n", "Cloning into 'voice-changer'...\n",
"remote: Enumerating objects: 144, done.\u001b[K\n", "remote: Enumerating objects: 149, done.\u001b[K\n",
"remote: Counting objects: 100% (144/144), done.\u001b[K\n", "remote: Counting objects: 100% (149/149), done.\u001b[K\n",
"remote: Compressing objects: 100% (129/129), done.\u001b[K\n", "remote: Compressing objects: 100% (134/134), done.\u001b[K\n",
"remote: Total 144 (delta 20), reused 62 (delta 5), pack-reused 0\u001b[K\n", "remote: Total 149 (delta 20), reused 64 (delta 5), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (144/144), 1.52 MiB | 4.11 MiB/s, done.\n", "Receiving objects: 100% (149/149), 1.56 MiB | 4.17 MiB/s, done.\n",
"Resolving deltas: 100% (20/20), done.\n", "Resolving deltas: 100% (20/20), done.\n",
"Note: checking out '4c6f7c00fa68d91e1ccdb07b7c35ce603b6b0ab2'.\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",
"/content/voice-changer/server\n", "/content/voice-changer/server\n",
"Cloning into 'MMVC_Client'...\n", "Cloning into 'MMVC_Client'...\n",
"remote: Enumerating objects: 594, done.\u001b[K\n", "remote: Enumerating objects: 594, done.\u001b[K\n",
"remote: Counting objects: 100% (320/320), done.\u001b[K\n", "remote: Counting objects: 100% (322/322), done.\u001b[K\n",
"remote: Compressing objects: 100% (114/114), done.\u001b[K\n", "remote: Compressing objects: 100% (114/114), done.\u001b[K\n",
"remote: Total 594 (delta 229), reused 261 (delta 203), pack-reused 274\u001b[K\n", "remote: Total 594 (delta 231), reused 263 (delta 205), pack-reused 272\u001b[K\n",
"Receiving objects: 100% (594/594), 738.87 KiB | 23.83 MiB/s, done.\n", "Receiving objects: 100% (594/594), 776.40 KiB | 6.87 MiB/s, done.\n",
"Resolving deltas: 100% (351/351), done.\n", "Resolving deltas: 100% (352/352), done.\n",
"Note: checking out '04f3fec4fd82dea6657026ec4e1cd80fb29a415c'.\n", "Note: checking out '04f3fec4fd82dea6657026ec4e1cd80fb29a415c'.\n",
"\n", "\n",
"You are in 'detached HEAD' state. You can look around, make experimental\n", "You are in 'detached HEAD' state. You can look around, make experimental\n",
@ -215,10 +226,8 @@
"**`DEBUG:asyncio:Using selector: EpollSelector`**\n", "**`DEBUG:asyncio:Using selector: EpollSelector`**\n",
"\n", "\n",
"```\n", "```\n",
" Phase name:__main__\n", " Voice Changerを起動しています。\n",
" PHASE3:__main__\n", " -- 設定 -- \n",
" PHASE1:__main__\n",
"Start MMVC SocketIO Server\n",
" CONFIG:None, MODEL:None ONNX_MODEL:None\n", " CONFIG:None, MODEL:None ONNX_MODEL:None\n",
"```\n", "```\n",
"\n" "\n"
@ -235,13 +244,13 @@
"PORT = 10000 + random.randint(1, 9999)\n", "PORT = 10000 + random.randint(1, 9999)\n",
"LOG_FILE = f\"LOG_FILE_{PORT}\"\n", "LOG_FILE = f\"LOG_FILE_{PORT}\"\n",
"\n", "\n",
"get_ipython().system_raw(f'python3 MMVCServerSIO.py -t MMVC -p {PORT} --colab True >{LOG_FILE} 2>&1 &')\n", "get_ipython().system_raw(f'python3 MMVCServerSIO.py -t MMVC -p {PORT} --https False --colab True >{LOG_FILE} 2>&1 &')\n",
"#print(f\"PORT:{PORT}, LOG_FILE:{LOG_FILE}\")" "#print(f\"PORT:{PORT}, LOG_FILE:{LOG_FILE}\")"
], ],
"metadata": { "metadata": {
"id": "G-nMdPxEW1rc" "id": "G-nMdPxEW1rc"
}, },
"execution_count": 4, "execution_count": 7,
"outputs": [] "outputs": []
}, },
{ {
@ -256,18 +265,16 @@
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, },
"id": "chu06KpAjEK6", "id": "chu06KpAjEK6",
"outputId": "e8fa0415-b475-4fdf-ab49-3c363e3c2308" "outputId": "b7e4b74e-2712-41a0-95ad-cfc6f65f5f7c"
}, },
"execution_count": 5, "execution_count": 10,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
"name": "stdout", "name": "stdout",
"text": [ "text": [
"\u001b[32m Phase name:__main__\u001b[0m\n", "\u001b[32m Voice Changerを起動しています。\u001b[0m\n",
"\u001b[32m PHASE3:__main__\u001b[0m\n", "\u001b[34m -- 設定 -- \u001b[0m\n",
"\u001b[32m PHASE1:__main__\u001b[0m\n",
"\u001b[17mStart MMVC SocketIO Server\u001b[0m\n",
"\u001b[34m CONFIG:None, MODEL:None ONNX_MODEL:None\u001b[0m\n" "\u001b[34m CONFIG:None, MODEL:None ONNX_MODEL:None\u001b[0m\n"
] ]
} }
@ -301,15 +308,15 @@
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
"height": 34 "height": 34
}, },
"outputId": "0de89da0-9ce9-4cc0-8070-166441a06fb7" "outputId": "0630d9ea-3dd4-422f-ebd0-a5930edb3b07"
}, },
"execution_count": 6, "execution_count": 9,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
"name": "stdout", "name": "stdout",
"text": [ "text": [
"https://v8lm07nxaxe-496ff2e9c6d22116-10766-colab.googleusercontent.com/front/?colab=true\n" "https://1ipsaxpb34k-496ff2e9c6d22116-17980-colab.googleusercontent.com/front/?colab=true\n"
] ]
} }
] ]
@ -320,7 +327,7 @@
"metadata": { "metadata": {
"id": "axkt5BjhoiPV" "id": "axkt5BjhoiPV"
}, },
"execution_count": null, "execution_count": 6,
"outputs": [] "outputs": []
} }
] ]