Skip to content

Commit

Permalink
Colaboratory を使用して作成しました
Browse files Browse the repository at this point in the history
  • Loading branch information
w-okada committed Dec 3, 2022
1 parent 24f3a26 commit 9e045af
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions VoiceChangerDemo_Simple.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"collapsed_sections": [],
"authorship_tag": "ABX9TyP+8wuzHi5QO4OKLKxFI1U3",
"authorship_tag": "ABX9TyOL/hH+LGuhA9XalSAtP6Ya",
"include_colab_link": true
},
"kernelspec": {
Expand Down Expand Up @@ -74,15 +73,15 @@
"base_uri": "https://localhost:8080/"
},
"id": "vV1t7PBRm-o6",
"outputId": "f4ca1ec9-f3d1-4460-9bba-037c8e64d52b"
"outputId": "f5fde405-cace-4c0e-a8b0-ff8833f8095c"
},
"execution_count": 1,
"outputs": [
{
"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",
Expand All @@ -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",
Expand Down Expand Up @@ -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"
],
Expand All @@ -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": [
Expand All @@ -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",
Expand All @@ -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"
]
}
Expand Down Expand Up @@ -251,17 +254,17 @@
"cell_type": "code",
"source": [
"# (4-2) サーバの起動確認\n",
"!sleep 5\n",
"!sleep 10\n",
"!tail -20 {LOG_FILE}"
],
"metadata": {
"colab": {
"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",
Expand Down Expand Up @@ -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"
]
}
]
Expand Down

0 comments on commit 9e045af

Please sign in to comment.