-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
コードベースを大規模にリファクタリングし、ライブラリ (Python パッケージ) としてほかの Python コードから利用できるように改善 #92
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e4cd4f8 - Browse repository at this point
Copy the full SHA e4cd4f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f26def4 - Browse repository at this point
Copy the full SHA f26def4View commit details -
Refactor: rewrote Japanese natural language processing code imported …
…from server_editor.py The logic has not been changed, only renaming, splitting and moving modules on a per-function basis. Existing code will be left in place for the time being to avoid breaking the training code, which is not subject to refactoring this time.
Configuration menu - View commit details
-
Copy full SHA for 918d168 - Browse repository at this point
Copy the full SHA 918d168View commit details -
Refactor: moved the user dictionary implementation ported from VOICEV…
…OX to style_bert_vits2/text_processing/japanese/user_dict/
Configuration menu - View commit details
-
Copy full SHA for 46c83cf - Browse repository at this point
Copy the full SHA 46c83cfView commit details -
Refactor: moved commons.py to style_bert_vits2/models/ and added type…
… definitions and comments
Configuration menu - View commit details
-
Copy full SHA for 9546495 - Browse repository at this point
Copy the full SHA 9546495View commit details -
Configuration menu - View commit details
-
Copy full SHA for f880641 - Browse repository at this point
Copy the full SHA f880641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1936344 - Browse repository at this point
Copy the full SHA 1936344View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca4c03c - Browse repository at this point
Copy the full SHA ca4c03cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a52fda7 - Browse repository at this point
Copy the full SHA a52fda7View commit details -
Refactor: moved model, attentions definitions and inference code to s…
…tyle_bert_vits2/models/ The code has not yet been cleaned up, just moved.
Configuration menu - View commit details
-
Copy full SHA for 89825e6 - Browse repository at this point
Copy the full SHA 89825e6View commit details
Commits on Mar 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e826faf - Browse repository at this point
Copy the full SHA e826fafView commit details -
Refactor: add style_bert_vits2/text_processing/bert_models.py to hold…
… loaded BERT models/tokenizer and replace all from_pretrained() to load_model/load_tokenizer
Configuration menu - View commit details
-
Copy full SHA for c3c0dd8 - Browse repository at this point
Copy the full SHA c3c0dd8View commit details -
Refactor: moved the module for extracting BERT features from text in …
…each language to style_bert_vits2/text_processing/(language)/bert_feature.py
Configuration menu - View commit details
-
Copy full SHA for 62919e9 - Browse repository at this point
Copy the full SHA 62919e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f11b01 - Browse repository at this point
Copy the full SHA 4f11b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for b011683 - Browse repository at this point
Copy the full SHA b011683View commit details -
Refactor: style_bert_vits2/text_processing/cleaner.py integrated into…
… style_bert_vits2/text_processing/__init__.py This was often used in 3 function sets and felt like a wasteful division with few lines.
Configuration menu - View commit details
-
Copy full SHA for def6d88 - Browse repository at this point
Copy the full SHA def6d88View commit details -
Remove: remove webui.py, which is no longer maintained in Style-Bert-…
…VITS2 Since app.py and server_editor.py already exist as alternative Web UI, there is no need to revive webui.py in the future.
Configuration menu - View commit details
-
Copy full SHA for 1450bfd - Browse repository at this point
Copy the full SHA 1450bfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d364018 - Browse repository at this point
Copy the full SHA d364018View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f798d - Browse repository at this point
Copy the full SHA f8f798dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bffd5a6 - Browse repository at this point
Copy the full SHA bffd5a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e57cfbf - Browse repository at this point
Copy the full SHA e57cfbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f8d53 - Browse repository at this point
Copy the full SHA 70f8d53View commit details
Commits on Mar 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f07c25 - Browse repository at this point
Copy the full SHA 3f07c25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5c537 - Browse repository at this point
Copy the full SHA 4d5c537View commit details -
Configuration menu - View commit details
-
Copy full SHA for da7747c - Browse repository at this point
Copy the full SHA da7747cView commit details -
I have determined that this is excessive for this project at this time.
Configuration menu - View commit details
-
Copy full SHA for 4a3519c - Browse repository at this point
Copy the full SHA 4a3519cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8add1b4 - Browse repository at this point
Copy the full SHA 8add1b4View commit details -
Refactor: rename text_processing to nlp
"text_processing" is clearer, but the import statement is longer. "nlp" is shorter and makes it clear that it is natural language processing.
Configuration menu - View commit details
-
Copy full SHA for fac4f9a - Browse repository at this point
Copy the full SHA fac4f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7546793 - Browse repository at this point
Copy the full SHA 7546793View commit details -
pyopenjtalk_worker.initialize() has the side effect of starting another process and should not be executed automatically on import.
Configuration menu - View commit details
-
Copy full SHA for 5de4884 - Browse repository at this point
Copy the full SHA 5de4884View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2daa55 - Browse repository at this point
Copy the full SHA e2daa55View commit details -
Configuration menu - View commit details
-
Copy full SHA for a672aee - Browse repository at this point
Copy the full SHA a672aeeView commit details -
Refactor: split style_bert_vits2.nlp.chinese package
Configured so that the same public function is exported from the module with the same name for each language.
Configuration menu - View commit details
-
Copy full SHA for df68771 - Browse repository at this point
Copy the full SHA df68771View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766699e - Browse repository at this point
Copy the full SHA 766699eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f2862 - Browse repository at this point
Copy the full SHA c1f2862View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe7e31e - Browse repository at this point
Copy the full SHA fe7e31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ff310 - Browse repository at this point
Copy the full SHA 67ff310View commit details -
Configuration menu - View commit details
-
Copy full SHA for c915215 - Browse repository at this point
Copy the full SHA c915215View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fad591 - Browse repository at this point
Copy the full SHA 8fad591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f0b252 - Browse repository at this point
Copy the full SHA 7f0b252View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0b5cd3 - Browse repository at this point
Copy the full SHA a0b5cd3View commit details -
Refactor: replace utils.HParams with HyperParameters Pydantic model
HyperParameters is largely a drop-in replacement for utils.HParams, which ensures type safety for hyper-parameters.
Configuration menu - View commit details
-
Copy full SHA for a84783a - Browse repository at this point
Copy the full SHA a84783aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b19eac - Browse repository at this point
Copy the full SHA 6b19eacView commit details -
Fix: extend timeout for style_bert_vits2.nlp.japanese.pyopenjtalk_wor…
…ker.worker_client ref: litagin02#91
Configuration menu - View commit details
-
Copy full SHA for b9e486e - Browse repository at this point
Copy the full SHA b9e486eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ea08d - Browse repository at this point
Copy the full SHA 30ea08dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d22a11e - Browse repository at this point
Copy the full SHA d22a11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b98fecb - Browse repository at this point
Copy the full SHA b98fecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 717ba79 - Browse repository at this point
Copy the full SHA 717ba79View commit details -
Refactor: add type hints to attentions.py / modules.py / transforms.py
I didn't add docstring because it is very technical code and I don't understand what is being implemented.
Configuration menu - View commit details
-
Copy full SHA for e1fad54 - Browse repository at this point
Copy the full SHA e1fad54View commit details -
Refactor: add type hints to models.py / models_jp_extra.py
I didn't add docstring because it is very technical code and I don't understand what is being implemented.
Configuration menu - View commit details
-
Copy full SHA for 8feef04 - Browse repository at this point
Copy the full SHA 8feef04View commit details
Commits on Mar 9, 2024
-
Refactor: change execution location of pyopenjtalk.initialize()
Considering library design, this function with many side effects should not be executed in a library.
Configuration menu - View commit details
-
Copy full SHA for c594f7e - Browse repository at this point
Copy the full SHA c594f7eView commit details -
Merge pull request litagin02#91 from kale4eat/dev-pyopenjtalk-worker
openjtalkプロセス間通信のタイムアウト延長
Configuration menu - View commit details
-
Copy full SHA for 8fdeea1 - Browse repository at this point
Copy the full SHA 8fdeea1View commit details -
Refactor: separate module for utilities related to loading/saving che…
…ckpoints and safetensors
Configuration menu - View commit details
-
Copy full SHA for 98ab8e7 - Browse repository at this point
Copy the full SHA 98ab8e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e2a1d - Browse repository at this point
Copy the full SHA 61e2a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d2210 - Browse repository at this point
Copy the full SHA 96d2210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d32091 - Browse repository at this point
Copy the full SHA 1d32091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a74fe5 - Browse repository at this point
Copy the full SHA 0a74fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79b191 - Browse repository at this point
Copy the full SHA a79b191View commit details
Commits on Mar 10, 2024
-
Refactor: when pyopenjtalk_worker is called without initialization, c…
…ontinue processing without a worker When using style-bert-vits2 as a library, the requirement to be able to launch it in multiple processes may not be necessary. Also, if the library is embedded and exe-ed using PyInstaller or similar, it is difficult to make pyopenjtalk_worker run in a separate process. Therefore, we changed it so that the worker is used only when it is explicitly initialized.
Configuration menu - View commit details
-
Copy full SHA for b7d7c78 - Browse repository at this point
Copy the full SHA b7d7c78View commit details -
Refactor: rename Model / ModelHolder to TTSModel / TTSModelHolder for…
… clarification and add comments to each method
Configuration menu - View commit details
-
Copy full SHA for d2fd378 - Browse repository at this point
Copy the full SHA d2fd378View commit details -
Add: test code for style-bert-vits2 as a library
By executing "hatch run test:test", you can check whether the test passes in all Python 3.9 to 3.12 environments.
Configuration menu - View commit details
-
Copy full SHA for afff154 - Browse repository at this point
Copy the full SHA afff154View commit details -
Fix: problem with test failures
Style-Bert-VITS2 has been reported to not work with some PyTorch 2.2 series, but Python 3.12 is only supported in Torch >= 2.2, so Python 3.12 support is not provided for the time being
Configuration menu - View commit details
-
Copy full SHA for 84b1dbe - Browse repository at this point
Copy the full SHA 84b1dbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdc47a9 - Browse repository at this point
Copy the full SHA cdc47a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00bf496 - Browse repository at this point
Copy the full SHA 00bf496View commit details -
Refactor: don't keep models in bert_feature module for each language
BERT models and tokenizers are already stored and managed in the bert_models module and should not be stored here. In addition, since there may be situations where the user would like to use cpu instead of mps for inference when using it as a library, the automatic switching process to mps was removed.
Configuration menu - View commit details
-
Copy full SHA for 9c23363 - Browse repository at this point
Copy the full SHA 9c23363View commit details -
Fix: clearly include Pydantic v2 in the dependencies
The Pydantic models in the library are written for Pydantic v2 and will not work with Pydantic v1.
Configuration menu - View commit details
-
Copy full SHA for 733a9d8 - Browse repository at this point
Copy the full SHA 733a9d8View commit details -
Improve: switch pyworld to pyworld-prebuilt and enable it by default
Prebuilt wheels for almost every OS/architecture (except musl) are now available on PyPI, eliminating the need for a build environment. ref: https://pypi.org/project/pyworld-prebuilt/
Configuration menu - View commit details
-
Copy full SHA for be265d4 - Browse repository at this point
Copy the full SHA be265d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 859d940 - Browse repository at this point
Copy the full SHA 859d940View commit details -
Refactor: TTSModelInfo changed from TypedDict to Pydantic model
Pydantic models are more robust and properties can be accessed by dots.
Configuration menu - View commit details
-
Copy full SHA for 7f02b0f - Browse repository at this point
Copy the full SHA 7f02b0fView commit details