Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .config/.last_opt_in_prompt.yaml +1 -0
- .config/.last_survey_prompt.yaml +1 -0
- .config/.last_update_check.json +1 -0
- .config/active_config +1 -0
- .config/config_sentinel +0 -0
- .config/configurations/config_default +6 -0
- .config/default_configs.db +0 -0
- .config/gce +1 -0
- .config/logs/2023.08.03/13.43.26.810905.log +596 -0
- .config/logs/2023.08.03/13.43.52.311313.log +5 -0
- .config/logs/2023.08.03/13.44.15.972512.log +169 -0
- .config/logs/2023.08.03/13.44.23.058287.log +5 -0
- .config/logs/2023.08.03/13.44.47.473323.log +8 -0
- .config/logs/2023.08.03/13.44.48.234496.log +8 -0
- .gitattributes +4 -0
- Dockerfile +10 -0
- LICENSE +29 -0
- README.md +39 -8
- Yue_gradio.py +243 -0
- Yue_gradio_cpu.py +245 -0
- Yui_TTS/.gitattributes +64 -0
- Yui_TTS/.gitignore +374 -0
- Yui_TTS/.gitmodules +4 -0
- Yui_TTS/__pycache__/audio_processing.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/env.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/hifiutils.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/hparams.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/layers.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/meldataset.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/model.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/models.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/stft.cpython-310.pyc +0 -0
- Yui_TTS/__pycache__/utils.cpython-310.pyc +0 -0
- Yui_TrapGenesis +3 -0
- Yui_gradio_cpu.py +245 -0
- __pycache__/audio_processing.cpython-310.pyc +0 -0
- __pycache__/env.cpython-310.pyc +0 -0
- __pycache__/hifiutils.cpython-310.pyc +0 -0
- __pycache__/hparams.cpython-310.pyc +0 -0
- __pycache__/layers.cpython-310.pyc +0 -0
- __pycache__/meldataset.cpython-310.pyc +0 -0
- __pycache__/model.cpython-310.pyc +0 -0
- __pycache__/models.cpython-310.pyc +0 -0
- __pycache__/stft.cpython-310.pyc +0 -0
- __pycache__/utils.cpython-310.pyc +0 -0
- audio_processing.py +93 -0
- colab-train-zh-cn.ipynb +0 -0
- colab.ipynb +0 -0
- data_utils.py +111 -0
- demo.wav +0 -0
.config/.last_opt_in_prompt.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{}
|
.config/.last_survey_prompt.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
last_prompt_time: 1691070255.294357
|
.config/.last_update_check.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"last_update_check_time": 1691070262.4995341, "last_update_check_revision": 20230728162818, "notifications": [], "last_nag_times": {}}
|
.config/active_config
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
default
|
.config/config_sentinel
ADDED
|
File without changes
|
.config/configurations/config_default
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[component_manager]
|
| 2 |
+
disable_update_check = true
|
| 3 |
+
|
| 4 |
+
[compute]
|
| 5 |
+
gce_metadata_read_timeout_sec = 0
|
| 6 |
+
|
.config/default_configs.db
ADDED
|
Binary file (12.3 kB). View file
|
|
|
.config/gce
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
False
|
.config/logs/2023.08.03/13.43.26.810905.log
ADDED
|
@@ -0,0 +1,596 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:43:26,817 DEBUG root Loaded Command Group: ['gcloud', 'components']
|
| 2 |
+
2023-08-03 13:43:26,820 DEBUG root Loaded Command Group: ['gcloud', 'components', 'update']
|
| 3 |
+
2023-08-03 13:43:26,823 DEBUG root Running [gcloud.components.update] with arguments: [--allow-no-backup: "True", --compile-python: "True", --quiet: "True", COMPONENT-IDS:7: "['core', 'gcloud-deps', 'bq', 'gcloud', 'gcloud-crc32c', 'gsutil', 'anthoscli']"]
|
| 4 |
+
2023-08-03 13:43:26,824 INFO ___FILE_ONLY___ Beginning update. This process may take several minutes.
|
| 5 |
+
|
| 6 |
+
2023-08-03 13:43:38,871 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 7 |
+
2023-08-03 13:43:38,954 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components-2.json HTTP/1.1" 200 208274
|
| 8 |
+
2023-08-03 13:43:38,968 INFO ___FILE_ONLY___
|
| 9 |
+
|
| 10 |
+
2023-08-03 13:43:38,969 INFO ___FILE_ONLY___
|
| 11 |
+
Your current Google Cloud CLI version is: 441.0.0
|
| 12 |
+
|
| 13 |
+
2023-08-03 13:43:38,969 INFO ___FILE_ONLY___ Installing components from version: 441.0.0
|
| 14 |
+
|
| 15 |
+
2023-08-03 13:43:38,969 INFO ___FILE_ONLY___
|
| 16 |
+
|
| 17 |
+
2023-08-03 13:43:38,969 DEBUG root Chosen display Format:table[box,title="These components will be removed."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 18 |
+
2023-08-03 13:43:38,970 DEBUG root Chosen display Format:table[box,title="These components will be updated."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 19 |
+
2023-08-03 13:43:38,970 DEBUG root Chosen display Format:table[box,title="These components will be installed."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 20 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___ ┌─────────────────────────────────────────────────────────────────────────────┐
|
| 21 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___
|
| 22 |
+
|
| 23 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___ │ These components will be installed. │
|
| 24 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___
|
| 25 |
+
|
| 26 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___ ├─────────────────────────────────────────────────────┬────────────┬──────────┤
|
| 27 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___
|
| 28 |
+
|
| 29 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___ │ Name │ Version │ Size │
|
| 30 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___
|
| 31 |
+
|
| 32 |
+
2023-08-03 13:43:38,977 INFO ___FILE_ONLY___ ├─────────────────────────────────────────────────────┼────────────┼──────────┤
|
| 33 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___
|
| 34 |
+
|
| 35 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ │
|
| 36 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ BigQuery Command Line Tool
|
| 37 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___
|
| 38 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ │
|
| 39 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ 2.0.95
|
| 40 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___
|
| 41 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ │
|
| 42 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ 1.6 MiB
|
| 43 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___
|
| 44 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ │
|
| 45 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___
|
| 46 |
+
|
| 47 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ │
|
| 48 |
+
2023-08-03 13:43:38,978 INFO ___FILE_ONLY___ BigQuery Command Line Tool (Platform Specific)
|
| 49 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 50 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 51 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ 2.0.77
|
| 52 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 53 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 54 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ < 1 MiB
|
| 55 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 56 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 57 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 58 |
+
|
| 59 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 60 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ Bundled Python 3.9
|
| 61 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 62 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 63 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ 3.9.16
|
| 64 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___
|
| 65 |
+
2023-08-03 13:43:38,979 INFO ___FILE_ONLY___ │
|
| 66 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ 63.6 MiB
|
| 67 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 68 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 69 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 70 |
+
|
| 71 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 72 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ Cloud Storage Command Line Tool
|
| 73 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 74 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 75 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ 5.25
|
| 76 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 77 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 78 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ 11.3 MiB
|
| 79 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 80 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 81 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___
|
| 82 |
+
|
| 83 |
+
2023-08-03 13:43:38,980 INFO ___FILE_ONLY___ │
|
| 84 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ Cloud Storage Command Line Tool (Platform Specific)
|
| 85 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 86 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ │
|
| 87 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ 5.13
|
| 88 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 89 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ │
|
| 90 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ < 1 MiB
|
| 91 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 92 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ │
|
| 93 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 94 |
+
|
| 95 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ │
|
| 96 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ Google Cloud CLI Core Libraries (Platform Specific)
|
| 97 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 98 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ │
|
| 99 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___ 2022.09.20
|
| 100 |
+
2023-08-03 13:43:38,981 INFO ___FILE_ONLY___
|
| 101 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 102 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ < 1 MiB
|
| 103 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 104 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 105 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 106 |
+
|
| 107 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 108 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ Google Cloud CRC32C Hash Tool
|
| 109 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 110 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 111 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ 1.0.0
|
| 112 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 113 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 114 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ 1.2 MiB
|
| 115 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 116 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___ │
|
| 117 |
+
2023-08-03 13:43:38,982 INFO ___FILE_ONLY___
|
| 118 |
+
|
| 119 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 120 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ anthoscli
|
| 121 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___
|
| 122 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 123 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ 0.2.38
|
| 124 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___
|
| 125 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 126 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ 68.4 MiB
|
| 127 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___
|
| 128 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 129 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___
|
| 130 |
+
|
| 131 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 132 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ gcloud cli dependencies
|
| 133 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___
|
| 134 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ │
|
| 135 |
+
2023-08-03 13:43:38,983 INFO ___FILE_ONLY___ 2021.04.16
|
| 136 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___
|
| 137 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___ │
|
| 138 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___ < 1 MiB
|
| 139 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___
|
| 140 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___ │
|
| 141 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___
|
| 142 |
+
|
| 143 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___ └─────────────────────────────────────────────────────┴────────────┴──────────┘
|
| 144 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___
|
| 145 |
+
|
| 146 |
+
2023-08-03 13:43:38,984 INFO ___FILE_ONLY___
|
| 147 |
+
|
| 148 |
+
2023-08-03 13:43:38,988 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 149 |
+
2023-08-03 13:43:39,076 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/RELEASE_NOTES HTTP/1.1" 200 1050956
|
| 150 |
+
2023-08-03 13:43:39,102 INFO ___FILE_ONLY___ For the latest full release notes, please visit:
|
| 151 |
+
https://cloud.google.com/sdk/release_notes
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
2023-08-03 13:43:39,104 INFO ___FILE_ONLY___ ╔═════════════════════════════════════════���══════════════════╗
|
| 155 |
+
|
| 156 |
+
2023-08-03 13:43:39,104 INFO ___FILE_ONLY___ ╠═ Creating update staging area ═╣
|
| 157 |
+
|
| 158 |
+
2023-08-03 13:43:39,105 INFO ___FILE_ONLY___ ╚
|
| 159 |
+
2023-08-03 13:43:39,105 INFO ___FILE_ONLY___ ══════
|
| 160 |
+
2023-08-03 13:43:39,105 INFO ___FILE_ONLY___ ══════
|
| 161 |
+
2023-08-03 13:43:39,105 INFO ___FILE_ONLY___ ══════
|
| 162 |
+
2023-08-03 13:43:39,254 INFO ___FILE_ONLY___ ═
|
| 163 |
+
2023-08-03 13:43:39,310 INFO ___FILE_ONLY___ ═
|
| 164 |
+
2023-08-03 13:43:39,348 INFO ___FILE_ONLY___ ═
|
| 165 |
+
2023-08-03 13:43:39,389 INFO ___FILE_ONLY___ ═
|
| 166 |
+
2023-08-03 13:43:39,441 INFO ___FILE_ONLY___ ═
|
| 167 |
+
2023-08-03 13:43:39,487 INFO ___FILE_ONLY___ ═
|
| 168 |
+
2023-08-03 13:43:39,527 INFO ___FILE_ONLY___ ═
|
| 169 |
+
2023-08-03 13:43:39,569 INFO ___FILE_ONLY___ ═
|
| 170 |
+
2023-08-03 13:43:39,613 INFO ___FILE_ONLY___ ═
|
| 171 |
+
2023-08-03 13:43:39,666 INFO ___FILE_ONLY___ ═
|
| 172 |
+
2023-08-03 13:43:39,706 INFO ___FILE_ONLY___ ═
|
| 173 |
+
2023-08-03 13:43:39,747 INFO ___FILE_ONLY___ ═
|
| 174 |
+
2023-08-03 13:43:39,816 INFO ___FILE_ONLY___ ═
|
| 175 |
+
2023-08-03 13:43:39,863 INFO ___FILE_ONLY___ ═
|
| 176 |
+
2023-08-03 13:43:39,910 INFO ___FILE_ONLY___ ═
|
| 177 |
+
2023-08-03 13:43:39,951 INFO ___FILE_ONLY___ ═
|
| 178 |
+
2023-08-03 13:43:40,147 INFO ___FILE_ONLY___ ═
|
| 179 |
+
2023-08-03 13:43:40,282 INFO ___FILE_ONLY___ ═
|
| 180 |
+
2023-08-03 13:43:40,336 INFO ___FILE_ONLY___ ═
|
| 181 |
+
2023-08-03 13:43:40,369 INFO ___FILE_ONLY___ ═
|
| 182 |
+
2023-08-03 13:43:40,398 INFO ___FILE_ONLY___ ═
|
| 183 |
+
2023-08-03 13:43:40,424 INFO ___FILE_ONLY___ ═
|
| 184 |
+
2023-08-03 13:43:40,447 INFO ___FILE_ONLY___ ═
|
| 185 |
+
2023-08-03 13:43:40,470 INFO ___FILE_ONLY___ ═
|
| 186 |
+
2023-08-03 13:43:40,499 INFO ___FILE_ONLY___ ═
|
| 187 |
+
2023-08-03 13:43:40,566 INFO ___FILE_ONLY___ ═
|
| 188 |
+
2023-08-03 13:43:40,625 INFO ___FILE_ONLY___ ═
|
| 189 |
+
2023-08-03 13:43:40,695 INFO ___FILE_ONLY___ ═
|
| 190 |
+
2023-08-03 13:43:40,746 INFO ___FILE_ONLY___ ═
|
| 191 |
+
2023-08-03 13:43:40,798 INFO ___FILE_ONLY___ ═
|
| 192 |
+
2023-08-03 13:43:40,844 INFO ___FILE_ONLY___ ═
|
| 193 |
+
2023-08-03 13:43:40,895 INFO ___FILE_ONLY___ ═
|
| 194 |
+
2023-08-03 13:43:40,946 INFO ___FILE_ONLY___ ═
|
| 195 |
+
2023-08-03 13:43:40,996 INFO ___FILE_ONLY___ ═
|
| 196 |
+
2023-08-03 13:43:41,057 INFO ___FILE_ONLY___ ═
|
| 197 |
+
2023-08-03 13:43:41,116 INFO ___FILE_ONLY___ ═
|
| 198 |
+
2023-08-03 13:43:41,172 INFO ___FILE_ONLY___ ═
|
| 199 |
+
2023-08-03 13:43:41,222 INFO ___FILE_ONLY___ ═
|
| 200 |
+
2023-08-03 13:43:41,268 INFO ___FILE_ONLY___ ═
|
| 201 |
+
2023-08-03 13:43:41,325 INFO ___FILE_ONLY___ ═
|
| 202 |
+
2023-08-03 13:43:41,366 INFO ___FILE_ONLY___ ═
|
| 203 |
+
2023-08-03 13:43:41,415 INFO ___FILE_ONLY___ ═
|
| 204 |
+
2023-08-03 13:43:41,415 INFO ___FILE_ONLY___ ╝
|
| 205 |
+
|
| 206 |
+
2023-08-03 13:43:41,574 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 207 |
+
|
| 208 |
+
2023-08-03 13:43:41,574 INFO ___FILE_ONLY___ ╠═ Installing: BigQuery Command Line Tool ═╣
|
| 209 |
+
|
| 210 |
+
2023-08-03 13:43:41,574 INFO ___FILE_ONLY___ ╚
|
| 211 |
+
2023-08-03 13:43:41,578 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 212 |
+
2023-08-03 13:43:41,662 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-bq-20230728162818.tar.gz HTTP/1.1" 200 1703996
|
| 213 |
+
2023-08-03 13:43:41,673 INFO ___FILE_ONLY___ ═
|
| 214 |
+
2023-08-03 13:43:41,673 INFO ___FILE_ONLY___ ═
|
| 215 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 216 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 217 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 218 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 219 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 220 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 221 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 222 |
+
2023-08-03 13:43:41,674 INFO ___FILE_ONLY___ ═
|
| 223 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 224 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 225 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 226 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 227 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 228 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 229 |
+
2023-08-03 13:43:41,675 INFO ___FILE_ONLY___ ═
|
| 230 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 231 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 232 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 233 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 234 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 235 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 236 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 237 |
+
2023-08-03 13:43:41,676 INFO ___FILE_ONLY___ ═
|
| 238 |
+
2023-08-03 13:43:41,677 INFO ___FILE_ONLY___ ═
|
| 239 |
+
2023-08-03 13:43:41,677 INFO ___FILE_ONLY___ ═
|
| 240 |
+
2023-08-03 13:43:41,677 INFO ___FILE_ONLY___ ═
|
| 241 |
+
2023-08-03 13:43:41,677 INFO ___FILE_ONLY___ ═
|
| 242 |
+
2023-08-03 13:43:41,677 INFO ___FILE_ONLY___ ═
|
| 243 |
+
2023-08-03 13:43:41,795 INFO ___FILE_ONLY___ ═
|
| 244 |
+
2023-08-03 13:43:41,799 INFO ___FILE_ONLY___ ═
|
| 245 |
+
2023-08-03 13:43:41,803 INFO ___FILE_ONLY___ ═
|
| 246 |
+
2023-08-03 13:43:41,807 INFO ___FILE_ONLY___ ═
|
| 247 |
+
2023-08-03 13:43:41,810 INFO ___FILE_ONLY___ ═
|
| 248 |
+
2023-08-03 13:43:41,814 INFO ___FILE_ONLY___ ═
|
| 249 |
+
2023-08-03 13:43:41,819 INFO ___FILE_ONLY___ ═
|
| 250 |
+
2023-08-03 13:43:41,823 INFO ___FILE_ONLY___ ═
|
| 251 |
+
2023-08-03 13:43:41,827 INFO ___FILE_ONLY___ ═
|
| 252 |
+
2023-08-03 13:43:41,830 INFO ___FILE_ONLY___ ═
|
| 253 |
+
2023-08-03 13:43:41,834 INFO ___FILE_ONLY___ ═
|
| 254 |
+
2023-08-03 13:43:41,837 INFO ___FILE_ONLY___ ═
|
| 255 |
+
2023-08-03 13:43:41,843 INFO ___FILE_ONLY___ ═
|
| 256 |
+
2023-08-03 13:43:41,846 INFO ___FILE_ONLY___ ═
|
| 257 |
+
2023-08-03 13:43:41,850 INFO ___FILE_ONLY___ ═
|
| 258 |
+
2023-08-03 13:43:41,854 INFO ___FILE_ONLY___ ═
|
| 259 |
+
2023-08-03 13:43:41,858 INFO ___FILE_ONLY___ ═
|
| 260 |
+
2023-08-03 13:43:41,862 INFO ___FILE_ONLY___ ═
|
| 261 |
+
2023-08-03 13:43:41,867 INFO ___FILE_ONLY___ ═
|
| 262 |
+
2023-08-03 13:43:41,872 INFO ___FILE_ONLY___ ═
|
| 263 |
+
2023-08-03 13:43:41,875 INFO ___FILE_ONLY___ ═
|
| 264 |
+
2023-08-03 13:43:41,882 INFO ___FILE_ONLY___ ═
|
| 265 |
+
2023-08-03 13:43:41,888 INFO ___FILE_ONLY___ ═
|
| 266 |
+
2023-08-03 13:43:41,892 INFO ___FILE_ONLY___ ═
|
| 267 |
+
2023-08-03 13:43:41,895 INFO ___FILE_ONLY___ ═
|
| 268 |
+
2023-08-03 13:43:41,900 INFO ___FILE_ONLY___ ═
|
| 269 |
+
2023-08-03 13:43:41,903 INFO ___FILE_ONLY___ ═
|
| 270 |
+
2023-08-03 13:43:41,907 INFO ___FILE_ONLY___ ═
|
| 271 |
+
2023-08-03 13:43:41,911 INFO ___FILE_ONLY___ ═
|
| 272 |
+
2023-08-03 13:43:41,914 INFO ___FILE_ONLY___ ═
|
| 273 |
+
2023-08-03 13:43:41,914 INFO ___FILE_ONLY___ ╝
|
| 274 |
+
|
| 275 |
+
2023-08-03 13:43:41,929 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 276 |
+
|
| 277 |
+
2023-08-03 13:43:41,929 INFO ___FILE_ONLY___ ╠═ Installing: BigQuery Command Line Tool (Platform Spec... ═╣
|
| 278 |
+
|
| 279 |
+
2023-08-03 13:43:41,929 INFO ___FILE_ONLY___ ╚
|
| 280 |
+
2023-08-03 13:43:41,933 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 281 |
+
2023-08-03 13:43:42,025 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-bq-nix-20220920185015.tar.gz HTTP/1.1" 200 1837
|
| 282 |
+
2023-08-03 13:43:42,026 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 283 |
+
2023-08-03 13:43:42,027 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 284 |
+
2023-08-03 13:43:42,027 INFO ___FILE_ONLY___ ╝
|
| 285 |
+
|
| 286 |
+
2023-08-03 13:43:42,035 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 287 |
+
|
| 288 |
+
2023-08-03 13:43:42,035 INFO ___FILE_ONLY___ ╠═ Installing: Bundled Python 3.9 ═╣
|
| 289 |
+
|
| 290 |
+
2023-08-03 13:43:42,035 INFO ___FILE_ONLY___ ╚
|
| 291 |
+
2023-08-03 13:43:42,039 INFO ___FILE_ONLY___ ════════════════════════════════════════════════════════════
|
| 292 |
+
2023-08-03 13:43:42,039 INFO ___FILE_ONLY___ ╝
|
| 293 |
+
|
| 294 |
+
2023-08-03 13:43:42,041 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 295 |
+
|
| 296 |
+
2023-08-03 13:43:42,041 INFO ___FILE_ONLY___ ╠═ Installing: Bundled Python 3.9 ═╣
|
| 297 |
+
|
| 298 |
+
2023-08-03 13:43:42,042 INFO ___FILE_ONLY___ ╚
|
| 299 |
+
2023-08-03 13:43:42,045 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 300 |
+
2023-08-03 13:43:42,136 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-bundled-python3-unix-linux-x86_64-20230707144938.tar.gz HTTP/1.1" 200 66719069
|
| 301 |
+
2023-08-03 13:43:42,983 INFO ___FILE_ONLY___ ═
|
| 302 |
+
2023-08-03 13:43:42,986 INFO ___FILE_ONLY___ ═
|
| 303 |
+
2023-08-03 13:43:42,988 INFO ___FILE_ONLY___ ═
|
| 304 |
+
2023-08-03 13:43:42,991 INFO ___FILE_ONLY___ ═
|
| 305 |
+
2023-08-03 13:43:42,993 INFO ___FILE_ONLY___ ═
|
| 306 |
+
2023-08-03 13:43:42,996 INFO ___FILE_ONLY___ ═
|
| 307 |
+
2023-08-03 13:43:42,999 INFO ___FILE_ONLY___ ═
|
| 308 |
+
2023-08-03 13:43:43,001 INFO ___FILE_ONLY___ ═
|
| 309 |
+
2023-08-03 13:43:43,004 INFO ___FILE_ONLY___ ═
|
| 310 |
+
2023-08-03 13:43:43,006 INFO ___FILE_ONLY___ ═
|
| 311 |
+
2023-08-03 13:43:43,008 INFO ___FILE_ONLY___ ═
|
| 312 |
+
2023-08-03 13:43:43,011 INFO ___FILE_ONLY___ ═
|
| 313 |
+
2023-08-03 13:43:43,013 INFO ___FILE_ONLY___ ═
|
| 314 |
+
2023-08-03 13:43:43,015 INFO ___FILE_ONLY___ ═
|
| 315 |
+
2023-08-03 13:43:43,018 INFO ___FILE_ONLY___ ═
|
| 316 |
+
2023-08-03 13:43:43,020 INFO ___FILE_ONLY___ ═
|
| 317 |
+
2023-08-03 13:43:43,023 INFO ___FILE_ONLY___ ═
|
| 318 |
+
2023-08-03 13:43:43,025 INFO ___FILE_ONLY___ ═
|
| 319 |
+
2023-08-03 13:43:43,027 INFO ___FILE_ONLY___ ═
|
| 320 |
+
2023-08-03 13:43:43,030 INFO ___FILE_ONLY___ ═
|
| 321 |
+
2023-08-03 13:43:43,032 INFO ___FILE_ONLY___ ═
|
| 322 |
+
2023-08-03 13:43:43,034 INFO ___FILE_ONLY___ ═
|
| 323 |
+
2023-08-03 13:43:43,037 INFO ___FILE_ONLY___ ═
|
| 324 |
+
2023-08-03 13:43:43,039 INFO ___FILE_ONLY___ ═
|
| 325 |
+
2023-08-03 13:43:43,041 INFO ___FILE_ONLY___ ═
|
| 326 |
+
2023-08-03 13:43:43,044 INFO ___FILE_ONLY___ ═
|
| 327 |
+
2023-08-03 13:43:43,046 INFO ___FILE_ONLY___ ═
|
| 328 |
+
2023-08-03 13:43:43,048 INFO ___FILE_ONLY___ ═
|
| 329 |
+
2023-08-03 13:43:43,051 INFO ___FILE_ONLY___ ═
|
| 330 |
+
2023-08-03 13:43:43,053 INFO ___FILE_ONLY___ ═
|
| 331 |
+
2023-08-03 13:43:44,944 INFO ___FILE_ONLY___ ═
|
| 332 |
+
2023-08-03 13:43:44,956 INFO ___FILE_ONLY___ ═
|
| 333 |
+
2023-08-03 13:43:44,970 INFO ___FILE_ONLY___ ═
|
| 334 |
+
2023-08-03 13:43:44,983 INFO ___FILE_ONLY___ ═
|
| 335 |
+
2023-08-03 13:43:44,996 INFO ___FILE_ONLY___ ═
|
| 336 |
+
2023-08-03 13:43:45,013 INFO ___FILE_ONLY___ ═
|
| 337 |
+
2023-08-03 13:43:45,030 INFO ___FILE_ONLY___ ═
|
| 338 |
+
2023-08-03 13:43:45,050 INFO ___FILE_ONLY___ ═
|
| 339 |
+
2023-08-03 13:43:45,067 INFO ___FILE_ONLY___ ═
|
| 340 |
+
2023-08-03 13:43:45,080 INFO ___FILE_ONLY___ ═
|
| 341 |
+
2023-08-03 13:43:45,098 INFO ___FILE_ONLY___ ═
|
| 342 |
+
2023-08-03 13:43:45,118 INFO ___FILE_ONLY___ ═
|
| 343 |
+
2023-08-03 13:43:45,132 INFO ___FILE_ONLY___ ═
|
| 344 |
+
2023-08-03 13:43:45,253 INFO ___FILE_ONLY___ ═
|
| 345 |
+
2023-08-03 13:43:45,267 INFO ___FILE_ONLY___ ═
|
| 346 |
+
2023-08-03 13:43:45,360 INFO ___FILE_ONLY___ ═
|
| 347 |
+
2023-08-03 13:43:45,382 INFO ___FILE_ONLY___ ═
|
| 348 |
+
2023-08-03 13:43:45,402 INFO ___FILE_ONLY___ ═
|
| 349 |
+
2023-08-03 13:43:45,420 INFO ___FILE_ONLY___ ═
|
| 350 |
+
2023-08-03 13:43:45,455 INFO ___FILE_ONLY___ ═
|
| 351 |
+
2023-08-03 13:43:45,469 INFO ___FILE_ONLY___ ═
|
| 352 |
+
2023-08-03 13:43:45,482 INFO ___FILE_ONLY___ ═
|
| 353 |
+
2023-08-03 13:43:45,497 INFO ___FILE_ONLY___ ═
|
| 354 |
+
2023-08-03 13:43:45,514 INFO ___FILE_ONLY___ ═
|
| 355 |
+
2023-08-03 13:43:45,532 INFO ___FILE_ONLY___ ═
|
| 356 |
+
2023-08-03 13:43:45,550 INFO ___FILE_ONLY___ ═
|
| 357 |
+
2023-08-03 13:43:46,165 INFO ___FILE_ONLY___ ═
|
| 358 |
+
2023-08-03 13:43:46,459 INFO ___FILE_ONLY___ ═
|
| 359 |
+
2023-08-03 13:43:46,470 INFO ___FILE_ONLY___ ═
|
| 360 |
+
2023-08-03 13:43:46,481 INFO ___FILE_ONLY___ ═
|
| 361 |
+
2023-08-03 13:43:46,481 INFO ___FILE_ONLY___ ╝
|
| 362 |
+
|
| 363 |
+
2023-08-03 13:43:46,527 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 364 |
+
|
| 365 |
+
2023-08-03 13:43:46,528 INFO ___FILE_ONLY___ ╠═ Installing: Cloud Storage Command Line Tool ═╣
|
| 366 |
+
|
| 367 |
+
2023-08-03 13:43:46,528 INFO ___FILE_ONLY___ ╚
|
| 368 |
+
2023-08-03 13:43:46,531 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 369 |
+
2023-08-03 13:43:46,627 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-gsutil-20230707144938.tar.gz HTTP/1.1" 200 11823782
|
| 370 |
+
2023-08-03 13:43:46,720 INFO ___FILE_ONLY___ ═
|
| 371 |
+
2023-08-03 13:43:46,721 INFO ___FILE_ONLY___ ═
|
| 372 |
+
2023-08-03 13:43:46,721 INFO ___FILE_ONLY___ ═
|
| 373 |
+
2023-08-03 13:43:46,722 INFO ___FILE_ONLY___ ═
|
| 374 |
+
2023-08-03 13:43:46,722 INFO ___FILE_ONLY___ ═
|
| 375 |
+
2023-08-03 13:43:46,723 INFO ___FILE_ONLY___ ═
|
| 376 |
+
2023-08-03 13:43:46,723 INFO ___FILE_ONLY___ ═
|
| 377 |
+
2023-08-03 13:43:46,724 INFO ___FILE_ONLY___ ═
|
| 378 |
+
2023-08-03 13:43:46,724 INFO ___FILE_ONLY___ ═
|
| 379 |
+
2023-08-03 13:43:46,725 INFO ___FILE_ONLY___ ═
|
| 380 |
+
2023-08-03 13:43:46,725 INFO ___FILE_ONLY___ ═
|
| 381 |
+
2023-08-03 13:43:46,726 INFO ___FILE_ONLY___ ═
|
| 382 |
+
2023-08-03 13:43:46,726 INFO ___FILE_ONLY___ ═
|
| 383 |
+
2023-08-03 13:43:46,727 INFO ___FILE_ONLY___ ═
|
| 384 |
+
2023-08-03 13:43:46,727 INFO ___FILE_ONLY___ ═
|
| 385 |
+
2023-08-03 13:43:46,728 INFO ___FILE_ONLY___ ═
|
| 386 |
+
2023-08-03 13:43:46,728 INFO ___FILE_ONLY___ ═
|
| 387 |
+
2023-08-03 13:43:46,729 INFO ___FILE_ONLY___ ═
|
| 388 |
+
2023-08-03 13:43:46,729 INFO ___FILE_ONLY___ ═
|
| 389 |
+
2023-08-03 13:43:46,730 INFO ___FILE_ONLY___ ═
|
| 390 |
+
2023-08-03 13:43:46,730 INFO ___FILE_ONLY___ ═
|
| 391 |
+
2023-08-03 13:43:46,731 INFO ___FILE_ONLY___ ═
|
| 392 |
+
2023-08-03 13:43:46,731 INFO ___FILE_ONLY___ ═
|
| 393 |
+
2023-08-03 13:43:46,732 INFO ___FILE_ONLY___ ═
|
| 394 |
+
2023-08-03 13:43:46,732 INFO ___FILE_ONLY___ ═
|
| 395 |
+
2023-08-03 13:43:46,733 INFO ___FILE_ONLY___ ═
|
| 396 |
+
2023-08-03 13:43:46,733 INFO ___FILE_ONLY___ ═
|
| 397 |
+
2023-08-03 13:43:46,734 INFO ___FILE_ONLY___ ═
|
| 398 |
+
2023-08-03 13:43:46,734 INFO ___FILE_ONLY___ ═
|
| 399 |
+
2023-08-03 13:43:46,735 INFO ___FILE_ONLY___ ═
|
| 400 |
+
2023-08-03 13:43:47,411 INFO ___FILE_ONLY___ ═
|
| 401 |
+
2023-08-03 13:43:47,439 INFO ___FILE_ONLY___ ═
|
| 402 |
+
2023-08-03 13:43:47,463 INFO ___FILE_ONLY___ ═
|
| 403 |
+
2023-08-03 13:43:47,490 INFO ___FILE_ONLY___ ═
|
| 404 |
+
2023-08-03 13:43:47,508 INFO ___FILE_ONLY___ ═
|
| 405 |
+
2023-08-03 13:43:47,527 INFO ___FILE_ONLY___ ═
|
| 406 |
+
2023-08-03 13:43:47,547 INFO ___FILE_ONLY___ ═
|
| 407 |
+
2023-08-03 13:43:47,569 INFO ___FILE_ONLY___ ═
|
| 408 |
+
2023-08-03 13:43:47,592 INFO ___FILE_ONLY___ ═
|
| 409 |
+
2023-08-03 13:43:47,628 INFO ___FILE_ONLY___ ═
|
| 410 |
+
2023-08-03 13:43:47,658 INFO ___FILE_ONLY___ ═
|
| 411 |
+
2023-08-03 13:43:47,682 INFO ___FILE_ONLY___ ═
|
| 412 |
+
2023-08-03 13:43:47,718 INFO ___FILE_ONLY___ ═
|
| 413 |
+
2023-08-03 13:43:47,749 INFO ___FILE_ONLY___ ═
|
| 414 |
+
2023-08-03 13:43:47,778 INFO ___FILE_ONLY___ ═
|
| 415 |
+
2023-08-03 13:43:47,800 INFO ___FILE_ONLY___ ═
|
| 416 |
+
2023-08-03 13:43:47,818 INFO ___FILE_ONLY___ ═
|
| 417 |
+
2023-08-03 13:43:47,839 INFO ___FILE_ONLY___ ═
|
| 418 |
+
2023-08-03 13:43:47,862 INFO ___FILE_ONLY___ ═
|
| 419 |
+
2023-08-03 13:43:47,888 INFO ___FILE_ONLY___ ═
|
| 420 |
+
2023-08-03 13:43:47,916 INFO ___FILE_ONLY___ ═
|
| 421 |
+
2023-08-03 13:43:47,941 INFO ___FILE_ONLY___ ═
|
| 422 |
+
2023-08-03 13:43:47,964 INFO ___FILE_ONLY___ ═
|
| 423 |
+
2023-08-03 13:43:48,010 INFO ___FILE_ONLY___ ═
|
| 424 |
+
2023-08-03 13:43:48,035 INFO ___FILE_ONLY___ ═
|
| 425 |
+
2023-08-03 13:43:48,062 INFO ___FILE_ONLY___ ═
|
| 426 |
+
2023-08-03 13:43:48,080 INFO ___FILE_ONLY___ ═
|
| 427 |
+
2023-08-03 13:43:48,099 INFO ___FILE_ONLY___ ═
|
| 428 |
+
2023-08-03 13:43:48,121 INFO ___FILE_ONLY___ ═
|
| 429 |
+
2023-08-03 13:43:48,142 INFO ___FILE_ONLY___ ═
|
| 430 |
+
2023-08-03 13:43:48,142 INFO ___FILE_ONLY___ ╝
|
| 431 |
+
|
| 432 |
+
2023-08-03 13:43:48,195 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 433 |
+
|
| 434 |
+
2023-08-03 13:43:48,195 INFO ___FILE_ONLY___ ╠═ Installing: Cloud Storage Command Line Tool (Platform... ═╣
|
| 435 |
+
|
| 436 |
+
2023-08-03 13:43:48,195 INFO ___FILE_ONLY___ ╚
|
| 437 |
+
2023-08-03 13:43:48,199 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 438 |
+
2023-08-03 13:43:48,285 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-gsutil-nix-20220920185015.tar.gz HTTP/1.1" 200 1851
|
| 439 |
+
2023-08-03 13:43:48,286 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 440 |
+
2023-08-03 13:43:48,287 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 441 |
+
2023-08-03 13:43:48,287 INFO ___FILE_ONLY___ ╝
|
| 442 |
+
|
| 443 |
+
2023-08-03 13:43:48,295 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 444 |
+
|
| 445 |
+
2023-08-03 13:43:48,295 INFO ___FILE_ONLY___ ╠═ Installing: Default set of gcloud commands ═╣
|
| 446 |
+
|
| 447 |
+
2023-08-03 13:43:48,295 INFO ___FILE_ONLY___ ╚
|
| 448 |
+
2023-08-03 13:43:48,299 INFO ___FILE_ONLY___ ════════════════════════════════════════════════════════════
|
| 449 |
+
2023-08-03 13:43:48,299 INFO ___FILE_ONLY___ ╝
|
| 450 |
+
|
| 451 |
+
2023-08-03 13:43:48,301 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 452 |
+
|
| 453 |
+
2023-08-03 13:43:48,301 INFO ___FILE_ONLY___ ╠═ Installing: Google Cloud CLI Core Libraries (Platform... ═╣
|
| 454 |
+
|
| 455 |
+
2023-08-03 13:43:48,301 INFO ___FILE_ONLY___ ╚
|
| 456 |
+
2023-08-03 13:43:48,305 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 457 |
+
2023-08-03 13:43:48,389 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-core-nix-20220920185015.tar.gz HTTP/1.1" 200 2221
|
| 458 |
+
2023-08-03 13:43:48,389 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 459 |
+
2023-08-03 13:43:48,391 INFO ___FILE_ONLY___ ═══════════════
|
| 460 |
+
2023-08-03 13:43:48,391 INFO ___FILE_ONLY___ ═══════════════
|
| 461 |
+
2023-08-03 13:43:48,391 INFO ___FILE_ONLY___ ╝
|
| 462 |
+
|
| 463 |
+
2023-08-03 13:43:48,430 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 464 |
+
|
| 465 |
+
2023-08-03 13:43:48,430 INFO ___FILE_ONLY___ ╠═ Installing: Google Cloud CRC32C Hash Tool ═╣
|
| 466 |
+
|
| 467 |
+
2023-08-03 13:43:48,430 INFO ___FILE_ONLY___ ╚
|
| 468 |
+
2023-08-03 13:43:48,434 INFO ___FILE_ONLY___ ════════════════════════════════════════════════════════════
|
| 469 |
+
2023-08-03 13:43:48,435 INFO ___FILE_ONLY___ ╝
|
| 470 |
+
|
| 471 |
+
2023-08-03 13:43:48,436 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 472 |
+
|
| 473 |
+
2023-08-03 13:43:48,437 INFO ___FILE_ONLY___ ╠═ Installing: Google Cloud CRC32C Hash Tool ═╣
|
| 474 |
+
|
| 475 |
+
2023-08-03 13:43:48,437 INFO ___FILE_ONLY___ ╚
|
| 476 |
+
2023-08-03 13:43:48,440 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 477 |
+
2023-08-03 13:43:48,531 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-gcloud-crc32c-linux-x86_64-20230728162818.tar.gz HTTP/1.1" 200 1272375
|
| 478 |
+
2023-08-03 13:43:48,539 INFO ___FILE_ONLY___ ═
|
| 479 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 480 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 481 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 482 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 483 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 484 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 485 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 486 |
+
2023-08-03 13:43:48,540 INFO ___FILE_ONLY___ ═
|
| 487 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 488 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 489 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 490 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 491 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 492 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 493 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 494 |
+
2023-08-03 13:43:48,541 INFO ___FILE_ONLY___ ═
|
| 495 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 496 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 497 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 498 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 499 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 500 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 501 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 502 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 503 |
+
2023-08-03 13:43:48,542 INFO ___FILE_ONLY___ ═
|
| 504 |
+
2023-08-03 13:43:48,543 INFO ___FILE_ONLY___ ═
|
| 505 |
+
2023-08-03 13:43:48,543 INFO ___FILE_ONLY___ ═
|
| 506 |
+
2023-08-03 13:43:48,543 INFO ___FILE_ONLY___ ═
|
| 507 |
+
2023-08-03 13:43:48,543 INFO ___FILE_ONLY___ ═
|
| 508 |
+
2023-08-03 13:43:48,577 INFO ___FILE_ONLY___ ═══════════════
|
| 509 |
+
2023-08-03 13:43:48,577 INFO ___FILE_ONLY___ ═══════════════
|
| 510 |
+
2023-08-03 13:43:48,577 INFO ___FILE_ONLY___ ╝
|
| 511 |
+
|
| 512 |
+
2023-08-03 13:43:48,586 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 513 |
+
|
| 514 |
+
2023-08-03 13:43:48,586 INFO ___FILE_ONLY___ ╠═ Installing: anthoscli ═╣
|
| 515 |
+
|
| 516 |
+
2023-08-03 13:43:48,586 INFO ___FILE_ONLY___ ╚
|
| 517 |
+
2023-08-03 13:43:48,590 INFO ___FILE_ONLY___ ════════════════════════════════════════════════════════════
|
| 518 |
+
2023-08-03 13:43:48,590 INFO ___FILE_ONLY___ ╝
|
| 519 |
+
|
| 520 |
+
2023-08-03 13:43:48,592 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 521 |
+
|
| 522 |
+
2023-08-03 13:43:48,592 INFO ___FILE_ONLY___ ╠═ Installing: anthoscli ═╣
|
| 523 |
+
|
| 524 |
+
2023-08-03 13:43:48,592 INFO ___FILE_ONLY___ ╚
|
| 525 |
+
2023-08-03 13:43:48,596 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 526 |
+
2023-08-03 13:43:48,692 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-anthoscli-linux-x86_64-20230728162818.tar.gz HTTP/1.1" 200 71750856
|
| 527 |
+
2023-08-03 13:43:49,319 INFO ___FILE_ONLY___ ═
|
| 528 |
+
2023-08-03 13:43:49,321 INFO ___FILE_ONLY___ ═
|
| 529 |
+
2023-08-03 13:43:49,324 INFO ___FILE_ONLY___ ═
|
| 530 |
+
2023-08-03 13:43:49,327 INFO ___FILE_ONLY___ ═
|
| 531 |
+
2023-08-03 13:43:49,329 INFO ___FILE_ONLY___ ═
|
| 532 |
+
2023-08-03 13:43:49,332 INFO ___FILE_ONLY___ ═
|
| 533 |
+
2023-08-03 13:43:49,334 INFO ___FILE_ONLY___ ═
|
| 534 |
+
2023-08-03 13:43:49,337 INFO ___FILE_ONLY___ ═
|
| 535 |
+
2023-08-03 13:43:49,339 INFO ___FILE_ONLY___ ═
|
| 536 |
+
2023-08-03 13:43:49,342 INFO ___FILE_ONLY___ ═
|
| 537 |
+
2023-08-03 13:43:49,345 INFO ___FILE_ONLY___ ═
|
| 538 |
+
2023-08-03 13:43:49,347 INFO ___FILE_ONLY___ ═
|
| 539 |
+
2023-08-03 13:43:49,350 INFO ___FILE_ONLY___ ═
|
| 540 |
+
2023-08-03 13:43:49,352 INFO ___FILE_ONLY___ ═
|
| 541 |
+
2023-08-03 13:43:49,355 INFO ___FILE_ONLY___ ═
|
| 542 |
+
2023-08-03 13:43:49,357 INFO ___FILE_ONLY___ ═
|
| 543 |
+
2023-08-03 13:43:49,360 INFO ___FILE_ONLY___ ═
|
| 544 |
+
2023-08-03 13:43:49,362 INFO ___FILE_ONLY___ ═
|
| 545 |
+
2023-08-03 13:43:49,365 INFO ___FILE_ONLY___ ═
|
| 546 |
+
2023-08-03 13:43:49,368 INFO ___FILE_ONLY___ ═
|
| 547 |
+
2023-08-03 13:43:49,370 INFO ___FILE_ONLY___ ═
|
| 548 |
+
2023-08-03 13:43:49,373 INFO ___FILE_ONLY___ ═
|
| 549 |
+
2023-08-03 13:43:49,375 INFO ___FILE_ONLY___ ═
|
| 550 |
+
2023-08-03 13:43:49,378 INFO ___FILE_ONLY___ ═
|
| 551 |
+
2023-08-03 13:43:49,380 INFO ___FILE_ONLY___ ═
|
| 552 |
+
2023-08-03 13:43:49,383 INFO ___FILE_ONLY___ ═
|
| 553 |
+
2023-08-03 13:43:49,385 INFO ___FILE_ONLY___ ═
|
| 554 |
+
2023-08-03 13:43:49,389 INFO ___FILE_ONLY___ ═
|
| 555 |
+
2023-08-03 13:43:49,393 INFO ___FILE_ONLY___ ═
|
| 556 |
+
2023-08-03 13:43:49,396 INFO ___FILE_ONLY___ ═
|
| 557 |
+
2023-08-03 13:43:51,598 INFO ___FILE_ONLY___ ══════════
|
| 558 |
+
2023-08-03 13:43:51,603 INFO ___FILE_ONLY___ ═════════
|
| 559 |
+
2023-08-03 13:43:51,629 INFO ___FILE_ONLY___ ═══════════
|
| 560 |
+
2023-08-03 13:43:51,629 INFO ___FILE_ONLY___ ╝
|
| 561 |
+
|
| 562 |
+
2023-08-03 13:43:51,649 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 563 |
+
|
| 564 |
+
2023-08-03 13:43:51,649 INFO ___FILE_ONLY___ ╠═ Installing: gcloud cli dependencies ═╣
|
| 565 |
+
|
| 566 |
+
2023-08-03 13:43:51,649 INFO ___FILE_ONLY___ ╚
|
| 567 |
+
2023-08-03 13:43:51,653 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 568 |
+
2023-08-03 13:43:51,738 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-gcloud-deps-linux-x86_64-20210416153011.tar.gz HTTP/1.1" 200 104
|
| 569 |
+
2023-08-03 13:43:51,739 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 570 |
+
2023-08-03 13:43:51,739 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 571 |
+
2023-08-03 13:43:51,739 INFO ___FILE_ONLY___ ╝
|
| 572 |
+
|
| 573 |
+
2023-08-03 13:43:51,747 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 574 |
+
|
| 575 |
+
2023-08-03 13:43:51,747 INFO ___FILE_ONLY___ ╠═ Creating backup and activating new installation ═╣
|
| 576 |
+
|
| 577 |
+
2023-08-03 13:43:51,747 INFO ___FILE_ONLY___ ╚
|
| 578 |
+
2023-08-03 13:43:51,748 DEBUG root Attempting to move directory [/tools/google-cloud-sdk] to [/tools/google-cloud-sdk.staging/.install/.backup]
|
| 579 |
+
2023-08-03 13:43:51,748 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 580 |
+
2023-08-03 13:43:51,748 DEBUG root Attempting to move directory [/tools/google-cloud-sdk.staging] to [/tools/google-cloud-sdk]
|
| 581 |
+
2023-08-03 13:43:51,748 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 582 |
+
2023-08-03 13:43:51,748 INFO ___FILE_ONLY___ ╝
|
| 583 |
+
|
| 584 |
+
2023-08-03 13:43:51,751 DEBUG root Updating notification cache...
|
| 585 |
+
2023-08-03 13:43:51,752 INFO ___FILE_ONLY___
|
| 586 |
+
|
| 587 |
+
2023-08-03 13:43:51,754 INFO ___FILE_ONLY___ Performing post processing steps...
|
| 588 |
+
2023-08-03 13:43:51,754 DEBUG root Executing command: ['python3', '-S', '/tools/google-cloud-sdk/lib/gcloud.py', 'components', 'post-process']
|
| 589 |
+
2023-08-03 13:44:15,195 DEBUG ___FILE_ONLY___
|
| 590 |
+
2023-08-03 13:44:15,195 DEBUG ___FILE_ONLY___
|
| 591 |
+
2023-08-03 13:44:15,289 INFO ___FILE_ONLY___
|
| 592 |
+
Update done!
|
| 593 |
+
|
| 594 |
+
|
| 595 |
+
2023-08-03 13:44:15,293 DEBUG root Chosen display Format:none
|
| 596 |
+
2023-08-03 13:44:15,293 INFO root Display format: "none"
|
.config/logs/2023.08.03/13.43.52.311313.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:43:52,312 DEBUG root Loaded Command Group: ['gcloud', 'components']
|
| 2 |
+
2023-08-03 13:43:52,314 DEBUG root Loaded Command Group: ['gcloud', 'components', 'post_process']
|
| 3 |
+
2023-08-03 13:43:52,316 DEBUG root Running [gcloud.components.post-process] with arguments: []
|
| 4 |
+
2023-08-03 13:44:15,073 DEBUG root Chosen display Format:none
|
| 5 |
+
2023-08-03 13:44:15,074 INFO root Display format: "none"
|
.config/logs/2023.08.03/13.44.15.972512.log
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:44:15,973 DEBUG root Loaded Command Group: ['gcloud', 'components']
|
| 2 |
+
2023-08-03 13:44:15,976 DEBUG root Loaded Command Group: ['gcloud', 'components', 'update']
|
| 3 |
+
2023-08-03 13:44:15,978 DEBUG root Running [gcloud.components.update] with arguments: [--quiet: "True", COMPONENT-IDS:8: "['gcloud', 'core', 'bq', 'gsutil', 'compute', 'preview', 'alpha', 'beta']"]
|
| 4 |
+
2023-08-03 13:44:15,979 INFO ___FILE_ONLY___ Beginning update. This process may take several minutes.
|
| 5 |
+
|
| 6 |
+
2023-08-03 13:44:15,984 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 7 |
+
2023-08-03 13:44:16,068 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components-2.json HTTP/1.1" 200 208274
|
| 8 |
+
2023-08-03 13:44:16,084 WARNING root Component [compute] no longer exists.
|
| 9 |
+
2023-08-03 13:44:16,084 WARNING root Component [preview] no longer exists.
|
| 10 |
+
2023-08-03 13:44:16,085 INFO ___FILE_ONLY___
|
| 11 |
+
|
| 12 |
+
2023-08-03 13:44:16,085 INFO ___FILE_ONLY___
|
| 13 |
+
Your current Google Cloud CLI version is: 441.0.0
|
| 14 |
+
|
| 15 |
+
2023-08-03 13:44:16,086 INFO ___FILE_ONLY___ Installing components from version: 441.0.0
|
| 16 |
+
|
| 17 |
+
2023-08-03 13:44:16,086 INFO ___FILE_ONLY___
|
| 18 |
+
|
| 19 |
+
2023-08-03 13:44:16,086 DEBUG root Chosen display Format:table[box,title="These components will be removed."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 20 |
+
2023-08-03 13:44:16,087 DEBUG root Chosen display Format:table[box,title="These components will be updated."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 21 |
+
2023-08-03 13:44:16,087 DEBUG root Chosen display Format:table[box,title="These components will be installed."](details.display_name:label=Name:align=left,version.version_string:label=Version:align=right,data.size.size(zero="",min=1048576):label=Size:align=right)
|
| 22 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___ ┌──────────────────────────────────────────────┐
|
| 23 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___
|
| 24 |
+
|
| 25 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___ │ These components will be installed. │
|
| 26 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___
|
| 27 |
+
|
| 28 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___ ├───────────────────────┬────────────┬─────────┤
|
| 29 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___
|
| 30 |
+
|
| 31 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___ │ Name │ Version │ Size │
|
| 32 |
+
2023-08-03 13:44:16,089 INFO ___FILE_ONLY___
|
| 33 |
+
|
| 34 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ ├───────────────────────┼────────────┼─────────┤
|
| 35 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 36 |
+
|
| 37 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ │
|
| 38 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ gcloud Alpha Commands
|
| 39 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 40 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ │
|
| 41 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ 2023.07.28
|
| 42 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 43 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ │
|
| 44 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ < 1 MiB
|
| 45 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 46 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ │
|
| 47 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 48 |
+
|
| 49 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ │
|
| 50 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___ gcloud Beta Commands
|
| 51 |
+
2023-08-03 13:44:16,090 INFO ___FILE_ONLY___
|
| 52 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ │
|
| 53 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ 2023.07.28
|
| 54 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___
|
| 55 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ │
|
| 56 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ < 1 MiB
|
| 57 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___
|
| 58 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ │
|
| 59 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___
|
| 60 |
+
|
| 61 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___ └───────────────────────┴────────────┴─────────┘
|
| 62 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___
|
| 63 |
+
|
| 64 |
+
2023-08-03 13:44:16,091 INFO ___FILE_ONLY___
|
| 65 |
+
|
| 66 |
+
2023-08-03 13:44:16,095 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 67 |
+
2023-08-03 13:44:16,179 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/RELEASE_NOTES HTTP/1.1" 200 1050956
|
| 68 |
+
2023-08-03 13:44:16,207 INFO ___FILE_ONLY___ For the latest full release notes, please visit:
|
| 69 |
+
https://cloud.google.com/sdk/release_notes
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
2023-08-03 13:44:16,209 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 73 |
+
|
| 74 |
+
2023-08-03 13:44:16,210 INFO ___FILE_ONLY___ ╠═ Creating update staging area ═╣
|
| 75 |
+
|
| 76 |
+
2023-08-03 13:44:16,210 INFO ___FILE_ONLY___ ╚
|
| 77 |
+
2023-08-03 13:44:16,210 INFO ___FILE_ONLY___ ══════
|
| 78 |
+
2023-08-03 13:44:16,780 INFO ___FILE_ONLY___ ══════
|
| 79 |
+
2023-08-03 13:44:16,780 INFO ___FILE_ONLY___ ══════
|
| 80 |
+
2023-08-03 13:44:16,988 INFO ___FILE_ONLY___ ═
|
| 81 |
+
2023-08-03 13:44:17,039 INFO ___FILE_ONLY___ ═
|
| 82 |
+
2023-08-03 13:44:17,099 INFO ___FILE_ONLY___ ═
|
| 83 |
+
2023-08-03 13:44:17,144 INFO ___FILE_ONLY___ ═
|
| 84 |
+
2023-08-03 13:44:17,188 INFO ___FILE_ONLY___ ═
|
| 85 |
+
2023-08-03 13:44:17,230 INFO ___FILE_ONLY___ ═
|
| 86 |
+
2023-08-03 13:44:17,290 INFO ___FILE_ONLY___ ═
|
| 87 |
+
2023-08-03 13:44:17,349 INFO ___FILE_ONLY___ ═
|
| 88 |
+
2023-08-03 13:44:17,407 INFO ___FILE_ONLY___ ═
|
| 89 |
+
2023-08-03 13:44:17,452 INFO ___FILE_ONLY___ ═
|
| 90 |
+
2023-08-03 13:44:17,502 INFO ___FILE_ONLY___ ═
|
| 91 |
+
2023-08-03 13:44:17,554 INFO ___FILE_ONLY___ ═
|
| 92 |
+
2023-08-03 13:44:17,607 INFO ___FILE_ONLY___ ═
|
| 93 |
+
2023-08-03 13:44:17,657 INFO ___FILE_ONLY___ ═
|
| 94 |
+
2023-08-03 13:44:17,729 INFO ___FILE_ONLY___ ═
|
| 95 |
+
2023-08-03 13:44:17,777 INFO ___FILE_ONLY___ ═
|
| 96 |
+
2023-08-03 13:44:17,827 INFO ___FILE_ONLY___ ═
|
| 97 |
+
2023-08-03 13:44:17,876 INFO ___FILE_ONLY___ ═
|
| 98 |
+
2023-08-03 13:44:17,934 INFO ___FILE_ONLY___ ═
|
| 99 |
+
2023-08-03 13:44:18,011 INFO ___FILE_ONLY___ ═
|
| 100 |
+
2023-08-03 13:44:18,063 INFO ___FILE_ONLY___ ═
|
| 101 |
+
2023-08-03 13:44:18,172 INFO ___FILE_ONLY___ ═
|
| 102 |
+
2023-08-03 13:44:18,227 INFO ___FILE_ONLY___ ═
|
| 103 |
+
2023-08-03 13:44:18,282 INFO ___FILE_ONLY___ ═
|
| 104 |
+
2023-08-03 13:44:18,331 INFO ___FILE_ONLY___ ═
|
| 105 |
+
2023-08-03 13:44:18,614 INFO ___FILE_ONLY___ ═
|
| 106 |
+
2023-08-03 13:44:18,801 INFO ___FILE_ONLY___ ═
|
| 107 |
+
2023-08-03 13:44:18,875 INFO ___FILE_ONLY___ ═
|
| 108 |
+
2023-08-03 13:44:18,910 INFO ___FILE_ONLY___ ═
|
| 109 |
+
2023-08-03 13:44:18,945 INFO ___FILE_ONLY___ ═
|
| 110 |
+
2023-08-03 13:44:18,975 INFO ___FILE_ONLY___ ═
|
| 111 |
+
2023-08-03 13:44:19,005 INFO ___FILE_ONLY___ ═
|
| 112 |
+
2023-08-03 13:44:19,050 INFO ___FILE_ONLY___ ═
|
| 113 |
+
2023-08-03 13:44:19,134 INFO ___FILE_ONLY___ ═
|
| 114 |
+
2023-08-03 13:44:19,201 INFO ___FILE_ONLY___ ═
|
| 115 |
+
2023-08-03 13:44:19,284 INFO ___FILE_ONLY___ ═
|
| 116 |
+
2023-08-03 13:44:19,359 INFO ___FILE_ONLY___ ═
|
| 117 |
+
2023-08-03 13:44:19,415 INFO ___FILE_ONLY___ ═
|
| 118 |
+
2023-08-03 13:44:19,468 INFO ___FILE_ONLY___ ═
|
| 119 |
+
2023-08-03 13:44:19,519 INFO ___FILE_ONLY___ ═
|
| 120 |
+
2023-08-03 13:44:19,576 INFO ___FILE_ONLY___ ═
|
| 121 |
+
2023-08-03 13:44:19,625 INFO ___FILE_ONLY___ ═
|
| 122 |
+
2023-08-03 13:44:19,625 INFO ___FILE_ONLY___ ╝
|
| 123 |
+
|
| 124 |
+
2023-08-03 13:44:22,301 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 125 |
+
|
| 126 |
+
2023-08-03 13:44:22,302 INFO ___FILE_ONLY___ ╠═ Installing: gcloud Alpha Commands ═╣
|
| 127 |
+
|
| 128 |
+
2023-08-03 13:44:22,302 INFO ___FILE_ONLY___ ╚
|
| 129 |
+
2023-08-03 13:44:22,305 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 130 |
+
2023-08-03 13:44:22,390 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-alpha-20230728162818.tar.gz HTTP/1.1" 200 800
|
| 131 |
+
2023-08-03 13:44:22,391 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 132 |
+
2023-08-03 13:44:22,392 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 133 |
+
2023-08-03 13:44:22,392 INFO ___FILE_ONLY___ ╝
|
| 134 |
+
|
| 135 |
+
2023-08-03 13:44:22,399 INFO ___FILE_ONLY___ ╔════════════════════════════════════════════════════════════╗
|
| 136 |
+
|
| 137 |
+
2023-08-03 13:44:22,399 INFO ___FILE_ONLY___ ╠═ Installing: gcloud Beta Commands ═╣
|
| 138 |
+
|
| 139 |
+
2023-08-03 13:44:22,400 INFO ___FILE_ONLY___ ╚
|
| 140 |
+
2023-08-03 13:44:22,403 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): dl.google.com:443
|
| 141 |
+
2023-08-03 13:44:22,484 DEBUG urllib3.connectionpool https://dl.google.com:443 "GET /dl/cloudsdk/channels/rapid/components/google-cloud-sdk-beta-20230728162818.tar.gz HTTP/1.1" 200 797
|
| 142 |
+
2023-08-03 13:44:22,484 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 143 |
+
2023-08-03 13:44:22,485 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 144 |
+
2023-08-03 13:44:22,486 INFO ___FILE_ONLY___ ╝
|
| 145 |
+
|
| 146 |
+
2023-08-03 13:44:22,494 INFO ___FILE_ONLY___ ��════════════════════════════════════════════════════════════╗
|
| 147 |
+
|
| 148 |
+
2023-08-03 13:44:22,495 INFO ___FILE_ONLY___ ╠═ Creating backup and activating new installation ═╣
|
| 149 |
+
|
| 150 |
+
2023-08-03 13:44:22,495 INFO ___FILE_ONLY___ ╚
|
| 151 |
+
2023-08-03 13:44:22,495 DEBUG root Attempting to move directory [/tools/google-cloud-sdk] to [/tools/google-cloud-sdk.staging/.install/.backup]
|
| 152 |
+
2023-08-03 13:44:22,495 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 153 |
+
2023-08-03 13:44:22,495 DEBUG root Attempting to move directory [/tools/google-cloud-sdk.staging] to [/tools/google-cloud-sdk]
|
| 154 |
+
2023-08-03 13:44:22,495 INFO ___FILE_ONLY___ ══════════════════════════════
|
| 155 |
+
2023-08-03 13:44:22,495 INFO ___FILE_ONLY___ ╝
|
| 156 |
+
|
| 157 |
+
2023-08-03 13:44:22,499 DEBUG root Updating notification cache...
|
| 158 |
+
2023-08-03 13:44:22,499 INFO ___FILE_ONLY___
|
| 159 |
+
|
| 160 |
+
2023-08-03 13:44:22,501 INFO ___FILE_ONLY___ Performing post processing steps...
|
| 161 |
+
2023-08-03 13:44:22,502 DEBUG root Executing command: ['python3', '-S', '/tools/google-cloud-sdk/lib/gcloud.py', 'components', 'post-process']
|
| 162 |
+
2023-08-03 13:44:46,602 DEBUG ___FILE_ONLY___
|
| 163 |
+
2023-08-03 13:44:46,602 DEBUG ___FILE_ONLY___
|
| 164 |
+
2023-08-03 13:44:46,787 INFO ___FILE_ONLY___
|
| 165 |
+
Update done!
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
2023-08-03 13:44:46,790 DEBUG root Chosen display Format:none
|
| 169 |
+
2023-08-03 13:44:46,791 INFO root Display format: "none"
|
.config/logs/2023.08.03/13.44.23.058287.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:44:23,059 DEBUG root Loaded Command Group: ['gcloud', 'components']
|
| 2 |
+
2023-08-03 13:44:23,061 DEBUG root Loaded Command Group: ['gcloud', 'components', 'post_process']
|
| 3 |
+
2023-08-03 13:44:23,063 DEBUG root Running [gcloud.components.post-process] with arguments: []
|
| 4 |
+
2023-08-03 13:44:46,489 DEBUG root Chosen display Format:none
|
| 5 |
+
2023-08-03 13:44:46,490 INFO root Display format: "none"
|
.config/logs/2023.08.03/13.44.47.473323.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:44:47,475 DEBUG root Loaded Command Group: ['gcloud', 'config']
|
| 2 |
+
2023-08-03 13:44:47,504 DEBUG root Loaded Command Group: ['gcloud', 'config', 'set']
|
| 3 |
+
2023-08-03 13:44:47,506 DEBUG root Running [gcloud.config.set] with arguments: [SECTION/PROPERTY: "component_manager/disable_update_check", VALUE: "true"]
|
| 4 |
+
2023-08-03 13:44:47,507 INFO ___FILE_ONLY___ Updated property [component_manager/disable_update_check].
|
| 5 |
+
|
| 6 |
+
2023-08-03 13:44:47,508 DEBUG root Chosen display Format:default
|
| 7 |
+
2023-08-03 13:44:47,509 INFO root Display format: "default"
|
| 8 |
+
2023-08-03 13:44:47,509 DEBUG root SDK update checks are disabled.
|
.config/logs/2023.08.03/13.44.48.234496.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2023-08-03 13:44:48,236 DEBUG root Loaded Command Group: ['gcloud', 'config']
|
| 2 |
+
2023-08-03 13:44:48,265 DEBUG root Loaded Command Group: ['gcloud', 'config', 'set']
|
| 3 |
+
2023-08-03 13:44:48,268 DEBUG root Running [gcloud.config.set] with arguments: [SECTION/PROPERTY: "compute/gce_metadata_read_timeout_sec", VALUE: "0"]
|
| 4 |
+
2023-08-03 13:44:48,269 INFO ___FILE_ONLY___ Updated property [compute/gce_metadata_read_timeout_sec].
|
| 5 |
+
|
| 6 |
+
2023-08-03 13:44:48,269 DEBUG root Chosen display Format:default
|
| 7 |
+
2023-08-03 13:44:48,270 INFO root Display format: "default"
|
| 8 |
+
2023-08-03 13:44:48,271 DEBUG root SDK update checks are disabled.
|
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Yui_TrapGenesis filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
hifimodel filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
sample_data/mnist_test.csv filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
sample_data/mnist_train_small.csv filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM pytorch/pytorch:nightly-devel-cuda10.0-cudnn7
|
| 2 |
+
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
|
| 3 |
+
|
| 4 |
+
RUN apt-get update -y
|
| 5 |
+
|
| 6 |
+
RUN pip install numpy scipy matplotlib librosa==0.6.0 tensorflow tensorboardX inflect==0.2.5 Unidecode==1.0.22 pillow jupyter
|
| 7 |
+
|
| 8 |
+
ADD apex /apex/
|
| 9 |
+
WORKDIR /apex/
|
| 10 |
+
RUN pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" .
|
LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-Clause License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2018, NVIDIA Corporation
|
| 4 |
+
All rights reserved.
|
| 5 |
+
|
| 6 |
+
Redistribution and use in source and binary forms, with or without
|
| 7 |
+
modification, are permitted provided that the following conditions are met:
|
| 8 |
+
|
| 9 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 10 |
+
list of conditions and the following disclaimer.
|
| 11 |
+
|
| 12 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 13 |
+
this list of conditions and the following disclaimer in the documentation
|
| 14 |
+
and/or other materials provided with the distribution.
|
| 15 |
+
|
| 16 |
+
* Neither the name of the copyright holder nor the names of its
|
| 17 |
+
contributors may be used to endorse or promote products derived from
|
| 18 |
+
this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 23 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 24 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 25 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 26 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 27 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 28 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
README.md
CHANGED
|
@@ -1,12 +1,43 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
colorFrom: gray
|
| 5 |
-
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 3.
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: TTS_Yui
|
| 3 |
+
app_file: Yue_gradio_cpu.py
|
|
|
|
|
|
|
| 4 |
sdk: gradio
|
| 5 |
+
sdk_version: 3.36.1
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
+
# Tacotron2-Japanese
|
| 8 |
+
- Tacotron2 implementation of Japanese
|
| 9 |
+
## Links
|
| 10 |
+
* Reference: [NVIDIA/tacotron2](https://github.com/NVIDIA/tacotron2)
|
| 11 |
+
* [Pre-training tacotron2 models](https://github.com/CjangCjengh/TTSModels)
|
| 12 |
+
* [latest changes can be viewed in this repository](https://github.com/StarxSky/tacotron2-JP)
|
| 13 |
|
| 14 |
+
## How to use
|
| 15 |
+
1. Put raw Japanese texts in ./filelists
|
| 16 |
+
2. Put WAV files in ./wav
|
| 17 |
+
3. (Optional) Download NVIDIA's [pretrained model](https://drive.google.com/file/d/1c5ZTuT7J08wLUoVZ2KkUs_VdZuJ86ZqA/view?usp=sharing)
|
| 18 |
+
4. Open ./train.ipynb to install requirements and start training
|
| 19 |
+
5. Download NVIDIA's [WaveGlow model](https://drive.google.com/open?id=1rpK8CzAAirq9sWZhe9nlfvxMF1dRgFbF)
|
| 20 |
+
6. Open ./inference.ipynb to generate voice
|
| 21 |
+
|
| 22 |
+
## Cleaners
|
| 23 |
+
File ./hparams.py line 30
|
| 24 |
+
### 1. 'japanese_cleaners'
|
| 25 |
+
#### Before
|
| 26 |
+
何かあったらいつでも話して下さい。学院のことじゃなく、私事に関することでも何でも
|
| 27 |
+
#### After
|
| 28 |
+
nanikaacltaraitsudemohanashItekudasai.gakuiNnokotojanaku,shijinikaNsurukotodemonanidemo.
|
| 29 |
+
### 2. 'japanese_tokenization_cleaners'
|
| 30 |
+
#### Before
|
| 31 |
+
何かあったらいつでも話して下さい。学院のことじゃなく、私事に関することでも何でも
|
| 32 |
+
#### After
|
| 33 |
+
nani ka acl tara itsu demo hanashi te kudasai. gakuiN no koto ja naku, shiji nikaNsuru koto de mo naNdemo.
|
| 34 |
+
### 3. 'japanese_accent_cleaners'
|
| 35 |
+
#### Before
|
| 36 |
+
何かあったらいつでも話して下さい。学院のことじゃなく、私事に関することでも何でも
|
| 37 |
+
#### After
|
| 38 |
+
:na)nika a)cltara i)tsudemo ha(na)shIte ku(dasa)i.:ga(kuiNno ko(to)janaku,:shi)jini ka(Nsu)ru ko(to)demo na)nidemo.
|
| 39 |
+
### 4. 'japanese_phrase_cleaners'
|
| 40 |
+
#### Before
|
| 41 |
+
何かあったらいつでも話して下さい。学院のことじゃなく、私事に関することでも何でも
|
| 42 |
+
#### After
|
| 43 |
+
nanika acltara itsudemo hanashIte kudasai. gakuiNno kotojanaku, shijini kaNsuru kotodemo nanidemo.
|
Yue_gradio.py
ADDED
|
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#好用的
|
| 2 |
+
|
| 3 |
+
import os
|
| 4 |
+
os.system('pip install -U tensorflow')
|
| 5 |
+
os.system('pip install -q unidecode tensorboardX')
|
| 6 |
+
os.system('pip install librosa==0.8.0')
|
| 7 |
+
os.system('pip install pysoundfile==0.9.0.post1')
|
| 8 |
+
os.system('pip install unidecode==1.3.4')
|
| 9 |
+
os.system('pip install pyopenjtalk --no-build-isolation')
|
| 10 |
+
os.system('pip install inflect==5.6.2')
|
| 11 |
+
os.system('pip install janome==0.4.2')
|
| 12 |
+
os.system('pip install tqdm -q')
|
| 13 |
+
os.system('pip install gdown')
|
| 14 |
+
os.system('pip install -q librosa unidecode')
|
| 15 |
+
|
| 16 |
+
os.system('pip install ipython')
|
| 17 |
+
os.system('pip install --upgrade jupyter ipywidgets')
|
| 18 |
+
os.system('jupyter nbextension enable --py widgetsnbextension')
|
| 19 |
+
os.system('pip uninstall tqdm')
|
| 20 |
+
os.system('pip install tqdm')
|
| 21 |
+
|
| 22 |
+
import time
|
| 23 |
+
import pyopenjtalk
|
| 24 |
+
import soundfile as sf
|
| 25 |
+
import gradio as gr
|
| 26 |
+
import torch
|
| 27 |
+
import IPython.display as ipd
|
| 28 |
+
import numpy as np
|
| 29 |
+
import torch
|
| 30 |
+
import json
|
| 31 |
+
from hparams import create_hparams
|
| 32 |
+
from model import Tacotron2
|
| 33 |
+
from layers import TacotronSTFT
|
| 34 |
+
from audio_processing import griffin_lim
|
| 35 |
+
from text import text_to_sequence
|
| 36 |
+
from env import AttrDict
|
| 37 |
+
from meldataset import MAX_WAV_VALUE
|
| 38 |
+
from models import Generator
|
| 39 |
+
|
| 40 |
+
#@,tlitle 配置并运行
|
| 41 |
+
|
| 42 |
+
#国际 HiFi-GAN 模型(有点机器音): 1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW
|
| 43 |
+
#@markdown 你训练好的tacotron2模型的路径填在`Tacotron2_Model`这里
|
| 44 |
+
Tacotron2_Model = '/content/Yui_TrapGenesis'#@param {type:"string"}
|
| 45 |
+
TACOTRON2_ID = Tacotron2_Model
|
| 46 |
+
HIFIGAN_ID = "1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW"
|
| 47 |
+
#@markdown 选择预处理文本的cleaner
|
| 48 |
+
text_cleaner = 'japanese_phrase_cleaners'#@param {type:"string"}
|
| 49 |
+
import pyopenjtalk
|
| 50 |
+
import soundfile as sf
|
| 51 |
+
import gradio as gr
|
| 52 |
+
|
| 53 |
+
# 全局变量声明
|
| 54 |
+
model = None
|
| 55 |
+
hparams = None
|
| 56 |
+
hifigan = None
|
| 57 |
+
thisdict = None
|
| 58 |
+
pronounciation_dictionary = False
|
| 59 |
+
show_graphs = False # 添加show_graphs变量,并赋予默认值
|
| 60 |
+
|
| 61 |
+
# 初始化函数
|
| 62 |
+
def initialize():
|
| 63 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary
|
| 64 |
+
|
| 65 |
+
# 检查是否已初始化
|
| 66 |
+
try:
|
| 67 |
+
initialized
|
| 68 |
+
except NameError:
|
| 69 |
+
print("Setting up, please wait.\n")
|
| 70 |
+
|
| 71 |
+
from tqdm.notebook import tqdm
|
| 72 |
+
with tqdm(total=5, leave=False) as pbar:
|
| 73 |
+
import os
|
| 74 |
+
from os.path import exists, join, basename, splitext
|
| 75 |
+
git_repo_url = 'https://github.com/CjangCjengh/tacotron2-japanese.git'
|
| 76 |
+
project_name = splitext(basename(git_repo_url))[0]
|
| 77 |
+
if not exists(project_name):
|
| 78 |
+
# clone and install
|
| 79 |
+
os.system('git clone -q --recursive {git_repo_url}')
|
| 80 |
+
os.system('git clone -q --recursive https://github.com/SortAnon/hifi-gan')
|
| 81 |
+
|
| 82 |
+
pbar.update(1) # downloaded TT2 and HiFi-GAN
|
| 83 |
+
import sys
|
| 84 |
+
sys.path.append('hifi-gan')
|
| 85 |
+
sys.path.append(project_name)
|
| 86 |
+
import time
|
| 87 |
+
import matplotlib
|
| 88 |
+
import matplotlib.pylab as plt
|
| 89 |
+
import gdown
|
| 90 |
+
d = 'https://drive.google.com/uc?id='
|
| 91 |
+
|
| 92 |
+
# %matplotlib inline
|
| 93 |
+
import IPython.display as ipd
|
| 94 |
+
import numpy as np
|
| 95 |
+
import torch
|
| 96 |
+
import json
|
| 97 |
+
from hparams import create_hparams
|
| 98 |
+
from model import Tacotron2
|
| 99 |
+
from layers import TacotronSTFT
|
| 100 |
+
from audio_processing import griffin_lim
|
| 101 |
+
from text import text_to_sequence
|
| 102 |
+
from env import AttrDict
|
| 103 |
+
from meldataset import MAX_WAV_VALUE
|
| 104 |
+
from models import Generator
|
| 105 |
+
|
| 106 |
+
pbar.update(1) # initialized Dependancies
|
| 107 |
+
|
| 108 |
+
graph_width = 900
|
| 109 |
+
graph_height = 360
|
| 110 |
+
def plot_data(data, figsize=(int(graph_width/100), int(graph_height/100))):
|
| 111 |
+
# %matplotlib inline
|
| 112 |
+
fig, axes = plt.subplots(1, len(data), figsize=figsize)
|
| 113 |
+
for i in range(len(data)):
|
| 114 |
+
axes[i].imshow(data[i], aspect='auto', origin='upper',
|
| 115 |
+
interpolation='none', cmap='inferno')
|
| 116 |
+
fig.canvas.draw()
|
| 117 |
+
plt.show()
|
| 118 |
+
|
| 119 |
+
# Setup Pronounciation Dictionary
|
| 120 |
+
os.system('wget https://github.com/wind4000/tacotron2/releases/download/v0.2/merged.dict.txt')
|
| 121 |
+
thisdict = {}
|
| 122 |
+
for line in reversed((open('merged.dict.txt', "r").read()).splitlines()):
|
| 123 |
+
thisdict[(line.split(" ",1))[0]] = (line.split(" ",1))[1].strip()
|
| 124 |
+
|
| 125 |
+
pbar.update(1) # Downloaded and Set up Pronounciation Dictionary
|
| 126 |
+
|
| 127 |
+
def ARPA(text, punctuation=r"!?,.;", EOS_Token=True):
|
| 128 |
+
out = ''
|
| 129 |
+
for word_ in text.split(" "):
|
| 130 |
+
word=word_; end_chars = ''
|
| 131 |
+
while any(elem in word for elem in punctuation) and len(word) > 1:
|
| 132 |
+
if word[-1] in punctuation: end_chars = word[-1] + end_chars; word = word[:-1]
|
| 133 |
+
else: break
|
| 134 |
+
try:
|
| 135 |
+
word_arpa = thisdict[word.upper()]
|
| 136 |
+
word = "{" + str(word_arpa) + "}"
|
| 137 |
+
except KeyError: pass
|
| 138 |
+
out = (out + " " + word + end_chars).strip()
|
| 139 |
+
if EOS_Token and out[-1] != ";": out += ";"
|
| 140 |
+
return out
|
| 141 |
+
|
| 142 |
+
def get_hifigan(MODEL_ID):
|
| 143 |
+
# Download HiFi-GAN
|
| 144 |
+
hifigan_pretrained_model = 'hifimodel'
|
| 145 |
+
gdown.download(d+MODEL_ID, hifigan_pretrained_model, quiet=False)
|
| 146 |
+
if not exists(hifigan_pretrained_model):
|
| 147 |
+
raise Exception("HiFI-GAN model failed to download!")
|
| 148 |
+
|
| 149 |
+
# Load HiFi-GAN
|
| 150 |
+
conf = os.path.join("hifi-gan", "config_v1.json")
|
| 151 |
+
with open(conf) as f:
|
| 152 |
+
json_config = json.loads(f.read())
|
| 153 |
+
h = AttrDict(json_config)
|
| 154 |
+
torch.manual_seed(h.seed)
|
| 155 |
+
hifigan = Generator(h).to(torch.device("cuda"))
|
| 156 |
+
state_dict_g = torch.load(hifigan_pretrained_model, map_location=torch.device("cuda"))
|
| 157 |
+
hifigan.load_state_dict(state_dict_g["generator"])
|
| 158 |
+
hifigan.eval()
|
| 159 |
+
hifigan.remove_weight_norm()
|
| 160 |
+
return hifigan, h
|
| 161 |
+
|
| 162 |
+
hifigan, h = get_hifigan(HIFIGAN_ID)
|
| 163 |
+
pbar.update(1) # Downloaded and Set up HiFi-GAN
|
| 164 |
+
|
| 165 |
+
def has_MMI(STATE_DICT):
|
| 166 |
+
return any(True for x in STATE_DICT.keys() if "mi." in x)
|
| 167 |
+
|
| 168 |
+
def get_Tactron2(MODEL_ID):
|
| 169 |
+
# Download Tacotron2
|
| 170 |
+
tacotron2_pretrained_model = TACOTRON2_ID
|
| 171 |
+
if not exists(tacotron2_pretrained_model):
|
| 172 |
+
raise Exception("Tacotron2 model failed to download!")
|
| 173 |
+
# Load Tacotron2 and Config
|
| 174 |
+
hparams = create_hparams()
|
| 175 |
+
hparams.sampling_rate = 22050
|
| 176 |
+
hparams.max_decoder_steps = 2000 # Max Duration
|
| 177 |
+
hparams.gate_threshold = 0.80 # Model must be 25% sure the clip is over before ending generation
|
| 178 |
+
model = Tacotron2(hparams)
|
| 179 |
+
state_dict = torch.load(tacotron2_pretrained_model)['state_dict']
|
| 180 |
+
if has_MMI(state_dict):
|
| 181 |
+
raise Exception("ERROR: This notebook does not currently support MMI models.")
|
| 182 |
+
model.load_state_dict(state_dict)
|
| 183 |
+
_ = model.cuda().eval().half()
|
| 184 |
+
return model, hparams
|
| 185 |
+
|
| 186 |
+
model, hparams = get_Tactron2(TACOTRON2_ID)
|
| 187 |
+
previous_tt2_id = TACOTRON2_ID
|
| 188 |
+
|
| 189 |
+
pbar.update(1) # Downloaded and Set up Tacotron2
|
| 190 |
+
|
| 191 |
+
# 初始化
|
| 192 |
+
initialize()
|
| 193 |
+
|
| 194 |
+
import soundfile as sf
|
| 195 |
+
|
| 196 |
+
def end_to_end_infer(text, pronounciation_dictionary, show_graphs):
|
| 197 |
+
audio = None # 定义一个变量用于存储音频数据
|
| 198 |
+
for i in [x for x in text.split("\n") if len(x)]:
|
| 199 |
+
if not pronounciation_dictionary:
|
| 200 |
+
if i[-1] != ";":
|
| 201 |
+
i = i + ";"
|
| 202 |
+
else:
|
| 203 |
+
i = ARPA(i)
|
| 204 |
+
with torch.no_grad():
|
| 205 |
+
sequence = np.array(text_to_sequence(i, [text_cleaner]))[None, :]
|
| 206 |
+
sequence = torch.autograd.Variable(torch.from_numpy(sequence)).cuda().long()
|
| 207 |
+
mel_outputs, mel_outputs_postnet, _, alignments = model.inference(sequence)
|
| 208 |
+
if show_graphs:
|
| 209 |
+
plot_data((mel_outputs_postnet.float().data.cpu().numpy()[0],
|
| 210 |
+
alignments.float().data.cpu().numpy()[0].T))
|
| 211 |
+
y_g_hat = hifigan(mel_outputs_postnet.float())
|
| 212 |
+
audio = y_g_hat.squeeze()
|
| 213 |
+
audio = audio * MAX_WAV_VALUE
|
| 214 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 215 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 216 |
+
print(f"音频已保存为 {output_filename}")
|
| 217 |
+
print("")
|
| 218 |
+
ipd.display(ipd.Audio(audio.cpu().numpy().astype("int16"), rate=hparams.sampling_rate))
|
| 219 |
+
return audio # 返回音频数据
|
| 220 |
+
|
| 221 |
+
# 文本到语音转换函数
|
| 222 |
+
def text_to_speech(text, max_decoder_steps=2000, gate_threshold=0.5):
|
| 223 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary, show_graphs
|
| 224 |
+
|
| 225 |
+
hparams.max_decoder_steps = max_decoder_steps
|
| 226 |
+
hparams.gate_threshold = gate_threshold
|
| 227 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 228 |
+
audio = end_to_end_infer(text, pronounciation_dictionary, show_graphs)
|
| 229 |
+
if audio is not None:
|
| 230 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 231 |
+
return output_filename
|
| 232 |
+
else:
|
| 233 |
+
return None
|
| 234 |
+
|
| 235 |
+
# Gradio界面
|
| 236 |
+
inputs = [
|
| 237 |
+
gr.inputs.Textbox(lines=3, label="输入文本"),
|
| 238 |
+
gr.inputs.Slider(minimum=100, maximum=5000, default=2000, step=100, label="最大解码步数"),
|
| 239 |
+
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.5, step=0.05, label="门控阈值")
|
| 240 |
+
]
|
| 241 |
+
outputs = gr.outputs.File(label="下载生成的音频")
|
| 242 |
+
|
| 243 |
+
gr.Interface(fn=text_to_speech, inputs=inputs, outputs=outputs).launch(debug=True,share=True)
|
Yue_gradio_cpu.py
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#好用的
|
| 2 |
+
|
| 3 |
+
import os
|
| 4 |
+
os.system('pip install -U tensorflow')
|
| 5 |
+
os.system('pip install -q unidecode tensorboardX')
|
| 6 |
+
os.system('pip install librosa==0.8.0')
|
| 7 |
+
os.system('pip install pysoundfile==0.9.0.post1')
|
| 8 |
+
os.system('pip install unidecode==1.3.4')
|
| 9 |
+
os.system('pip install pyopenjtalk --no-build-isolation')
|
| 10 |
+
os.system('pip install inflect==5.6.2')
|
| 11 |
+
os.system('pip install janome==0.4.2')
|
| 12 |
+
#os.system('pip install tqdm -q')
|
| 13 |
+
os.system('pip install gdown')
|
| 14 |
+
os.system('pip install -q librosa unidecode')
|
| 15 |
+
|
| 16 |
+
os.system('pip install ipython')
|
| 17 |
+
os.system('pip install --upgrade jupyter ipywidgets')
|
| 18 |
+
os.system('jupyter nbextension enable --py widgetsnbextension')
|
| 19 |
+
#os.system('pip uninstall tqdm')
|
| 20 |
+
os.system('pip install tqdm')
|
| 21 |
+
|
| 22 |
+
import time
|
| 23 |
+
import pyopenjtalk
|
| 24 |
+
import soundfile as sf
|
| 25 |
+
import gradio as gr
|
| 26 |
+
import torch
|
| 27 |
+
import IPython.display as ipd
|
| 28 |
+
import numpy as np
|
| 29 |
+
import torch
|
| 30 |
+
import json
|
| 31 |
+
from hparams import create_hparams
|
| 32 |
+
from model import Tacotron2
|
| 33 |
+
from layers import TacotronSTFT
|
| 34 |
+
from audio_processing import griffin_lim
|
| 35 |
+
from text import text_to_sequence
|
| 36 |
+
from env import AttrDict
|
| 37 |
+
from meldataset import MAX_WAV_VALUE
|
| 38 |
+
from models import Generator
|
| 39 |
+
|
| 40 |
+
#@,tlitle 配置并运行
|
| 41 |
+
|
| 42 |
+
#国际 HiFi-GAN 模型(有点机器音): 1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW
|
| 43 |
+
#@markdown 你训练好的tacotron2模型的路径填在`Tacotron2_Model`这里
|
| 44 |
+
Tacotron2_Model = 'Yui_TrapGenesis'#@param {type:"string"}
|
| 45 |
+
TACOTRON2_ID = Tacotron2_Model
|
| 46 |
+
HIFIGAN_ID = "1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW"
|
| 47 |
+
#@markdown 选择预处理文本的cleaner
|
| 48 |
+
text_cleaner = 'japanese_phrase_cleaners'#@param {type:"string"}
|
| 49 |
+
import pyopenjtalk
|
| 50 |
+
import soundfile as sf
|
| 51 |
+
import gradio as gr
|
| 52 |
+
|
| 53 |
+
# 全局变量声明
|
| 54 |
+
model = None
|
| 55 |
+
hparams = None
|
| 56 |
+
hifigan = None
|
| 57 |
+
thisdict = None
|
| 58 |
+
pronounciation_dictionary = False
|
| 59 |
+
show_graphs = False # 添加show_graphs变量,并赋予默认值
|
| 60 |
+
|
| 61 |
+
# 初始化函数
|
| 62 |
+
def initialize():
|
| 63 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary
|
| 64 |
+
|
| 65 |
+
# 检查是否已初始化
|
| 66 |
+
try:
|
| 67 |
+
initialized
|
| 68 |
+
except NameError:
|
| 69 |
+
print("Setting up, please wait.\n")
|
| 70 |
+
|
| 71 |
+
from tqdm.notebook import tqdm
|
| 72 |
+
with tqdm(total=5, leave=False) as pbar:
|
| 73 |
+
import os
|
| 74 |
+
from os.path import exists, join, basename, splitext
|
| 75 |
+
git_repo_url = 'https://github.com/CjangCjengh/tacotron2-japanese.git'
|
| 76 |
+
project_name = splitext(basename(git_repo_url))[0]
|
| 77 |
+
if not exists(project_name):
|
| 78 |
+
# clone and install
|
| 79 |
+
os.system('git clone -q --recursive {git_repo_url}')
|
| 80 |
+
os.system('git clone -q --recursive https://github.com/SortAnon/hifi-gan')
|
| 81 |
+
|
| 82 |
+
pbar.update(1) # downloaded TT2 and HiFi-GAN
|
| 83 |
+
import sys
|
| 84 |
+
sys.path.append('hifi-gan')
|
| 85 |
+
sys.path.append(project_name)
|
| 86 |
+
import time
|
| 87 |
+
import matplotlib
|
| 88 |
+
import matplotlib.pylab as plt
|
| 89 |
+
import gdown
|
| 90 |
+
d = 'https://drive.google.com/uc?id='
|
| 91 |
+
|
| 92 |
+
# %matplotlib inline
|
| 93 |
+
import IPython.display as ipd
|
| 94 |
+
import numpy as np
|
| 95 |
+
import torch
|
| 96 |
+
import json
|
| 97 |
+
from hparams import create_hparams
|
| 98 |
+
from model import Tacotron2
|
| 99 |
+
from layers import TacotronSTFT
|
| 100 |
+
from audio_processing import griffin_lim
|
| 101 |
+
from text import text_to_sequence
|
| 102 |
+
from env import AttrDict
|
| 103 |
+
from meldataset import MAX_WAV_VALUE
|
| 104 |
+
from models import Generator
|
| 105 |
+
|
| 106 |
+
pbar.update(1) # initialized Dependancies
|
| 107 |
+
|
| 108 |
+
graph_width = 900
|
| 109 |
+
graph_height = 360
|
| 110 |
+
def plot_data(data, figsize=(int(graph_width/100), int(graph_height/100))):
|
| 111 |
+
# %matplotlib inline
|
| 112 |
+
fig, axes = plt.subplots(1, len(data), figsize=figsize)
|
| 113 |
+
for i in range(len(data)):
|
| 114 |
+
axes[i].imshow(data[i], aspect='auto', origin='upper',
|
| 115 |
+
interpolation='none', cmap='inferno')
|
| 116 |
+
fig.canvas.draw()
|
| 117 |
+
plt.show()
|
| 118 |
+
|
| 119 |
+
# Setup Pronounciation Dictionary
|
| 120 |
+
os.system('wget https://github.com/wind4000/tacotron2/releases/download/v0.2/merged.dict.txt')
|
| 121 |
+
thisdict = {}
|
| 122 |
+
for line in reversed((open('merged.dict.txt', "r").read()).splitlines()):
|
| 123 |
+
thisdict[(line.split(" ",1))[0]] = (line.split(" ",1))[1].strip()
|
| 124 |
+
|
| 125 |
+
pbar.update(1) # Downloaded and Set up Pronounciation Dictionary
|
| 126 |
+
|
| 127 |
+
def ARPA(text, punctuation=r"!?,.;", EOS_Token=True):
|
| 128 |
+
out = ''
|
| 129 |
+
for word_ in text.split(" "):
|
| 130 |
+
word=word_; end_chars = ''
|
| 131 |
+
while any(elem in word for elem in punctuation) and len(word) > 1:
|
| 132 |
+
if word[-1] in punctuation: end_chars = word[-1] + end_chars; word = word[:-1]
|
| 133 |
+
else: break
|
| 134 |
+
try:
|
| 135 |
+
word_arpa = thisdict[word.upper()]
|
| 136 |
+
word = "{" + str(word_arpa) + "}"
|
| 137 |
+
except KeyError: pass
|
| 138 |
+
out = (out + " " + word + end_chars).strip()
|
| 139 |
+
if EOS_Token and out[-1] != ";": out += ";"
|
| 140 |
+
return out
|
| 141 |
+
|
| 142 |
+
def get_hifigan(MODEL_ID):
|
| 143 |
+
# Download HiFi-GAN
|
| 144 |
+
hifigan_pretrained_model = 'hifimodel'
|
| 145 |
+
gdown.download(d+MODEL_ID, hifigan_pretrained_model, quiet=False)
|
| 146 |
+
if not exists(hifigan_pretrained_model):
|
| 147 |
+
raise Exception("HiFI-GAN model failed to download!")
|
| 148 |
+
|
| 149 |
+
# Load HiFi-GAN
|
| 150 |
+
conf = os.path.join("hifi-gan", "config_v1.json")
|
| 151 |
+
with open(conf) as f:
|
| 152 |
+
json_config = json.loads(f.read())
|
| 153 |
+
h = AttrDict(json_config)
|
| 154 |
+
torch.manual_seed(h.seed)
|
| 155 |
+
hifigan = Generator(h).to(torch.device("cpu"))
|
| 156 |
+
state_dict_g = torch.load(hifigan_pretrained_model, map_location=torch.device("cpu"))
|
| 157 |
+
hifigan.load_state_dict(state_dict_g["generator"])
|
| 158 |
+
hifigan.eval()
|
| 159 |
+
hifigan.remove_weight_norm()
|
| 160 |
+
return hifigan, h
|
| 161 |
+
|
| 162 |
+
hifigan, h = get_hifigan(HIFIGAN_ID)
|
| 163 |
+
pbar.update(1) # Downloaded and Set up HiFi-GAN
|
| 164 |
+
|
| 165 |
+
def has_MMI(STATE_DICT):
|
| 166 |
+
return any(True for x in STATE_DICT.keys() if "mi." in x)
|
| 167 |
+
|
| 168 |
+
def get_Tactron2(MODEL_ID):
|
| 169 |
+
# Download Tacotron2
|
| 170 |
+
tacotron2_pretrained_model = TACOTRON2_ID
|
| 171 |
+
if not exists(tacotron2_pretrained_model):
|
| 172 |
+
raise Exception("Tacotron2 model failed to download!")
|
| 173 |
+
# Load Tacotron2 and Config
|
| 174 |
+
hparams = create_hparams()
|
| 175 |
+
hparams.sampling_rate = 22050
|
| 176 |
+
hparams.max_decoder_steps = 2000 # Max Duration
|
| 177 |
+
hparams.gate_threshold = 0.80 # Model must be 25% sure the clip is over before ending generation
|
| 178 |
+
model = Tacotron2(hparams)
|
| 179 |
+
state_dict = torch.load(tacotron2_pretrained_model, map_location=torch.device('cpu'))['state_dict']
|
| 180 |
+
|
| 181 |
+
if has_MMI(state_dict):
|
| 182 |
+
raise Exception("ERROR: This notebook does not currently support MMI models.")
|
| 183 |
+
model.load_state_dict(state_dict)
|
| 184 |
+
_ = model.cpu().eval().float()
|
| 185 |
+
return model, hparams
|
| 186 |
+
|
| 187 |
+
model, hparams = get_Tactron2(TACOTRON2_ID)
|
| 188 |
+
previous_tt2_id = TACOTRON2_ID
|
| 189 |
+
|
| 190 |
+
pbar.update(1) # Downloaded and Set up Tacotron2
|
| 191 |
+
|
| 192 |
+
# 初始化
|
| 193 |
+
initialize()
|
| 194 |
+
|
| 195 |
+
import soundfile as sf
|
| 196 |
+
|
| 197 |
+
def end_to_end_infer(text, pronounciation_dictionary, show_graphs):
|
| 198 |
+
audio = None # 定义一个变量用于存储音频数据
|
| 199 |
+
for i in [x for x in text.split("\n") if len(x)]:
|
| 200 |
+
if not pronounciation_dictionary:
|
| 201 |
+
if i[-1] != ";":
|
| 202 |
+
i = i + ";"
|
| 203 |
+
else:
|
| 204 |
+
i = ARPA(i)
|
| 205 |
+
with torch.no_grad():
|
| 206 |
+
sequence = np.array(text_to_sequence(i, [text_cleaner]))[None, :]
|
| 207 |
+
sequence = torch.autograd.Variable(torch.from_numpy(sequence)).cpu().long() # 或者使用 .int()
|
| 208 |
+
|
| 209 |
+
mel_outputs, mel_outputs_postnet, _, alignments = model.inference(sequence)
|
| 210 |
+
if show_graphs:
|
| 211 |
+
plot_data((mel_outputs_postnet.float().data.cpu().numpy()[0],
|
| 212 |
+
alignments.float().data.cpu().numpy()[0].T))
|
| 213 |
+
y_g_hat = hifigan(mel_outputs_postnet.float())
|
| 214 |
+
audio = y_g_hat.squeeze()
|
| 215 |
+
audio = audio * MAX_WAV_VALUE
|
| 216 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 217 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 218 |
+
print(f"音频已保存为 {output_filename}")
|
| 219 |
+
print("")
|
| 220 |
+
ipd.display(ipd.Audio(audio.cpu().numpy().astype("int16"), rate=hparams.sampling_rate))
|
| 221 |
+
return audio # 返回音频数据
|
| 222 |
+
|
| 223 |
+
# 文本到语音转换函数
|
| 224 |
+
def text_to_speech(text, max_decoder_steps=2000, gate_threshold=0.5):
|
| 225 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary, show_graphs
|
| 226 |
+
|
| 227 |
+
hparams.max_decoder_steps = max_decoder_steps
|
| 228 |
+
hparams.gate_threshold = gate_threshold
|
| 229 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 230 |
+
audio = end_to_end_infer(text, pronounciation_dictionary, show_graphs)
|
| 231 |
+
if audio is not None:
|
| 232 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 233 |
+
return output_filename
|
| 234 |
+
else:
|
| 235 |
+
return None
|
| 236 |
+
|
| 237 |
+
# Gradio界面
|
| 238 |
+
inputs = [
|
| 239 |
+
gr.inputs.Textbox(lines=3, label="输入文本"),
|
| 240 |
+
gr.inputs.Slider(minimum=100, maximum=5000, default=1500, step=100, label="最大解码步数"),
|
| 241 |
+
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.35, step=0.05, label="门控阈值")
|
| 242 |
+
]
|
| 243 |
+
outputs = gr.outputs.File(label="下载生成的音频")
|
| 244 |
+
|
| 245 |
+
gr.Interface(fn=text_to_speech, inputs=inputs, outputs=outputs).launch(debug=True)
|
Yui_TTS/.gitattributes
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
###############################################################################
|
| 2 |
+
# Set default behavior to automatically normalize line endings.
|
| 3 |
+
###############################################################################
|
| 4 |
+
* text=auto
|
| 5 |
+
|
| 6 |
+
###############################################################################
|
| 7 |
+
# Set default behavior for command prompt diff.
|
| 8 |
+
#
|
| 9 |
+
# This is need for earlier builds of msysgit that does not have it on by
|
| 10 |
+
# default for csharp files.
|
| 11 |
+
# Note: This is only used by command line
|
| 12 |
+
###############################################################################
|
| 13 |
+
#*.cs diff=csharp
|
| 14 |
+
|
| 15 |
+
###############################################################################
|
| 16 |
+
# Set the merge driver for project and solution files
|
| 17 |
+
#
|
| 18 |
+
# Merging from the command prompt will add diff markers to the files if there
|
| 19 |
+
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
| 20 |
+
# the diff markers are never inserted). Diff markers may cause the following
|
| 21 |
+
# file extensions to fail to load in VS. An alternative would be to treat
|
| 22 |
+
# these files as binary and thus will always conflict and require user
|
| 23 |
+
# intervention with every merge. To do so, just uncomment the entries below
|
| 24 |
+
###############################################################################
|
| 25 |
+
#*.sln merge=binary
|
| 26 |
+
#*.csproj merge=binary
|
| 27 |
+
#*.vbproj merge=binary
|
| 28 |
+
#*.vcxproj merge=binary
|
| 29 |
+
#*.vcproj merge=binary
|
| 30 |
+
#*.dbproj merge=binary
|
| 31 |
+
#*.fsproj merge=binary
|
| 32 |
+
#*.lsproj merge=binary
|
| 33 |
+
#*.wixproj merge=binary
|
| 34 |
+
#*.modelproj merge=binary
|
| 35 |
+
#*.sqlproj merge=binary
|
| 36 |
+
#*.wwaproj merge=binary
|
| 37 |
+
|
| 38 |
+
###############################################################################
|
| 39 |
+
# behavior for image files
|
| 40 |
+
#
|
| 41 |
+
# image files are treated as binary by default.
|
| 42 |
+
###############################################################################
|
| 43 |
+
#*.jpg binary
|
| 44 |
+
#*.png binary
|
| 45 |
+
#*.gif binary
|
| 46 |
+
|
| 47 |
+
###############################################################################
|
| 48 |
+
# diff behavior for common document formats
|
| 49 |
+
#
|
| 50 |
+
# Convert binary document formats to text before diffing them. This feature
|
| 51 |
+
# is only available from the command line. Turn it on by uncommenting the
|
| 52 |
+
# entries below.
|
| 53 |
+
###############################################################################
|
| 54 |
+
#*.doc diff=astextplain
|
| 55 |
+
#*.DOC diff=astextplain
|
| 56 |
+
#*.docx diff=astextplain
|
| 57 |
+
#*.DOCX diff=astextplain
|
| 58 |
+
#*.dot diff=astextplain
|
| 59 |
+
#*.DOT diff=astextplain
|
| 60 |
+
#*.pdf diff=astextplain
|
| 61 |
+
#*.PDF diff=astextplain
|
| 62 |
+
#*.rtf diff=astextplain
|
| 63 |
+
#*.RTF diff=astextplain
|
| 64 |
+
Yui_TrapGenesis filter=lfs diff=lfs merge=lfs -text
|
Yui_TTS/.gitignore
ADDED
|
@@ -0,0 +1,374 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Ignore Visual Studio temporary files, build results, and
|
| 2 |
+
## files generated by popular Visual Studio add-ons.
|
| 3 |
+
##
|
| 4 |
+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
| 5 |
+
|
| 6 |
+
# User-specific files
|
| 7 |
+
*.rsuser
|
| 8 |
+
*.suo
|
| 9 |
+
*.user
|
| 10 |
+
*.userosscache
|
| 11 |
+
*.sln.docstates
|
| 12 |
+
|
| 13 |
+
# User-specific files (MonoDevelop/Xamarin Studio)
|
| 14 |
+
*.userprefs
|
| 15 |
+
|
| 16 |
+
# Mono auto generated files
|
| 17 |
+
mono_crash.*
|
| 18 |
+
|
| 19 |
+
# Build results
|
| 20 |
+
[Dd]ebug/
|
| 21 |
+
[Dd]ebugPublic/
|
| 22 |
+
[Rr]elease/
|
| 23 |
+
[Rr]eleases/
|
| 24 |
+
x64/
|
| 25 |
+
x86/
|
| 26 |
+
[Ww][Ii][Nn]32/
|
| 27 |
+
[Aa][Rr][Mm]/
|
| 28 |
+
[Aa][Rr][Mm]64/
|
| 29 |
+
bld/
|
| 30 |
+
[Bb]in/
|
| 31 |
+
[Oo]bj/
|
| 32 |
+
[Oo]ut/
|
| 33 |
+
[Ll]og/
|
| 34 |
+
[Ll]ogs/
|
| 35 |
+
|
| 36 |
+
# Visual Studio 2015/2017 cache/options directory
|
| 37 |
+
.vs/
|
| 38 |
+
# Uncomment if you have tasks that create the project's static files in wwwroot
|
| 39 |
+
#wwwroot/
|
| 40 |
+
|
| 41 |
+
# Visual Studio 2017 auto generated files
|
| 42 |
+
Generated\ Files/
|
| 43 |
+
|
| 44 |
+
# MSTest test Results
|
| 45 |
+
[Tt]est[Rr]esult*/
|
| 46 |
+
[Bb]uild[Ll]og.*
|
| 47 |
+
|
| 48 |
+
# NUnit
|
| 49 |
+
*.VisualState.xml
|
| 50 |
+
TestResult.xml
|
| 51 |
+
nunit-*.xml
|
| 52 |
+
|
| 53 |
+
# Build Results of an ATL Project
|
| 54 |
+
[Dd]ebugPS/
|
| 55 |
+
[Rr]eleasePS/
|
| 56 |
+
dlldata.c
|
| 57 |
+
|
| 58 |
+
# Benchmark Results
|
| 59 |
+
BenchmarkDotNet.Artifacts/
|
| 60 |
+
|
| 61 |
+
# .NET Core
|
| 62 |
+
project.lock.json
|
| 63 |
+
project.fragment.lock.json
|
| 64 |
+
artifacts/
|
| 65 |
+
|
| 66 |
+
# ASP.NET Scaffolding
|
| 67 |
+
ScaffoldingReadMe.txt
|
| 68 |
+
|
| 69 |
+
# StyleCop
|
| 70 |
+
StyleCopReport.xml
|
| 71 |
+
|
| 72 |
+
# Files built by Visual Studio
|
| 73 |
+
*_i.c
|
| 74 |
+
*_p.c
|
| 75 |
+
*_h.h
|
| 76 |
+
*.ilk
|
| 77 |
+
*.meta
|
| 78 |
+
*.obj
|
| 79 |
+
*.iobj
|
| 80 |
+
*.pch
|
| 81 |
+
*.pdb
|
| 82 |
+
*.ipdb
|
| 83 |
+
*.pgc
|
| 84 |
+
*.pgd
|
| 85 |
+
*.rsp
|
| 86 |
+
*.sbr
|
| 87 |
+
*.tlb
|
| 88 |
+
*.tli
|
| 89 |
+
*.tlh
|
| 90 |
+
*.tmp
|
| 91 |
+
*.tmp_proj
|
| 92 |
+
*_wpftmp.csproj
|
| 93 |
+
*.log
|
| 94 |
+
*.vspscc
|
| 95 |
+
*.vssscc
|
| 96 |
+
.builds
|
| 97 |
+
*.pidb
|
| 98 |
+
*.svclog
|
| 99 |
+
*.scc
|
| 100 |
+
|
| 101 |
+
# Chutzpah Test files
|
| 102 |
+
_Chutzpah*
|
| 103 |
+
|
| 104 |
+
# Visual C++ cache files
|
| 105 |
+
ipch/
|
| 106 |
+
*.aps
|
| 107 |
+
*.ncb
|
| 108 |
+
*.opendb
|
| 109 |
+
*.opensdf
|
| 110 |
+
*.sdf
|
| 111 |
+
*.cachefile
|
| 112 |
+
*.VC.db
|
| 113 |
+
*.VC.VC.opendb
|
| 114 |
+
|
| 115 |
+
# Visual Studio profiler
|
| 116 |
+
*.psess
|
| 117 |
+
*.vsp
|
| 118 |
+
*.vspx
|
| 119 |
+
*.sap
|
| 120 |
+
|
| 121 |
+
# Visual Studio Trace Files
|
| 122 |
+
*.e2e
|
| 123 |
+
|
| 124 |
+
# TFS 2012 Local Workspace
|
| 125 |
+
$tf/
|
| 126 |
+
|
| 127 |
+
# Guidance Automation Toolkit
|
| 128 |
+
*.gpState
|
| 129 |
+
|
| 130 |
+
# ReSharper is a .NET coding add-in
|
| 131 |
+
_ReSharper*/
|
| 132 |
+
*.[Rr]e[Ss]harper
|
| 133 |
+
*.DotSettings.user
|
| 134 |
+
|
| 135 |
+
# TeamCity is a build add-in
|
| 136 |
+
_TeamCity*
|
| 137 |
+
|
| 138 |
+
# DotCover is a Code Coverage Tool
|
| 139 |
+
*.dotCover
|
| 140 |
+
|
| 141 |
+
# AxoCover is a Code Coverage Tool
|
| 142 |
+
.axoCover/*
|
| 143 |
+
!.axoCover/settings.json
|
| 144 |
+
|
| 145 |
+
# Coverlet is a free, cross platform Code Coverage Tool
|
| 146 |
+
coverage*.json
|
| 147 |
+
coverage*.xml
|
| 148 |
+
coverage*.info
|
| 149 |
+
|
| 150 |
+
# Visual Studio code coverage results
|
| 151 |
+
*.coverage
|
| 152 |
+
*.coveragexml
|
| 153 |
+
|
| 154 |
+
# NCrunch
|
| 155 |
+
_NCrunch_*
|
| 156 |
+
.*crunch*.local.xml
|
| 157 |
+
nCrunchTemp_*
|
| 158 |
+
|
| 159 |
+
# MightyMoose
|
| 160 |
+
*.mm.*
|
| 161 |
+
AutoTest.Net/
|
| 162 |
+
|
| 163 |
+
# Web workbench (sass)
|
| 164 |
+
.sass-cache/
|
| 165 |
+
|
| 166 |
+
# Installshield output folder
|
| 167 |
+
[Ee]xpress/
|
| 168 |
+
|
| 169 |
+
# DocProject is a documentation generator add-in
|
| 170 |
+
DocProject/buildhelp/
|
| 171 |
+
DocProject/Help/*.HxT
|
| 172 |
+
DocProject/Help/*.HxC
|
| 173 |
+
DocProject/Help/*.hhc
|
| 174 |
+
DocProject/Help/*.hhk
|
| 175 |
+
DocProject/Help/*.hhp
|
| 176 |
+
DocProject/Help/Html2
|
| 177 |
+
DocProject/Help/html
|
| 178 |
+
|
| 179 |
+
# Click-Once directory
|
| 180 |
+
publish/
|
| 181 |
+
|
| 182 |
+
# Publish Web Output
|
| 183 |
+
*.[Pp]ublish.xml
|
| 184 |
+
*.azurePubxml
|
| 185 |
+
# Note: Comment the next line if you want to checkin your web deploy settings,
|
| 186 |
+
# but database connection strings (with potential passwords) will be unencrypted
|
| 187 |
+
*.pubxml
|
| 188 |
+
*.publishproj
|
| 189 |
+
|
| 190 |
+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
| 191 |
+
# checkin your Azure Web App publish settings, but sensitive information contained
|
| 192 |
+
# in these scripts will be unencrypted
|
| 193 |
+
PublishScripts/
|
| 194 |
+
|
| 195 |
+
# NuGet Packages
|
| 196 |
+
*.nupkg
|
| 197 |
+
# NuGet Symbol Packages
|
| 198 |
+
*.snupkg
|
| 199 |
+
# The packages folder can be ignored because of Package Restore
|
| 200 |
+
**/[Pp]ackages/*
|
| 201 |
+
# except build/, which is used as an MSBuild target.
|
| 202 |
+
!**/[Pp]ackages/build/
|
| 203 |
+
# Uncomment if necessary however generally it will be regenerated when needed
|
| 204 |
+
#!**/[Pp]ackages/repositories.config
|
| 205 |
+
# NuGet v3's project.json files produces more ignorable files
|
| 206 |
+
*.nuget.props
|
| 207 |
+
*.nuget.targets
|
| 208 |
+
|
| 209 |
+
# Microsoft Azure Build Output
|
| 210 |
+
csx/
|
| 211 |
+
*.build.csdef
|
| 212 |
+
|
| 213 |
+
# Microsoft Azure Emulator
|
| 214 |
+
ecf/
|
| 215 |
+
rcf/
|
| 216 |
+
|
| 217 |
+
# Windows Store app package directories and files
|
| 218 |
+
AppPackages/
|
| 219 |
+
BundleArtifacts/
|
| 220 |
+
Package.StoreAssociation.xml
|
| 221 |
+
_pkginfo.txt
|
| 222 |
+
*.appx
|
| 223 |
+
*.appxbundle
|
| 224 |
+
*.appxupload
|
| 225 |
+
|
| 226 |
+
# Visual Studio cache files
|
| 227 |
+
# files ending in .cache can be ignored
|
| 228 |
+
*.[Cc]ache
|
| 229 |
+
# but keep track of directories ending in .cache
|
| 230 |
+
!?*.[Cc]ache/
|
| 231 |
+
|
| 232 |
+
# Others
|
| 233 |
+
ClientBin/
|
| 234 |
+
~$*
|
| 235 |
+
*~
|
| 236 |
+
*.dbmdl
|
| 237 |
+
*.dbproj.schemaview
|
| 238 |
+
*.jfm
|
| 239 |
+
*.pfx
|
| 240 |
+
*.publishsettings
|
| 241 |
+
orleans.codegen.cs
|
| 242 |
+
|
| 243 |
+
# Including strong name files can present a security risk
|
| 244 |
+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
| 245 |
+
#*.snk
|
| 246 |
+
|
| 247 |
+
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
| 248 |
+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
| 249 |
+
#bower_components/
|
| 250 |
+
|
| 251 |
+
# RIA/Silverlight projects
|
| 252 |
+
Generated_Code/
|
| 253 |
+
|
| 254 |
+
# Backup & report files from converting an old project file
|
| 255 |
+
# to a newer Visual Studio version. Backup files are not needed,
|
| 256 |
+
# because we have git ;-)
|
| 257 |
+
_UpgradeReport_Files/
|
| 258 |
+
Backup*/
|
| 259 |
+
UpgradeLog*.XML
|
| 260 |
+
UpgradeLog*.htm
|
| 261 |
+
ServiceFabricBackup/
|
| 262 |
+
*.rptproj.bak
|
| 263 |
+
|
| 264 |
+
# SQL Server files
|
| 265 |
+
*.mdf
|
| 266 |
+
*.ldf
|
| 267 |
+
*.ndf
|
| 268 |
+
|
| 269 |
+
# Business Intelligence projects
|
| 270 |
+
*.rdl.data
|
| 271 |
+
*.bim.layout
|
| 272 |
+
*.bim_*.settings
|
| 273 |
+
*.rptproj.rsuser
|
| 274 |
+
*- [Bb]ackup.rdl
|
| 275 |
+
*- [Bb]ackup ([0-9]).rdl
|
| 276 |
+
*- [Bb]ackup ([0-9][0-9]).rdl
|
| 277 |
+
|
| 278 |
+
# Microsoft Fakes
|
| 279 |
+
FakesAssemblies/
|
| 280 |
+
|
| 281 |
+
# GhostDoc plugin setting file
|
| 282 |
+
*.GhostDoc.xml
|
| 283 |
+
|
| 284 |
+
# Node.js Tools for Visual Studio
|
| 285 |
+
.ntvs_analysis.dat
|
| 286 |
+
node_modules/
|
| 287 |
+
|
| 288 |
+
# Visual Studio 6 build log
|
| 289 |
+
*.plg
|
| 290 |
+
|
| 291 |
+
# Visual Studio 6 workspace options file
|
| 292 |
+
*.opt
|
| 293 |
+
|
| 294 |
+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
| 295 |
+
*.vbw
|
| 296 |
+
|
| 297 |
+
# Visual Studio LightSwitch build output
|
| 298 |
+
**/*.HTMLClient/GeneratedArtifacts
|
| 299 |
+
**/*.DesktopClient/GeneratedArtifacts
|
| 300 |
+
**/*.DesktopClient/ModelManifest.xml
|
| 301 |
+
**/*.Server/GeneratedArtifacts
|
| 302 |
+
**/*.Server/ModelManifest.xml
|
| 303 |
+
_Pvt_Extensions
|
| 304 |
+
|
| 305 |
+
# Paket dependency manager
|
| 306 |
+
.paket/paket.exe
|
| 307 |
+
paket-files/
|
| 308 |
+
|
| 309 |
+
# FAKE - F# Make
|
| 310 |
+
.fake/
|
| 311 |
+
|
| 312 |
+
# CodeRush personal settings
|
| 313 |
+
.cr/personal
|
| 314 |
+
|
| 315 |
+
# Python Tools for Visual Studio (PTVS)
|
| 316 |
+
__pycache__/
|
| 317 |
+
*.pyc
|
| 318 |
+
|
| 319 |
+
# Cake - Uncomment if you are using it
|
| 320 |
+
# tools/**
|
| 321 |
+
# !tools/packages.config
|
| 322 |
+
|
| 323 |
+
# Tabs Studio
|
| 324 |
+
*.tss
|
| 325 |
+
|
| 326 |
+
# Telerik's JustMock configuration file
|
| 327 |
+
*.jmconfig
|
| 328 |
+
|
| 329 |
+
# BizTalk build output
|
| 330 |
+
*.btp.cs
|
| 331 |
+
*.btm.cs
|
| 332 |
+
*.odx.cs
|
| 333 |
+
*.xsd.cs
|
| 334 |
+
|
| 335 |
+
# OpenCover UI analysis results
|
| 336 |
+
OpenCover/
|
| 337 |
+
|
| 338 |
+
# Azure Stream Analytics local run output
|
| 339 |
+
ASALocalRun/
|
| 340 |
+
|
| 341 |
+
# MSBuild Binary and Structured Log
|
| 342 |
+
*.binlog
|
| 343 |
+
|
| 344 |
+
# NVidia Nsight GPU debugger configuration file
|
| 345 |
+
*.nvuser
|
| 346 |
+
|
| 347 |
+
# MFractors (Xamarin productivity tool) working folder
|
| 348 |
+
.mfractor/
|
| 349 |
+
|
| 350 |
+
# Local History for Visual Studio
|
| 351 |
+
.localhistory/
|
| 352 |
+
|
| 353 |
+
# BeatPulse healthcheck temp database
|
| 354 |
+
healthchecksdb
|
| 355 |
+
|
| 356 |
+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
| 357 |
+
MigrationBackup/
|
| 358 |
+
|
| 359 |
+
# Ionide (cross platform F# VS Code tools) working folder
|
| 360 |
+
.ionide/
|
| 361 |
+
|
| 362 |
+
# Fody - auto-generated XML schema
|
| 363 |
+
FodyWeavers.xsd
|
| 364 |
+
|
| 365 |
+
# models
|
| 366 |
+
/ayachi_*
|
| 367 |
+
/inaba_*
|
| 368 |
+
/tomotake_*
|
| 369 |
+
/murasame_*
|
| 370 |
+
/arihara_*
|
| 371 |
+
/waveglow_*
|
| 372 |
+
|
| 373 |
+
# jupyter cache
|
| 374 |
+
/.ipynb_checkpoints
|
Yui_TTS/.gitmodules
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[submodule "waveglow"]
|
| 2 |
+
path = waveglow
|
| 3 |
+
url = https://github.com/NVIDIA/waveglow
|
| 4 |
+
branch = master
|
Yui_TTS/__pycache__/audio_processing.cpython-310.pyc
ADDED
|
Binary file (2.77 kB). View file
|
|
|
Yui_TTS/__pycache__/env.cpython-310.pyc
ADDED
|
Binary file (797 Bytes). View file
|
|
|
Yui_TTS/__pycache__/hifiutils.cpython-310.pyc
ADDED
|
Binary file (2.01 kB). View file
|
|
|
Yui_TTS/__pycache__/hparams.cpython-310.pyc
ADDED
|
Binary file (1.9 kB). View file
|
|
|
Yui_TTS/__pycache__/layers.cpython-310.pyc
ADDED
|
Binary file (3.37 kB). View file
|
|
|
Yui_TTS/__pycache__/meldataset.cpython-310.pyc
ADDED
|
Binary file (5.34 kB). View file
|
|
|
Yui_TTS/__pycache__/model.cpython-310.pyc
ADDED
|
Binary file (14.9 kB). View file
|
|
|
Yui_TTS/__pycache__/models.cpython-310.pyc
ADDED
|
Binary file (8.64 kB). View file
|
|
|
Yui_TTS/__pycache__/stft.cpython-310.pyc
ADDED
|
Binary file (4.77 kB). View file
|
|
|
Yui_TTS/__pycache__/utils.cpython-310.pyc
ADDED
|
Binary file (1.48 kB). View file
|
|
|
Yui_TrapGenesis
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c902e404953f4e52dae8cfc9e63bc673ef7654a4779fc3a461f290f3acaa43c
|
| 3 |
+
size 338428823
|
Yui_gradio_cpu.py
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#好用的
|
| 2 |
+
|
| 3 |
+
import os
|
| 4 |
+
os.system('pip install -U tensorflow')
|
| 5 |
+
os.system('pip install -q unidecode tensorboardX')
|
| 6 |
+
os.system('pip install librosa==0.8.0')
|
| 7 |
+
os.system('pip install pysoundfile==0.9.0.post1')
|
| 8 |
+
os.system('pip install unidecode==1.3.4')
|
| 9 |
+
os.system('pip install pyopenjtalk --no-build-isolation')
|
| 10 |
+
os.system('pip install inflect==5.6.2')
|
| 11 |
+
os.system('pip install janome==0.4.2')
|
| 12 |
+
|
| 13 |
+
os.system('pip install gdown')
|
| 14 |
+
os.system('pip install -q librosa unidecode')
|
| 15 |
+
|
| 16 |
+
os.system('pip install ipython')
|
| 17 |
+
os.system('pip install --upgrade jupyter ipywidgets')
|
| 18 |
+
os.system('jupyter nbextension enable --py widgetsnbextension')
|
| 19 |
+
|
| 20 |
+
os.system('pip install tqdm')
|
| 21 |
+
|
| 22 |
+
import time
|
| 23 |
+
import pyopenjtalk
|
| 24 |
+
import soundfile as sf
|
| 25 |
+
import gradio as gr
|
| 26 |
+
import torch
|
| 27 |
+
import IPython.display as ipd
|
| 28 |
+
import numpy as np
|
| 29 |
+
import torch
|
| 30 |
+
import json
|
| 31 |
+
from hparams import create_hparams
|
| 32 |
+
from model import Tacotron2
|
| 33 |
+
from layers import TacotronSTFT
|
| 34 |
+
from audio_processing import griffin_lim
|
| 35 |
+
from text import text_to_sequence
|
| 36 |
+
from env import AttrDict
|
| 37 |
+
from meldataset import MAX_WAV_VALUE
|
| 38 |
+
from models import Generator
|
| 39 |
+
|
| 40 |
+
#@,tlitle 配置并运行
|
| 41 |
+
|
| 42 |
+
#国际 HiFi-GAN 模型(有点机器音): 1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW
|
| 43 |
+
#@markdown 你训练好的tacotron2模型的路径填在`Tacotron2_Model`这里
|
| 44 |
+
Tacotron2_Model = 'Yui_TrapGenesis'#@param {type:"string"}
|
| 45 |
+
TACOTRON2_ID = Tacotron2_Model
|
| 46 |
+
HIFIGAN_ID = "1qpgI41wNXFcH-iKq1Y42JlBC9j0je8PW"
|
| 47 |
+
#@markdown 选择预处理文本的cleaner
|
| 48 |
+
text_cleaner = 'japanese_phrase_cleaners'#@param {type:"string"}
|
| 49 |
+
import pyopenjtalk
|
| 50 |
+
import soundfile as sf
|
| 51 |
+
import gradio as gr
|
| 52 |
+
|
| 53 |
+
# 全局变量声明
|
| 54 |
+
model = None
|
| 55 |
+
hparams = None
|
| 56 |
+
hifigan = None
|
| 57 |
+
thisdict = None
|
| 58 |
+
pronounciation_dictionary = False
|
| 59 |
+
show_graphs = False # 添加show_graphs变量,并赋予默认值
|
| 60 |
+
|
| 61 |
+
# 初始化函数
|
| 62 |
+
def initialize():
|
| 63 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary
|
| 64 |
+
|
| 65 |
+
# 检查是否已初始化
|
| 66 |
+
try:
|
| 67 |
+
initialized
|
| 68 |
+
except NameError:
|
| 69 |
+
print("Setting up, please wait.\n")
|
| 70 |
+
|
| 71 |
+
from tqdm.notebook import tqdm
|
| 72 |
+
with tqdm(total=5, leave=False) as pbar:
|
| 73 |
+
import os
|
| 74 |
+
from os.path import exists, join, basename, splitext
|
| 75 |
+
git_repo_url = 'https://github.com/CjangCjengh/tacotron2-japanese.git'
|
| 76 |
+
project_name = splitext(basename(git_repo_url))[0]
|
| 77 |
+
if not exists(project_name):
|
| 78 |
+
# clone and install
|
| 79 |
+
os.system('git clone -q --recursive {git_repo_url}')
|
| 80 |
+
os.system('git clone -q --recursive https://github.com/SortAnon/hifi-gan')
|
| 81 |
+
|
| 82 |
+
pbar.update(1) # downloaded TT2 and HiFi-GAN
|
| 83 |
+
import sys
|
| 84 |
+
sys.path.append('hifi-gan')
|
| 85 |
+
sys.path.append(project_name)
|
| 86 |
+
import time
|
| 87 |
+
import matplotlib
|
| 88 |
+
import matplotlib.pylab as plt
|
| 89 |
+
import gdown
|
| 90 |
+
d = 'https://drive.google.com/uc?id='
|
| 91 |
+
|
| 92 |
+
# %matplotlib inline
|
| 93 |
+
import IPython.display as ipd
|
| 94 |
+
import numpy as np
|
| 95 |
+
import torch
|
| 96 |
+
import json
|
| 97 |
+
from hparams import create_hparams
|
| 98 |
+
from model import Tacotron2
|
| 99 |
+
from layers import TacotronSTFT
|
| 100 |
+
from audio_processing import griffin_lim
|
| 101 |
+
from text import text_to_sequence
|
| 102 |
+
from env import AttrDict
|
| 103 |
+
from meldataset import MAX_WAV_VALUE
|
| 104 |
+
from models import Generator
|
| 105 |
+
|
| 106 |
+
pbar.update(1) # initialized Dependancies
|
| 107 |
+
|
| 108 |
+
graph_width = 900
|
| 109 |
+
graph_height = 360
|
| 110 |
+
def plot_data(data, figsize=(int(graph_width/100), int(graph_height/100))):
|
| 111 |
+
# %matplotlib inline
|
| 112 |
+
fig, axes = plt.subplots(1, len(data), figsize=figsize)
|
| 113 |
+
for i in range(len(data)):
|
| 114 |
+
axes[i].imshow(data[i], aspect='auto', origin='upper',
|
| 115 |
+
interpolation='none', cmap='inferno')
|
| 116 |
+
fig.canvas.draw()
|
| 117 |
+
plt.show()
|
| 118 |
+
|
| 119 |
+
# Setup Pronounciation Dictionary
|
| 120 |
+
os.system('wget https://github.com/wind4000/tacotron2/releases/download/v0.2/merged.dict.txt')
|
| 121 |
+
thisdict = {}
|
| 122 |
+
for line in reversed((open('merged.dict.txt', "r").read()).splitlines()):
|
| 123 |
+
thisdict[(line.split(" ",1))[0]] = (line.split(" ",1))[1].strip()
|
| 124 |
+
|
| 125 |
+
pbar.update(1) # Downloaded and Set up Pronounciation Dictionary
|
| 126 |
+
|
| 127 |
+
def ARPA(text, punctuation=r"!?,.;", EOS_Token=True):
|
| 128 |
+
out = ''
|
| 129 |
+
for word_ in text.split(" "):
|
| 130 |
+
word=word_; end_chars = ''
|
| 131 |
+
while any(elem in word for elem in punctuation) and len(word) > 1:
|
| 132 |
+
if word[-1] in punctuation: end_chars = word[-1] + end_chars; word = word[:-1]
|
| 133 |
+
else: break
|
| 134 |
+
try:
|
| 135 |
+
word_arpa = thisdict[word.upper()]
|
| 136 |
+
word = "{" + str(word_arpa) + "}"
|
| 137 |
+
except KeyError: pass
|
| 138 |
+
out = (out + " " + word + end_chars).strip()
|
| 139 |
+
if EOS_Token and out[-1] != ";": out += ";"
|
| 140 |
+
return out
|
| 141 |
+
|
| 142 |
+
def get_hifigan(MODEL_ID):
|
| 143 |
+
# Download HiFi-GAN
|
| 144 |
+
hifigan_pretrained_model = 'hifimodel'
|
| 145 |
+
gdown.download(d+MODEL_ID, hifigan_pretrained_model, quiet=False)
|
| 146 |
+
if not exists(hifigan_pretrained_model):
|
| 147 |
+
raise Exception("HiFI-GAN model failed to download!")
|
| 148 |
+
|
| 149 |
+
# Load HiFi-GAN
|
| 150 |
+
conf = os.path.join("hifi-gan", "config_v1.json")
|
| 151 |
+
with open(conf) as f:
|
| 152 |
+
json_config = json.loads(f.read())
|
| 153 |
+
h = AttrDict(json_config)
|
| 154 |
+
torch.manual_seed(h.seed)
|
| 155 |
+
hifigan = Generator(h).to(torch.device("cpu"))
|
| 156 |
+
state_dict_g = torch.load(hifigan_pretrained_model, map_location=torch.device("cpu"))
|
| 157 |
+
hifigan.load_state_dict(state_dict_g["generator"])
|
| 158 |
+
hifigan.eval()
|
| 159 |
+
hifigan.remove_weight_norm()
|
| 160 |
+
return hifigan, h
|
| 161 |
+
|
| 162 |
+
hifigan, h = get_hifigan(HIFIGAN_ID)
|
| 163 |
+
pbar.update(1) # Downloaded and Set up HiFi-GAN
|
| 164 |
+
|
| 165 |
+
def has_MMI(STATE_DICT):
|
| 166 |
+
return any(True for x in STATE_DICT.keys() if "mi." in x)
|
| 167 |
+
|
| 168 |
+
def get_Tactron2(MODEL_ID):
|
| 169 |
+
# Download Tacotron2
|
| 170 |
+
tacotron2_pretrained_model = TACOTRON2_ID
|
| 171 |
+
if not exists(tacotron2_pretrained_model):
|
| 172 |
+
raise Exception("Tacotron2 model failed to download!")
|
| 173 |
+
# Load Tacotron2 and Config
|
| 174 |
+
hparams = create_hparams()
|
| 175 |
+
hparams.sampling_rate = 22050
|
| 176 |
+
hparams.max_decoder_steps = 2000 # Max Duration
|
| 177 |
+
hparams.gate_threshold = 0.80 # Model must be 25% sure the clip is over before ending generation
|
| 178 |
+
model = Tacotron2(hparams)
|
| 179 |
+
state_dict = torch.load(tacotron2_pretrained_model, map_location=torch.device('cpu'))['state_dict']
|
| 180 |
+
|
| 181 |
+
if has_MMI(state_dict):
|
| 182 |
+
raise Exception("ERROR: This notebook does not currently support MMI models.")
|
| 183 |
+
model.load_state_dict(state_dict)
|
| 184 |
+
_ = model.cpu().eval().float()
|
| 185 |
+
return model, hparams
|
| 186 |
+
|
| 187 |
+
model, hparams = get_Tactron2(TACOTRON2_ID)
|
| 188 |
+
previous_tt2_id = TACOTRON2_ID
|
| 189 |
+
|
| 190 |
+
pbar.update(1) # Downloaded and Set up Tacotron2
|
| 191 |
+
|
| 192 |
+
# 初始化
|
| 193 |
+
initialize()
|
| 194 |
+
|
| 195 |
+
import soundfile as sf
|
| 196 |
+
|
| 197 |
+
def end_to_end_infer(text, pronounciation_dictionary, show_graphs):
|
| 198 |
+
audio = None # 定义一个变量用于存储音频数据
|
| 199 |
+
for i in [x for x in text.split("\n") if len(x)]:
|
| 200 |
+
if not pronounciation_dictionary:
|
| 201 |
+
if i[-1] != ";":
|
| 202 |
+
i = i + ";"
|
| 203 |
+
else:
|
| 204 |
+
i = ARPA(i)
|
| 205 |
+
with torch.no_grad():
|
| 206 |
+
sequence = np.array(text_to_sequence(i, [text_cleaner]))[None, :]
|
| 207 |
+
sequence = torch.autograd.Variable(torch.from_numpy(sequence)).cpu().long() # 或者使用 .int()
|
| 208 |
+
|
| 209 |
+
mel_outputs, mel_outputs_postnet, _, alignments = model.inference(sequence)
|
| 210 |
+
if show_graphs:
|
| 211 |
+
plot_data((mel_outputs_postnet.float().data.cpu().numpy()[0],
|
| 212 |
+
alignments.float().data.cpu().numpy()[0].T))
|
| 213 |
+
y_g_hat = hifigan(mel_outputs_postnet.float())
|
| 214 |
+
audio = y_g_hat.squeeze()
|
| 215 |
+
audio = audio * MAX_WAV_VALUE
|
| 216 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 217 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 218 |
+
print(f"音频已保存为 {output_filename}")
|
| 219 |
+
print("")
|
| 220 |
+
ipd.display(ipd.Audio(audio.cpu().numpy().astype("int16"), rate=hparams.sampling_rate))
|
| 221 |
+
return audio # 返回音频数据
|
| 222 |
+
|
| 223 |
+
# 文本到语音转换函数
|
| 224 |
+
def text_to_speech(text, max_decoder_steps=2000, gate_threshold=0.5):
|
| 225 |
+
global model, hparams, hifigan, thisdict, pronounciation_dictionary, show_graphs
|
| 226 |
+
|
| 227 |
+
hparams.max_decoder_steps = max_decoder_steps
|
| 228 |
+
hparams.gate_threshold = gate_threshold
|
| 229 |
+
output_filename = f"output_{time.strftime('%Y%m%d%H%M%S')}.wav"
|
| 230 |
+
audio = end_to_end_infer(text, pronounciation_dictionary, show_graphs)
|
| 231 |
+
if audio is not None:
|
| 232 |
+
sf.write(output_filename, audio.cpu().numpy().astype('int16'), hparams.sampling_rate)
|
| 233 |
+
return output_filename
|
| 234 |
+
else:
|
| 235 |
+
return None
|
| 236 |
+
|
| 237 |
+
# Gradio界面
|
| 238 |
+
inputs = [
|
| 239 |
+
gr.inputs.Textbox(lines=3, label="输入文本"),
|
| 240 |
+
gr.inputs.Slider(minimum=100, maximum=5000, default=1500, step=100, label="最大解码步数"),
|
| 241 |
+
gr.inputs.Slider(minimum=0.0, maximum=1.0, default=0.35, step=0.05, label="门控阈值")
|
| 242 |
+
]
|
| 243 |
+
outputs = gr.outputs.File(label="下载生成的音频")
|
| 244 |
+
|
| 245 |
+
gr.Interface(fn=text_to_speech, inputs=inputs, outputs=outputs).launch(debug=True)
|
__pycache__/audio_processing.cpython-310.pyc
ADDED
|
Binary file (2.75 kB). View file
|
|
|
__pycache__/env.cpython-310.pyc
ADDED
|
Binary file (778 Bytes). View file
|
|
|
__pycache__/hifiutils.cpython-310.pyc
ADDED
|
Binary file (1.99 kB). View file
|
|
|
__pycache__/hparams.cpython-310.pyc
ADDED
|
Binary file (1.88 kB). View file
|
|
|
__pycache__/layers.cpython-310.pyc
ADDED
|
Binary file (3.35 kB). View file
|
|
|
__pycache__/meldataset.cpython-310.pyc
ADDED
|
Binary file (5.32 kB). View file
|
|
|
__pycache__/model.cpython-310.pyc
ADDED
|
Binary file (14.9 kB). View file
|
|
|
__pycache__/models.cpython-310.pyc
ADDED
|
Binary file (8.62 kB). View file
|
|
|
__pycache__/stft.cpython-310.pyc
ADDED
|
Binary file (4.75 kB). View file
|
|
|
__pycache__/utils.cpython-310.pyc
ADDED
|
Binary file (1.46 kB). View file
|
|
|
audio_processing.py
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import numpy as np
|
| 3 |
+
from scipy.signal import get_window
|
| 4 |
+
import librosa.util as librosa_util
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def window_sumsquare(window, n_frames, hop_length=200, win_length=800,
|
| 8 |
+
n_fft=800, dtype=np.float32, norm=None):
|
| 9 |
+
"""
|
| 10 |
+
# from librosa 0.6
|
| 11 |
+
Compute the sum-square envelope of a window function at a given hop length.
|
| 12 |
+
|
| 13 |
+
This is used to estimate modulation effects induced by windowing
|
| 14 |
+
observations in short-time fourier transforms.
|
| 15 |
+
|
| 16 |
+
Parameters
|
| 17 |
+
----------
|
| 18 |
+
window : string, tuple, number, callable, or list-like
|
| 19 |
+
Window specification, as in `get_window`
|
| 20 |
+
|
| 21 |
+
n_frames : int > 0
|
| 22 |
+
The number of analysis frames
|
| 23 |
+
|
| 24 |
+
hop_length : int > 0
|
| 25 |
+
The number of samples to advance between frames
|
| 26 |
+
|
| 27 |
+
win_length : [optional]
|
| 28 |
+
The length of the window function. By default, this matches `n_fft`.
|
| 29 |
+
|
| 30 |
+
n_fft : int > 0
|
| 31 |
+
The length of each analysis frame.
|
| 32 |
+
|
| 33 |
+
dtype : np.dtype
|
| 34 |
+
The data type of the output
|
| 35 |
+
|
| 36 |
+
Returns
|
| 37 |
+
-------
|
| 38 |
+
wss : np.ndarray, shape=`(n_fft + hop_length * (n_frames - 1))`
|
| 39 |
+
The sum-squared envelope of the window function
|
| 40 |
+
"""
|
| 41 |
+
if win_length is None:
|
| 42 |
+
win_length = n_fft
|
| 43 |
+
|
| 44 |
+
n = n_fft + hop_length * (n_frames - 1)
|
| 45 |
+
x = np.zeros(n, dtype=dtype)
|
| 46 |
+
|
| 47 |
+
# Compute the squared window at the desired length
|
| 48 |
+
win_sq = get_window(window, win_length, fftbins=True)
|
| 49 |
+
win_sq = librosa_util.normalize(win_sq, norm=norm)**2
|
| 50 |
+
win_sq = librosa_util.pad_center(win_sq, n_fft)
|
| 51 |
+
|
| 52 |
+
# Fill the envelope
|
| 53 |
+
for i in range(n_frames):
|
| 54 |
+
sample = i * hop_length
|
| 55 |
+
x[sample:min(n, sample + n_fft)] += win_sq[:max(0, min(n_fft, n - sample))]
|
| 56 |
+
return x
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def griffin_lim(magnitudes, stft_fn, n_iters=30):
|
| 60 |
+
"""
|
| 61 |
+
PARAMS
|
| 62 |
+
------
|
| 63 |
+
magnitudes: spectrogram magnitudes
|
| 64 |
+
stft_fn: STFT class with transform (STFT) and inverse (ISTFT) methods
|
| 65 |
+
"""
|
| 66 |
+
|
| 67 |
+
angles = np.angle(np.exp(2j * np.pi * np.random.rand(*magnitudes.size())))
|
| 68 |
+
angles = angles.astype(np.float32)
|
| 69 |
+
angles = torch.autograd.Variable(torch.from_numpy(angles))
|
| 70 |
+
signal = stft_fn.inverse(magnitudes, angles).squeeze(1)
|
| 71 |
+
|
| 72 |
+
for i in range(n_iters):
|
| 73 |
+
_, angles = stft_fn.transform(signal)
|
| 74 |
+
signal = stft_fn.inverse(magnitudes, angles).squeeze(1)
|
| 75 |
+
return signal
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def dynamic_range_compression(x, C=1, clip_val=1e-5):
|
| 79 |
+
"""
|
| 80 |
+
PARAMS
|
| 81 |
+
------
|
| 82 |
+
C: compression factor
|
| 83 |
+
"""
|
| 84 |
+
return torch.log(torch.clamp(x, min=clip_val) * C)
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def dynamic_range_decompression(x, C=1):
|
| 88 |
+
"""
|
| 89 |
+
PARAMS
|
| 90 |
+
------
|
| 91 |
+
C: compression factor used to compress
|
| 92 |
+
"""
|
| 93 |
+
return torch.exp(x) / C
|
colab-train-zh-cn.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
colab.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data_utils.py
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import random
|
| 2 |
+
import numpy as np
|
| 3 |
+
import torch
|
| 4 |
+
import torch.utils.data
|
| 5 |
+
|
| 6 |
+
import layers
|
| 7 |
+
from utils import load_wav_to_torch, load_filepaths_and_text
|
| 8 |
+
from text import text_to_sequence
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
class TextMelLoader(torch.utils.data.Dataset):
|
| 12 |
+
"""
|
| 13 |
+
1) loads audio,text pairs
|
| 14 |
+
2) normalizes text and converts them to sequences of one-hot vectors
|
| 15 |
+
3) computes mel-spectrograms from audio files.
|
| 16 |
+
"""
|
| 17 |
+
def __init__(self, audiopaths_and_text, hparams):
|
| 18 |
+
self.audiopaths_and_text = load_filepaths_and_text(audiopaths_and_text)
|
| 19 |
+
self.text_cleaners = hparams.text_cleaners
|
| 20 |
+
self.max_wav_value = hparams.max_wav_value
|
| 21 |
+
self.sampling_rate = hparams.sampling_rate
|
| 22 |
+
self.load_mel_from_disk = hparams.load_mel_from_disk
|
| 23 |
+
self.stft = layers.TacotronSTFT(
|
| 24 |
+
hparams.filter_length, hparams.hop_length, hparams.win_length,
|
| 25 |
+
hparams.n_mel_channels, hparams.sampling_rate, hparams.mel_fmin,
|
| 26 |
+
hparams.mel_fmax)
|
| 27 |
+
random.seed(hparams.seed)
|
| 28 |
+
random.shuffle(self.audiopaths_and_text)
|
| 29 |
+
|
| 30 |
+
def get_mel_text_pair(self, audiopath_and_text):
|
| 31 |
+
# separate filename and text
|
| 32 |
+
audiopath, text = audiopath_and_text[0], audiopath_and_text[1]
|
| 33 |
+
text = self.get_text(text)
|
| 34 |
+
mel = self.get_mel(audiopath)
|
| 35 |
+
return (text, mel)
|
| 36 |
+
|
| 37 |
+
def get_mel(self, filename):
|
| 38 |
+
if not self.load_mel_from_disk:
|
| 39 |
+
audio, sampling_rate = load_wav_to_torch(filename)
|
| 40 |
+
if sampling_rate != self.stft.sampling_rate:
|
| 41 |
+
raise ValueError("{} {} SR doesn't match target {} SR".format(
|
| 42 |
+
sampling_rate, self.stft.sampling_rate))
|
| 43 |
+
audio_norm = audio / self.max_wav_value
|
| 44 |
+
audio_norm = audio_norm.unsqueeze(0)
|
| 45 |
+
audio_norm = torch.autograd.Variable(audio_norm, requires_grad=False)
|
| 46 |
+
melspec = self.stft.mel_spectrogram(audio_norm)
|
| 47 |
+
melspec = torch.squeeze(melspec, 0)
|
| 48 |
+
else:
|
| 49 |
+
melspec = torch.from_numpy(np.load(filename))
|
| 50 |
+
assert melspec.size(0) == self.stft.n_mel_channels, (
|
| 51 |
+
'Mel dimension mismatch: given {}, expected {}'.format(
|
| 52 |
+
melspec.size(0), self.stft.n_mel_channels))
|
| 53 |
+
|
| 54 |
+
return melspec
|
| 55 |
+
|
| 56 |
+
def get_text(self, text):
|
| 57 |
+
text_norm = torch.IntTensor(text_to_sequence(text, self.text_cleaners))
|
| 58 |
+
return text_norm
|
| 59 |
+
|
| 60 |
+
def __getitem__(self, index):
|
| 61 |
+
return self.get_mel_text_pair(self.audiopaths_and_text[index])
|
| 62 |
+
|
| 63 |
+
def __len__(self):
|
| 64 |
+
return len(self.audiopaths_and_text)
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
class TextMelCollate():
|
| 68 |
+
""" Zero-pads model inputs and targets based on number of frames per setep
|
| 69 |
+
"""
|
| 70 |
+
def __init__(self, n_frames_per_step):
|
| 71 |
+
self.n_frames_per_step = n_frames_per_step
|
| 72 |
+
|
| 73 |
+
def __call__(self, batch):
|
| 74 |
+
"""Collate's training batch from normalized text and mel-spectrogram
|
| 75 |
+
PARAMS
|
| 76 |
+
------
|
| 77 |
+
batch: [text_normalized, mel_normalized]
|
| 78 |
+
"""
|
| 79 |
+
# Right zero-pad all one-hot text sequences to max input length
|
| 80 |
+
input_lengths, ids_sorted_decreasing = torch.sort(
|
| 81 |
+
torch.LongTensor([len(x[0]) for x in batch]),
|
| 82 |
+
dim=0, descending=True)
|
| 83 |
+
max_input_len = input_lengths[0]
|
| 84 |
+
|
| 85 |
+
text_padded = torch.LongTensor(len(batch), max_input_len)
|
| 86 |
+
text_padded.zero_()
|
| 87 |
+
for i in range(len(ids_sorted_decreasing)):
|
| 88 |
+
text = batch[ids_sorted_decreasing[i]][0]
|
| 89 |
+
text_padded[i, :text.size(0)] = text
|
| 90 |
+
|
| 91 |
+
# Right zero-pad mel-spec
|
| 92 |
+
num_mels = batch[0][1].size(0)
|
| 93 |
+
max_target_len = max([x[1].size(1) for x in batch])
|
| 94 |
+
if max_target_len % self.n_frames_per_step != 0:
|
| 95 |
+
max_target_len += self.n_frames_per_step - max_target_len % self.n_frames_per_step
|
| 96 |
+
assert max_target_len % self.n_frames_per_step == 0
|
| 97 |
+
|
| 98 |
+
# include mel padded and gate padded
|
| 99 |
+
mel_padded = torch.FloatTensor(len(batch), num_mels, max_target_len)
|
| 100 |
+
mel_padded.zero_()
|
| 101 |
+
gate_padded = torch.FloatTensor(len(batch), max_target_len)
|
| 102 |
+
gate_padded.zero_()
|
| 103 |
+
output_lengths = torch.LongTensor(len(batch))
|
| 104 |
+
for i in range(len(ids_sorted_decreasing)):
|
| 105 |
+
mel = batch[ids_sorted_decreasing[i]][1]
|
| 106 |
+
mel_padded[i, :, :mel.size(1)] = mel
|
| 107 |
+
gate_padded[i, mel.size(1)-1:] = 1
|
| 108 |
+
output_lengths[i] = mel.size(1)
|
| 109 |
+
|
| 110 |
+
return text_padded, input_lengths, mel_padded, gate_padded, \
|
| 111 |
+
output_lengths
|
demo.wav
ADDED
|
Binary file (148 kB). View file
|
|
|