mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-13 19:34:02 +03:00
Colaboratory を使用して作成しました
This commit is contained in:
parent
de5fc89024
commit
ff4ad07b3e
@ -6,7 +6,7 @@
|
||||
"name": "VoiceChangerDemo",
|
||||
"provenance": [],
|
||||
"collapsed_sections": [],
|
||||
"authorship_tag": "ABX9TyNsebbGTAbXg9EaDMhWvvBh",
|
||||
"authorship_tag": "ABX9TyOqAC5jM8X3OXyG33Xs6lZ3",
|
||||
"include_colab_link": true
|
||||
},
|
||||
"kernelspec": {
|
||||
@ -75,15 +75,15 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "vV1t7PBRm-o6",
|
||||
"outputId": "5f5c582b-08f3-4575-db1e-6524a16fbc30"
|
||||
"outputId": "a0132696-071b-431b-8b6b-ce7665587dfb"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"Wed Aug 31 06:47:03 2022 \n",
|
||||
"Fri Sep 2 03:08:06 2022 \n",
|
||||
"+-----------------------------------------------------------------------------+\n",
|
||||
"| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |\n",
|
||||
"|-------------------------------+----------------------+----------------------+\n",
|
||||
@ -92,7 +92,7 @@
|
||||
"| | | MIG M. |\n",
|
||||
"|===============================+======================+======================|\n",
|
||||
"| 0 Tesla T4 Off | 00000000:00:04.0 Off | 0 |\n",
|
||||
"| N/A 47C P8 9W / 70W | 0MiB / 15109MiB | 0% Default |\n",
|
||||
"| N/A 57C P8 11W / 70W | 0MiB / 15109MiB | 0% Default |\n",
|
||||
"| | | N/A |\n",
|
||||
"+-------------------------------+----------------------+----------------------+\n",
|
||||
" \n",
|
||||
@ -130,18 +130,18 @@
|
||||
"metadata": {
|
||||
"id": "nSXATMWYb4Ik"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 2,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 3,
|
||||
"metadata": {
|
||||
"colab": {
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "2wxD-gRSMU5R",
|
||||
"outputId": "22755d32-b29f-4bc5-b674-6443ca45d184"
|
||||
"outputId": "3541bafd-bc9a-447f-fae7-45d301c4f950"
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
@ -180,21 +180,21 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "86wTFmqsNMnD",
|
||||
"outputId": "078feaed-9b1a-4946-f1e8-0a87d447e392"
|
||||
"outputId": "d27d12ec-482b-43bf-89a1-6ef3a1697d51"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 4,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"Cloning into 'voice-changer'...\n",
|
||||
"remote: Enumerating objects: 276, done.\u001b[K\n",
|
||||
"remote: Counting objects: 100% (276/276), done.\u001b[K\n",
|
||||
"remote: Compressing objects: 100% (195/195), done.\u001b[K\n",
|
||||
"remote: Total 276 (delta 127), reused 200 (delta 69), pack-reused 0\u001b[K\n",
|
||||
"Receiving objects: 100% (276/276), 19.11 MiB | 30.11 MiB/s, done.\n",
|
||||
"Resolving deltas: 100% (127/127), done.\n",
|
||||
"remote: Enumerating objects: 354, done.\u001b[K\n",
|
||||
"remote: Counting objects: 100% (76/76), done.\u001b[K\n",
|
||||
"remote: Compressing objects: 100% (59/59), done.\u001b[K\n",
|
||||
"remote: Total 354 (delta 29), reused 40 (delta 17), pack-reused 278\u001b[K\n",
|
||||
"Receiving objects: 100% (354/354), 20.87 MiB | 29.89 MiB/s, done.\n",
|
||||
"Resolving deltas: 100% (165/165), done.\n",
|
||||
"/content/voice-changer/demo\n"
|
||||
]
|
||||
}
|
||||
@ -225,16 +225,15 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "uCEKf3_JNoyq",
|
||||
"outputId": "fd4efece-deaa-4766-a5c1-c6866eb5ffe1"
|
||||
"outputId": "02cd1120-18e0-4f21-e18f-709d5a47dbdd"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 5,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"assets\t coffee.png index.html index.js.LICENSE.txt\n",
|
||||
"audiolet favicon.ico index.js\n"
|
||||
"assets\tcoffee.png favicon.ico index.html index.js index.js.LICENSE.txt\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -248,7 +247,7 @@
|
||||
"metadata": {
|
||||
"id": "Bn4kV8TgXp8i"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 6,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
@ -262,9 +261,9 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "pjxPsOOaXXTj",
|
||||
"outputId": "99ad8af6-d4d0-4ba1-c5fe-a5c701b38a0a"
|
||||
"outputId": "737a639b-3cf6-4ce1-84e0-27ad88f252d0"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 7,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
@ -273,13 +272,13 @@
|
||||
"{\n",
|
||||
" \"app_title\": \"voice-changer\",\n",
|
||||
" \"majar_mode\": \"colab\",\n",
|
||||
" \"voice_changer_server_url\": \"http://localhost:8080/test\",\n",
|
||||
" \"voice_changer_server_url\": \"./test\",\n",
|
||||
" \"sample_rate\": 48000,\n",
|
||||
" \"buffer_size\": 1024,\n",
|
||||
" \"prefix_chunk_size\": 24,\n",
|
||||
" \"chunk_size\": 24,\n",
|
||||
" \"speaker_ids\": [100, 107, 101, 102, 103],\n",
|
||||
" \"speaker_names\": [\"ずんだもん\", \"user\", \"そら\", \"めたん\", \"つぐみ\"],\n",
|
||||
" \"speaker_names\": [\"ずんだもん\", \"user\", \"そら\", \"めたん\", \"つむぎ\"],\n",
|
||||
" \"src_id\": 107,\n",
|
||||
" \"dst_id\": 100,\n",
|
||||
" \"vf_enable\": true,\n",
|
||||
@ -287,6 +286,7 @@
|
||||
" \"gpu\": 0,\n",
|
||||
" \"available_gpus\": [-1, 0, 1, 2, 3, 4],\n",
|
||||
" \"avatar\": {\n",
|
||||
" \"enable_avatar\": true, \n",
|
||||
" \"motion_capture_face\": true,\n",
|
||||
" \"motion_capture_upperbody\": true,\n",
|
||||
" \"lip_overwrite_with_voice\": true,\n",
|
||||
@ -302,7 +302,8 @@
|
||||
" \"screen_draw_skip_rate\": 3,\n",
|
||||
" \"visualizer_draw_skip_rate\": 3,\n",
|
||||
" \"cross_fade_lower_value\": 0.1,\n",
|
||||
" \"cross_fade_overlap_rate\": 0.03\n",
|
||||
" \"cross_fade_offset_rate\": 0.3,\n",
|
||||
" \"cross_fade_end_rate\": 0.6\n",
|
||||
" }\n",
|
||||
"}\n"
|
||||
]
|
||||
@ -339,9 +340,9 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "LwZAAuqxX7yY",
|
||||
"outputId": "d45cbfdf-27aa-4a00-baee-a6e6e5646a01"
|
||||
"outputId": "6954acda-444b-4398-df43-9cc33345f98e"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 8,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
@ -366,9 +367,9 @@
|
||||
"Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 espeak-data amd64 1.48.04+dfsg-5 [934 kB]\n",
|
||||
"Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libespeak1 amd64 1.48.04+dfsg-5 [145 kB]\n",
|
||||
"Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 espeak amd64 1.48.04+dfsg-5 [61.6 kB]\n",
|
||||
"Fetched 1,219 kB in 1s (1,125 kB/s)\n",
|
||||
"Fetched 1,219 kB in 0s (3,967 kB/s)\n",
|
||||
"Selecting previously unselected package libportaudio2:amd64.\n",
|
||||
"(Reading database ... 155676 files and directories currently installed.)\n",
|
||||
"(Reading database ... 155685 files and directories currently installed.)\n",
|
||||
"Preparing to unpack .../libportaudio2_19.6.0-1_amd64.deb ...\n",
|
||||
"Unpacking libportaudio2:amd64 (19.6.0-1) ...\n",
|
||||
"Selecting previously unselected package libsonic0:amd64.\n",
|
||||
@ -393,77 +394,77 @@
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Requirement already satisfied: flask in /usr/local/lib/python3.7/dist-packages (1.1.4)\n",
|
||||
"Requirement already satisfied: Werkzeug<2.0,>=0.15 in /usr/local/lib/python3.7/dist-packages (from flask) (1.0.1)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask) (2.11.3)\n",
|
||||
"Requirement already satisfied: click<8.0,>=5.1 in /usr/local/lib/python3.7/dist-packages (from flask) (7.1.2)\n",
|
||||
"Requirement already satisfied: itsdangerous<2.0,>=0.24 in /usr/local/lib/python3.7/dist-packages (from flask) (1.1.0)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask) (2.11.3)\n",
|
||||
"Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2<3.0,>=2.10.1->flask) (2.0.1)\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting python-socketio\n",
|
||||
" Downloading python_socketio-5.7.1-py3-none-any.whl (56 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 56 kB 2.6 MB/s \n",
|
||||
"\u001b[K |████████████████████████████████| 56 kB 2.8 MB/s \n",
|
||||
"\u001b[?25hCollecting python-engineio>=4.3.0\n",
|
||||
" Downloading python_engineio-4.3.4-py3-none-any.whl (52 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 52 kB 1.6 MB/s \n",
|
||||
"\u001b[?25hCollecting bidict>=0.21.0\n",
|
||||
" Downloading bidict-0.22.0-py3-none-any.whl (36 kB)\n",
|
||||
"Collecting python-engineio>=4.3.0\n",
|
||||
" Downloading python_engineio-4.3.4-py3-none-any.whl (52 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 52 kB 1.8 MB/s \n",
|
||||
"\u001b[?25hInstalling collected packages: python-engineio, bidict, python-socketio\n",
|
||||
"Installing collected packages: python-engineio, bidict, python-socketio\n",
|
||||
"Successfully installed bidict-0.22.0 python-engineio-4.3.4 python-socketio-5.7.1\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting eventlet\n",
|
||||
" Downloading eventlet-0.33.1-py2.py3-none-any.whl (226 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 226 kB 4.7 MB/s \n",
|
||||
"\u001b[?25hCollecting dnspython>=1.15.0\n",
|
||||
"\u001b[K |████████████████████████████████| 226 kB 5.0 MB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: greenlet>=0.3 in /usr/local/lib/python3.7/dist-packages (from eventlet) (1.1.3)\n",
|
||||
"Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/dist-packages (from eventlet) (1.15.0)\n",
|
||||
"Collecting dnspython>=1.15.0\n",
|
||||
" Downloading dnspython-2.2.1-py3-none-any.whl (269 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 269 kB 55.9 MB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/dist-packages (from eventlet) (1.15.0)\n",
|
||||
"Requirement already satisfied: greenlet>=0.3 in /usr/local/lib/python3.7/dist-packages (from eventlet) (1.1.3)\n",
|
||||
"Installing collected packages: dnspython, eventlet\n",
|
||||
"\u001b[K |████████████████████████████████| 269 kB 68.3 MB/s \n",
|
||||
"\u001b[?25hInstalling collected packages: dnspython, eventlet\n",
|
||||
"Successfully installed dnspython-2.2.1 eventlet-0.33.1\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting unidecode\n",
|
||||
" Downloading Unidecode-1.3.4-py3-none-any.whl (235 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 235 kB 4.7 MB/s \n",
|
||||
"\u001b[K |████████████████████████████████| 235 kB 5.0 MB/s \n",
|
||||
"\u001b[?25hInstalling collected packages: unidecode\n",
|
||||
"Successfully installed unidecode-1.3.4\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting phonemizer\n",
|
||||
" Downloading phonemizer-3.2.1-py3-none-any.whl (90 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 90 kB 4.2 MB/s \n",
|
||||
"\u001b[?25hCollecting dlinfo\n",
|
||||
" Downloading dlinfo-1.2.1-py3-none-any.whl (3.6 kB)\n",
|
||||
"Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from phonemizer) (4.1.1)\n",
|
||||
"Requirement already satisfied: attrs>=18.1 in /usr/local/lib/python3.7/dist-packages (from phonemizer) (22.1.0)\n",
|
||||
"Collecting segments\n",
|
||||
"\u001b[K |████████████████████████████████| 90 kB 3.9 MB/s \n",
|
||||
"\u001b[?25hCollecting segments\n",
|
||||
" Downloading segments-2.2.1-py2.py3-none-any.whl (15 kB)\n",
|
||||
"Collecting dlinfo\n",
|
||||
" Downloading dlinfo-1.2.1-py3-none-any.whl (3.6 kB)\n",
|
||||
"Requirement already satisfied: joblib in /usr/local/lib/python3.7/dist-packages (from phonemizer) (1.1.0)\n",
|
||||
"Requirement already satisfied: regex in /usr/local/lib/python3.7/dist-packages (from segments->phonemizer) (2022.6.2)\n",
|
||||
"Collecting clldutils>=1.7.3\n",
|
||||
" Downloading clldutils-3.12.0-py2.py3-none-any.whl (197 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 197 kB 25.8 MB/s \n",
|
||||
"\u001b[?25hCollecting csvw>=1.5.6\n",
|
||||
"Requirement already satisfied: attrs>=18.1 in /usr/local/lib/python3.7/dist-packages (from phonemizer) (22.1.0)\n",
|
||||
"Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from phonemizer) (4.1.1)\n",
|
||||
"Collecting csvw>=1.5.6\n",
|
||||
" Downloading csvw-3.1.1-py2.py3-none-any.whl (56 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 56 kB 5.7 MB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from clldutils>=1.7.3->segments->phonemizer) (2.8.2)\n",
|
||||
"\u001b[K |████████████████████████████████| 56 kB 4.8 MB/s \n",
|
||||
"\u001b[?25hCollecting clldutils>=1.7.3\n",
|
||||
" Downloading clldutils-3.12.0-py2.py3-none-any.whl (197 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 197 kB 29.3 MB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: regex in /usr/local/lib/python3.7/dist-packages (from segments->phonemizer) (2022.6.2)\n",
|
||||
"Collecting colorlog\n",
|
||||
" Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)\n",
|
||||
"Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from clldutils>=1.7.3->segments->phonemizer) (2.8.2)\n",
|
||||
"Requirement already satisfied: tabulate>=0.7.7 in /usr/local/lib/python3.7/dist-packages (from clldutils>=1.7.3->segments->phonemizer) (0.8.10)\n",
|
||||
"Collecting language-tags\n",
|
||||
" Downloading language_tags-1.1.0-py2.py3-none-any.whl (210 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 210 kB 67.8 MB/s \n",
|
||||
"\u001b[?25hCollecting colorama\n",
|
||||
"Collecting colorama\n",
|
||||
" Downloading colorama-0.4.5-py2.py3-none-any.whl (16 kB)\n",
|
||||
"Requirement already satisfied: babel in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (2.10.3)\n",
|
||||
"Collecting rdflib\n",
|
||||
" Downloading rdflib-6.2.0-py3-none-any.whl (500 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 500 kB 62.5 MB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: jsonschema in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (4.3.3)\n",
|
||||
"Requirement already satisfied: jsonschema in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (4.3.3)\n",
|
||||
"Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (2.23.0)\n",
|
||||
"Collecting isodate\n",
|
||||
" Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 41 kB 735 kB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (2.23.0)\n",
|
||||
"Requirement already satisfied: uritemplate>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (3.0.1)\n",
|
||||
"Collecting rfc3986<2\n",
|
||||
"\u001b[K |████████████████████████████████| 41 kB 608 kB/s \n",
|
||||
"\u001b[?25hRequirement already satisfied: babel in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (2.10.3)\n",
|
||||
"Collecting rdflib\n",
|
||||
" Downloading rdflib-6.2.0-py3-none-any.whl (500 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 500 kB 61.6 MB/s \n",
|
||||
"\u001b[?25hCollecting language-tags\n",
|
||||
" Downloading language_tags-1.1.0-py2.py3-none-any.whl (210 kB)\n",
|
||||
"\u001b[K |████████████████████████████████| 210 kB 70.9 MB/s \n",
|
||||
"\u001b[?25hCollecting rfc3986<2\n",
|
||||
" Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)\n",
|
||||
"Requirement already satisfied: uritemplate>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from csvw>=1.5.6->segments->phonemizer) (3.0.1)\n",
|
||||
"Requirement already satisfied: pytz>=2015.7 in /usr/local/lib/python3.7/dist-packages (from babel->csvw>=1.5.6->segments->phonemizer) (2022.2.1)\n",
|
||||
"Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from isodate->csvw>=1.5.6->segments->phonemizer) (1.15.0)\n",
|
||||
"Requirement already satisfied: importlib-resources>=1.4.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer) (5.9.0)\n",
|
||||
@ -472,35 +473,35 @@
|
||||
"Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from importlib-resources>=1.4.0->jsonschema->csvw>=1.5.6->segments->phonemizer) (3.8.1)\n",
|
||||
"Requirement already satisfied: pyparsing in /usr/local/lib/python3.7/dist-packages (from rdflib->csvw>=1.5.6->segments->phonemizer) (3.0.9)\n",
|
||||
"Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from rdflib->csvw>=1.5.6->segments->phonemizer) (57.4.0)\n",
|
||||
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (1.24.3)\n",
|
||||
"Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (3.0.4)\n",
|
||||
"Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (2.10)\n",
|
||||
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (2022.6.15)\n",
|
||||
"Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (3.0.4)\n",
|
||||
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->csvw>=1.5.6->segments->phonemizer) (1.24.3)\n",
|
||||
"Installing collected packages: isodate, rfc3986, rdflib, language-tags, colorama, csvw, colorlog, clldutils, segments, dlinfo, phonemizer\n",
|
||||
"Successfully installed clldutils-3.12.0 colorama-0.4.5 colorlog-6.7.0 csvw-3.1.1 dlinfo-1.2.1 isodate-0.6.1 language-tags-1.1.0 phonemizer-3.2.1 rdflib-6.2.0 rfc3986-1.5.0 segments-2.2.1\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting retry\n",
|
||||
" Downloading retry-0.9.2-py2.py3-none-any.whl (8.0 kB)\n",
|
||||
"Requirement already satisfied: decorator>=3.4.2 in /usr/local/lib/python3.7/dist-packages (from retry) (4.4.2)\n",
|
||||
"Requirement already satisfied: py<2.0.0,>=1.4.26 in /usr/local/lib/python3.7/dist-packages (from retry) (1.11.0)\n",
|
||||
"Requirement already satisfied: decorator>=3.4.2 in /usr/local/lib/python3.7/dist-packages (from retry) (4.4.2)\n",
|
||||
"Installing collected packages: retry\n",
|
||||
"Successfully installed retry-0.9.2\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Requirement already satisfied: flask in /usr/local/lib/python3.7/dist-packages (1.1.4)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask) (2.11.3)\n",
|
||||
"Requirement already satisfied: click<8.0,>=5.1 in /usr/local/lib/python3.7/dist-packages (from flask) (7.1.2)\n",
|
||||
"Requirement already satisfied: itsdangerous<2.0,>=0.24 in /usr/local/lib/python3.7/dist-packages (from flask) (1.1.0)\n",
|
||||
"Requirement already satisfied: Werkzeug<2.0,>=0.15 in /usr/local/lib/python3.7/dist-packages (from flask) (1.0.1)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from flask) (2.11.3)\n",
|
||||
"Requirement already satisfied: itsdangerous<2.0,>=0.24 in /usr/local/lib/python3.7/dist-packages (from flask) (1.1.0)\n",
|
||||
"Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2<3.0,>=2.10.1->flask) (2.0.1)\n",
|
||||
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
||||
"Collecting flask_cors\n",
|
||||
" Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)\n",
|
||||
"Requirement already satisfied: Six in /usr/local/lib/python3.7/dist-packages (from flask_cors) (1.15.0)\n",
|
||||
"Requirement already satisfied: Flask>=0.9 in /usr/local/lib/python3.7/dist-packages (from flask_cors) (1.1.4)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (2.11.3)\n",
|
||||
"Requirement already satisfied: Werkzeug<2.0,>=0.15 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (1.0.1)\n",
|
||||
"Requirement already satisfied: click<8.0,>=5.1 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (7.1.2)\n",
|
||||
"Requirement already satisfied: Six in /usr/local/lib/python3.7/dist-packages (from flask_cors) (1.15.0)\n",
|
||||
"Requirement already satisfied: itsdangerous<2.0,>=0.24 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (1.1.0)\n",
|
||||
"Requirement already satisfied: click<8.0,>=5.1 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (7.1.2)\n",
|
||||
"Requirement already satisfied: Werkzeug<2.0,>=0.15 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (1.0.1)\n",
|
||||
"Requirement already satisfied: Jinja2<3.0,>=2.10.1 in /usr/local/lib/python3.7/dist-packages (from Flask>=0.9->flask_cors) (2.11.3)\n",
|
||||
"Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2<3.0,>=2.10.1->Flask>=0.9->flask_cors) (2.0.1)\n",
|
||||
"Installing collected packages: flask-cors\n",
|
||||
"Successfully installed flask-cors-3.0.10\n"
|
||||
@ -556,7 +557,7 @@
|
||||
"metadata": {
|
||||
"id": "iNOAB7zISI6J"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 9,
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
@ -570,30 +571,30 @@
|
||||
"base_uri": "https://localhost:8080/"
|
||||
},
|
||||
"id": "chu06KpAjEK6",
|
||||
"outputId": "2f203b23-54a3-4d0b-e173-c8f2628c0dd0"
|
||||
"outputId": "c7c09b45-66a8-4e2e-82ad-4bd802c19c01"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 18,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"name": "stdout",
|
||||
"text": [
|
||||
"[2022-08-31 06:48:38,064] INFO in serverFlask: INITIALIZE MODEL\n",
|
||||
"[2022-08-31 06:48:45,660] INFO in utils: Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
"[2022-08-31 06:48:57,329] INFO in serverFlask: START APP\n",
|
||||
"[2022-09-02 03:09:26,807] INFO in serverFlask: INITIALIZE MODEL\n",
|
||||
"[2022-09-02 03:09:32,030] INFO in utils: Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
"[2022-09-02 03:09:44,106] INFO in serverFlask: START APP\n",
|
||||
"GPU_NUM: 1\n",
|
||||
" * Serving Flask app \"serverFlask\" (lazy loading)\n",
|
||||
" * Environment: production\n",
|
||||
" WARNING: This is a development server. Do not use it in a production deployment.\n",
|
||||
" Use a production WSGI server instead.\n",
|
||||
" * Debug mode: on\n",
|
||||
"[2022-08-31 06:48:57,336] INFO in _internal: * Running on http://0.0.0.0:8082/ (Press CTRL+C to quit)\n",
|
||||
"[2022-08-31 06:48:57,337] INFO in _internal: * Restarting with stat\n",
|
||||
"[2022-08-31 06:48:59,283] INFO in serverFlask: INITIALIZE MODEL\n",
|
||||
"[2022-08-31 06:49:01,125] INFO in utils: Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
"[2022-08-31 06:49:04,996] INFO in serverFlask: START APP\n",
|
||||
"[2022-08-31 06:49:05,002] WARNING in _internal: * Debugger is active!\n",
|
||||
"[2022-08-31 06:49:05,074] INFO in _internal: * Debugger PIN: 879-442-767\n"
|
||||
"[2022-09-02 03:09:44,114] INFO in _internal: * Running on http://0.0.0.0:8082/ (Press CTRL+C to quit)\n",
|
||||
"[2022-09-02 03:09:44,115] INFO in _internal: * Restarting with stat\n",
|
||||
"[2022-09-02 03:09:45,942] INFO in serverFlask: INITIALIZE MODEL\n",
|
||||
"[2022-09-02 03:09:47,689] INFO in utils: Loaded checkpoint '/content/drive/MyDrive/VoiceChanger/G_326000.pth' (iteration 1136)\n",
|
||||
"[2022-09-02 03:09:51,469] INFO in serverFlask: START APP\n",
|
||||
"[2022-09-02 03:09:51,474] WARNING in _internal: * Debugger is active!\n",
|
||||
"[2022-09-02 03:09:51,544] INFO in _internal: * Debugger PIN: 334-166-753\n"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -604,17 +605,9 @@
|
||||
"# プロキシを起動\n",
|
||||
"ウェブサーバへのアクセスをするためのプロキシを起動します。\n",
|
||||
"\n",
|
||||
"表示されたURLをクリックして開くと、\n",
|
||||
"表示されたURLをクリックして開くと別タブでアプリが開きます。\n",
|
||||
"\n",
|
||||
"**うまくページが表示されていないと思います**。\n",
|
||||
"\n",
|
||||
"また、アドレスバーには\"localhost\"とは異なるURLが表示されていると思います。\n",
|
||||
"\n",
|
||||
"**そのURLの末尾に/index.htmlを追加してアクセス**\n",
|
||||
"\n",
|
||||
"しなおしてください。\n",
|
||||
"\n",
|
||||
"ちなみに、Colabなので、ロードにある程度時間がかかります(30秒くらい)。"
|
||||
"Colabなので、ロードにある程度時間がかかります(30秒くらい)。"
|
||||
],
|
||||
"metadata": {
|
||||
"id": "WhxcFLQEpctq"
|
||||
@ -634,9 +627,9 @@
|
||||
"base_uri": "https://localhost:8080/",
|
||||
"height": 34
|
||||
},
|
||||
"outputId": "84879cea-2a09-428a-d707-857bc43d5cb1"
|
||||
"outputId": "6fd1d798-9e2b-4573-e073-3aa66cbc2278"
|
||||
},
|
||||
"execution_count": null,
|
||||
"execution_count": 19,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "display_data",
|
||||
|
Loading…
x
Reference in New Issue
Block a user