mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
Colaboratory を使用して作成しました
This commit is contained in:
parent
c118572aae
commit
caff82a637
@ -5,7 +5,7 @@
|
||||
"colab": {
|
||||
"name": "VoiceChangerDemo",
|
||||
"provenance": [],
|
||||
"authorship_tag": "ABX9TyM3qbRFKy3uo9w3dqoPIKD4",
|
||||
"authorship_tag": "ABX9TyN+y1T1MS3ZgOANG4v8pjEP",
|
||||
"include_colab_link": true
|
||||
},
|
||||
"kernelspec": {
|
||||
@ -74,7 +74,7 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "vV1t7PBRm-o6",
|
||||
"outputId": "a7e63d28-9c42-41e3-c2fa-3ca4e48a4a26"
|
||||
"outputId": "d87ce1ad-decb-4589-b1d5-dc2d6d36415d"
|
||||
},
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
@ -82,7 +82,7 @@
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"Thu Jan 12 09:17:56 2023 \n",
|
||||
"Thu Jan 12 09:34:13 2023 \n",
|
||||
"+-----------------------------------------------------------------------------+\n",
|
||||
"| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n",
|
||||
"|-------------------------------+----------------------+----------------------+\n",
|
||||
@ -91,7 +91,7 @@
|
||||
"| | | MIG M. |\n",
|
||||
"|===============================+======================+======================|\n",
|
||||
"| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n",
|
||||
"| N/A 35C P8 9W / 70W | 0MiB / 15109MiB | 0% Default |\n",
|
||||
"| N/A 71C P8 13W / 70W | 0MiB / 15109MiB | 0% Default |\n",
|
||||
"| | | N/A |\n",
|
||||
"+-------------------------------+----------------------+----------------------+\n",
|
||||
" \n",
|
||||
@ -135,7 +135,7 @@
|
||||
"metadata": {
|
||||
"id": "nSXATMWYb4Ik"
|
||||
},
|
||||
"execution_count": 19,
|
||||
"execution_count": 2,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
@ -146,7 +146,7 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "2wxD-gRSMU5R",
|
||||
"outputId": "b61f5348-e0e7-436f-cd5d-7e507759e11c"
|
||||
"outputId": "6142b113-1ee8-4548-ae7f-9e32fe47d592"
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
@ -187,7 +187,7 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "86wTFmqsNMnD",
|
||||
"outputId": "a7c679fa-b792-49ef-d656-60f27c63e9e9"
|
||||
"outputId": "98890058-6301-4c50-8779-d7b5098cdb55"
|
||||
},
|
||||
"execution_count": 4,
|
||||
"outputs": [
|
||||
@ -200,15 +200,15 @@
|
||||
"remote: Counting objects: 100% (143/143), done.\u001b[K\n",
|
||||
"remote: Compressing objects: 100% (128/128), done.\u001b[K\n",
|
||||
"remote: Total 143 (delta 21), reused 57 (delta 5), pack-reused 0\u001b[K\n",
|
||||
"Receiving objects: 100% (143/143), 1.51 MiB | 2.50 MiB/s, done.\n",
|
||||
"Receiving objects: 100% (143/143), 1.51 MiB | 4.06 MiB/s, done.\n",
|
||||
"Resolving deltas: 100% (21/21), done.\n",
|
||||
"/content/voice-changer/server\n",
|
||||
"Cloning into 'MMVC_Trainer'...\n",
|
||||
"remote: Enumerating objects: 920, done.\u001b[K\n",
|
||||
"remote: Counting objects: 100% (920/920), done.\u001b[K\n",
|
||||
"remote: Compressing objects: 100% (830/830), done.\u001b[K\n",
|
||||
"remote: Total 920 (delta 4), reused 893 (delta 1), pack-reused 0\u001b[K\n",
|
||||
"Receiving objects: 100% (920/920), 53.04 MiB | 17.53 MiB/s, done.\n",
|
||||
"remote: Total 920 (delta 4), reused 891 (delta 1), pack-reused 0\u001b[K\n",
|
||||
"Receiving objects: 100% (920/920), 53.04 MiB | 16.74 MiB/s, done.\n",
|
||||
"Resolving deltas: 100% (4/4), done.\n",
|
||||
"Note: checking out 'f17c8c57d1ab7512633e6c57521f1eef6851bd0e'.\n",
|
||||
"\n",
|
||||
@ -287,16 +287,13 @@
|
||||
"**`INFO:root:Loaded checkpoint ...`**\n",
|
||||
"\n",
|
||||
"```\n",
|
||||
" warnings.warn(\n",
|
||||
" Phase name:__main__\n",
|
||||
" PHASE3:__main__\n",
|
||||
"VoiceChanger Initialized (GPU_NUM:1, mps_enabled:False)\n",
|
||||
"INFO:root:Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
" PHASE1:__main__\n",
|
||||
"Start MMVC SocketIO Server\n",
|
||||
" CONFIG:/content/drive/MyDrive/VoiceChanger/config.json, MODEL:/content/drive/MyDrive/VoiceChanger/G_326000.pth ONNX_MODEL:None\n",
|
||||
" Phase name:MMVCServerSIO\n",
|
||||
" PHASE3:MMVCServerSIO\n",
|
||||
"INFO:root:Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
" CONFIG:/content/drive/MyDrive/VoiceChanger/config.json, MODEL:None ONNX_MODEL:/content/drive/MyDrive/VoiceChanger/G_326000.onnx\n",
|
||||
"```\n",
|
||||
"\n"
|
||||
],
|
||||
@ -325,22 +322,10 @@
|
||||
"#print(f\"PORT:{PORT}, LOG_FILE:{LOG_FILE}\")"
|
||||
],
|
||||
"metadata": {
|
||||
"id": "iNOAB7zISI6J",
|
||||
"outputId": "99cdd34b-cc29-4b5f-c292-151c81caa721",
|
||||
"colab": {
|
||||
"base_uri": "https://localhost:8080/"
|
||||
}
|
||||
"id": "iNOAB7zISI6J"
|
||||
},
|
||||
"execution_count": 20,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"python3 MMVCServerSIO.py -t MMVC -p 16400 -c /content/drive/MyDrive/VoiceChanger/config.json -m /content/drive/MyDrive/VoiceChanger/G_326000.pth -o /content/drive/MyDrive/VoiceChanger/G_326000.onnx --colab True >LOG_FILE_16400 2>&1 &\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
"execution_count": 17,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
@ -353,24 +338,24 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "chu06KpAjEK6",
|
||||
"outputId": "99d8653d-5d4d-40bc-894f-60a43abf0442"
|
||||
"outputId": "8186d701-e52f-49b7-80b8-c71a90185ce2"
|
||||
},
|
||||
"execution_count": 13,
|
||||
"execution_count": 26,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"/usr/local/lib/python3.8/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py:54: UserWarning: Specified provider 'OpenVINOExecutionProvider' is not in available provider names.Available providers: 'TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider'\n",
|
||||
" warnings.warn(\n",
|
||||
"/usr/local/lib/python3.8/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py:54: UserWarning: Specified provider 'DmlExecutionProvider' is not in available provider names.Available providers: 'TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider'\n",
|
||||
" warnings.warn(\n",
|
||||
"\u001b[32m Phase name:__main__\u001b[0m\n",
|
||||
"\u001b[32m PHASE3:__main__\u001b[0m\n",
|
||||
"VoiceChanger Initialized (GPU_NUM:1, mps_enabled:False)\n",
|
||||
"INFO:root:Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
"\u001b[32m PHASE1:__main__\u001b[0m\n",
|
||||
"\u001b[17mStart MMVC SocketIO Server\u001b[0m\n",
|
||||
"\u001b[34m CONFIG:/content/drive/MyDrive/VoiceChanger/config.json, MODEL:/content/drive/MyDrive/VoiceChanger/G_326000.pth ONNX_MODEL:None\u001b[0m\n",
|
||||
"\u001b[32m Phase name:MMVCServerSIO\u001b[0m\n",
|
||||
"\u001b[32m PHASE3:MMVCServerSIO\u001b[0m\n",
|
||||
"INFO:root:Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n"
|
||||
"\u001b[34m CONFIG:/content/drive/MyDrive/VoiceChanger/config.json, MODEL:None ONNX_MODEL:/content/drive/MyDrive/VoiceChanger/G_326000.onnx\u001b[0m\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -395,7 +380,7 @@
|
||||
"# (7) プロキシを起動\n",
|
||||
"from google.colab.output import eval_js\n",
|
||||
"proxy = eval_js( \"google.colab.kernel.proxyPort(\" + str(PORT) + \")\" )\n",
|
||||
"print(f\"{proxy}front/\")"
|
||||
"print(f\"{proxy}front/?colab=true\")"
|
||||
],
|
||||
"metadata": {
|
||||
"id": "nkRjZm95l87C",
|
||||
@ -403,15 +388,15 @@
|
||||
"base_uri": "https://localhost:8080/",
|
||||
"height": 34
|
||||
},
|
||||
"outputId": "2655ef55-c474-4609-e1b5-6a316dfd4a2c"
|
||||
"outputId": "fd12861a-5d2e-4d7c-cb8d-ec339abe671b"
|
||||
},
|
||||
"execution_count": 14,
|
||||
"execution_count": 28,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"https://q27c1y5n1t-496ff2e9c6d22116-13348-colab.googleusercontent.com/front/\n"
|
||||
"https://ta48o8p4y4e-496ff2e9c6d22116-16132-colab.googleusercontent.com/front/?colab=true\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user