Commit Graph

  • 9292270873 Merge pull request #98 from aka7774/master litagin02 2024-03-13 16:35:29 +09:00
  • 860957006b Add typing and load bert models on the top litagin02 2024-03-13 16:27:06 +09:00
  • 3141a8e341 debug logging litagin02 2024-03-13 16:26:29 +09:00
  • 3d36778e06 Add time_suffix option aka7774 2024-03-13 16:07:09 +09:00
  • 7e3e6c55fa docs litagin02 2024-03-13 15:46:02 +09:00
  • b309c9d74a Change from 音程 to 音高 litagin02 2024-03-13 15:43:33 +09:00
  • 3c1269e520 Add library usage example notebook litagin02 2024-03-13 15:41:46 +09:00
  • cd02238b28 Add POST method to server_fastapi.py litagin02 2024-03-13 15:28:23 +09:00
  • 55c3847176 Add POST method for /voice in server_fastapi.py litagin02 2024-03-13 15:26:30 +09:00
  • c028840794 Merge pull request #93 from litagin02/dev-refactor litagin02 2024-03-13 15:12:02 +09:00
  • bfcf5091ed Fix running server_editor.py in bat (and dev ver) litagin02 2024-03-13 15:07:01 +09:00
  • bc89fde15e Delete local_dir_use_symlinks=False litagin02 2024-03-13 14:55:42 +09:00
  • 9e5222619f Refactor: No preloading of BERT models to avoid unnecessary GPU VRAM consumption during training in the Web UI Since the BERT features of the dataset are pre-extracted by bert_gen.py, there is no need to load the BERT model at training time. tsukumi 2024-03-12 18:22:34 +00:00
  • 8baecb138a Skip cuda test litagin02 2024-03-13 11:54:24 +09:00
  • c37893a76b Add version suffix dev0 litagin02 2024-03-13 11:46:56 +09:00
  • 28fd715cb8 Restore gc empty_cache in train_ms_jp litagin02 2024-03-13 10:25:22 +09:00
  • 30d9f2e258 Merge pull request #95 from zunan-islands/dev-refactor litagin02 2024-03-13 09:45:55 +09:00
  • fedd019c04 Revert "Refactor: No preloading of BERT models to avoid unnecessary GPU VRAM consumption during training in the Web UI" tsukumi 2024-03-12 19:01:45 +00:00
  • c4d6a8cdb7 Fix: large number of unnecessary files in built sdist Include in sdist only the minimum required files for style-bert-vits2 as a library. tsukumi 2024-03-12 18:45:54 +00:00
  • 07d246b98b Refactor: run "hatch run style:fmt" tsukumi 2024-03-12 18:27:08 +00:00
  • e8a76e547b Refactor: No preloading of BERT models to avoid unnecessary GPU VRAM consumption during training in the Web UI Since the BERT features of the dataset are pre-extracted by bert_gen.py, there is no need to load the BERT model at training time. tsukumi 2024-03-12 18:22:34 +00:00
  • 483bc68d57 Refactor: unify invoke format of open() function tsukumi 2024-03-12 18:00:51 +00:00
  • 74af2c831c Add: cache_dir and revision optional arguments to load_model() / load_tokenizer() tsukumi 2024-03-12 17:45:10 +00:00
  • 69225a3e13 Style litagin02 2024-03-12 21:47:59 +09:00
  • 6e4dcf0232 Add Data, model_assets to toplevel gitignore litagin02 2024-03-12 21:38:27 +09:00
  • bdf394d2c2 Fix: migration to new TTSModelHolder litagin02 2024-03-12 20:56:50 +09:00
  • 528d2cc4ba Refactor: typing and pathlib litagin02 2024-03-12 20:05:32 +09:00
  • f12f20f3da Rollback of SAFE_STDOUT debug litagin02 2024-03-12 19:13:13 +09:00
  • 4acfc2977e Ensure to write use_jp_extra option to config.json litagin02 2024-03-12 19:10:43 +09:00
  • 456fe00ae4 Delete old webui bat files litagin02 2024-03-12 17:51:09 +09:00
  • 77ee026ab6 Update .dockerignore litagin02 2024-03-12 17:47:00 +09:00
  • dfb4513ea7 Change default port to None to avoid conflicting litagin02 2024-03-12 17:29:24 +09:00
  • 005706a456 Fix: colab notebook for 2.4 litagin02 2024-03-12 17:26:03 +09:00
  • 3632d476c1 Clean litagin02 2024-03-12 15:24:42 +09:00
  • bc0729d970 Fix: initialize worker and dict for use litagin02 2024-03-12 15:23:18 +09:00
  • 7736532c75 Match config.json values to default hyper_parameters.py litagin02 2024-03-11 17:56:09 +09:00
  • b3cc705caa Fix: add use_jp_extra parameter to config.json (for non-jp-extra training) litagin02 2024-03-11 17:51:55 +09:00
  • 44851a6219 Clean and fix docs litagin02 2024-03-11 17:05:42 +09:00
  • 791b663658 Merge pull request #90 from aka7774/master litagin02 2024-03-11 13:00:32 +09:00
  • dada0af2b6 Format import using isort --profile black --gitignore --lai 2 . litagin02 2024-03-11 12:37:51 +09:00
  • 164b5c4a85 Clean unused tools module (previously used in webui.py) litagin02 2024-03-11 10:33:00 +09:00
  • c776c08235 Apply black formatter litagin02 2024-03-11 09:47:47 +09:00
  • 42ee7d7608 Fix: ensure encoding utf-8 litagin02 2024-03-11 09:27:36 +09:00
  • 03d4b4c97e Merge pull request #92 from zunan-islands/dev litagin02 2024-03-11 09:10:11 +09:00
  • 7f02b0f1d5 Refactor: TTSModelInfo changed from TypedDict to Pydantic model Pydantic models are more robust and properties can be accessed by dots. tsukumi 2024-03-10 19:21:22 +00:00
  • 859d940916 Fix: failed to start training tsukumi 2024-03-10 19:15:11 +00:00
  • be265d42ed 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/ tsukumi 2024-03-10 16:51:58 +00:00
  • 733a9d838d 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. tsukumi 2024-03-10 15:38:08 +00:00
  • 9c233630ef 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. tsukumi 2024-03-10 14:18:57 +00:00
  • 00bf496325 Add: VSCode settings Enabling type checking with Pylance. tsukumi 2024-03-10 13:51:56 +00:00
  • cdc47a98ce Improve: test code tsukumi 2024-03-10 11:10:06 +00:00
  • 84b1dbe1b5 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 tsukumi 2024-03-10 10:48:21 +00:00
  • afff154da4 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. tsukumi 2024-03-10 04:18:39 +00:00
  • d2fd378b56 Refactor: rename Model / ModelHolder to TTSModel / TTSModelHolder for clarification and add comments to each method tsukumi 2024-03-10 03:47:17 +00:00
  • b7d7c78203 Refactor: when pyopenjtalk_worker is called without initialization, continue 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. tsukumi 2024-03-10 03:04:27 +00:00
  • a79b1910fb Add: use hatch to build style-bert-vits2 as a library tsukumi 2024-03-09 18:38:16 +00:00
  • 0a74fe521b Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev tsukumi 2024-03-09 18:12:56 +00:00
  • 1d320915e0 Refactor: make tts_model.py independent of style_gen.py tsukumi 2024-03-09 18:10:25 +00:00
  • 96d22102f3 Refactor: separate adjust_voice() function from tts_model.py tsukumi 2024-03-09 17:45:56 +00:00
  • 61e2a1deae Refactor: add type hints to style_bert_vits2.models.utils tsukumi 2024-03-09 17:26:42 +00:00
  • 98ab8e7978 Refactor: separate module for utilities related to loading/saving checkpoints and safetensors tsukumi 2024-03-09 15:58:57 +00:00
  • 8fdeea11fc Merge pull request #91 from kale4eat/dev-pyopenjtalk-worker litagin02 2024-03-09 15:51:39 +09:00
  • c594f7ea7a Refactor: change execution location of pyopenjtalk.initialize() Considering library design, this function with many side effects should not be executed in a library. tsukumi 2024-03-09 00:26:51 +00:00
  • 8feef04cef 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. tsukumi 2024-03-08 23:52:44 +00:00
  • e1fad54c99 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. tsukumi 2024-03-08 22:58:40 +00:00
  • 717ba7925f Fix: app.py cannot be closed with Ctrl+C tsukumi 2024-03-08 22:27:21 +00:00
  • b98fecb46d Add: --host/--port option to app.py to allow specifying listening host/port tsukumi 2024-03-08 22:14:39 +00:00
  • d22a11ebb2 Fix: a bug that prevented speech synthesis in app.py tsukumi 2024-03-08 22:09:47 +00:00
  • 30ea08d6ea Fix: forgot to write pyopenjtalk.initialize() tsukumi 2024-03-08 18:22:40 +00:00
  • b9e486e72a Fix: extend timeout for style_bert_vits2.nlp.japanese.pyopenjtalk_worker.worker_client ref: https://github.com/litagin02/Style-Bert-VITS2/pull/91 tsukumi 2024-03-08 16:44:56 +00:00
  • 6b19eac61e Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev tsukumi 2024-03-08 16:02:22 +00:00
  • a84783a6cc 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. tsukumi 2024-03-08 15:52:37 +00:00
  • a0b5cd3d1b Extended timeout in client side kale4eat 2024-03-09 00:23:23 +09:00
  • 7046f89d74 Add missing file litagin02 2024-03-08 23:46:03 +09:00
  • ea3c05dcbb /voice method GET to POST Aka Diffusion 2024-03-08 23:45:41 +09:00
  • 7f0b252806 Refactor: add Pydantic model representing hyper-parameters of Style-Bert-VITS2 model tsukumi 2024-03-08 12:49:11 +00:00
  • 8fad591ac0 Fix: backported StrEnum from Python 3.11 tsukumi 2024-03-08 11:59:14 +00:00
  • c915215ad2 Refactor: moved transforms.py to style_bert_vits2/models/ tsukumi 2024-03-08 09:43:31 +00:00
  • 67ff3105c1 Refactor: moved utils.py to style_bert_vits2/models/ tsukumi 2024-03-08 09:40:27 +00:00
  • fe7e31e080 Refactor: moved common/tts_model.py to style_bert_vits2/ tsukumi 2024-03-08 09:34:44 +00:00
  • c1f2862889 Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev tsukumi 2024-03-08 09:30:31 +00:00
  • 766699e812 Fix: pyopenjtalk_worker not working tsukumi 2024-03-08 09:21:09 +00:00
  • ebb37ad7bb Fix multiprocessing bert_gen error of pyopenjtalk_worker litagin02 2024-03-08 18:18:38 +09:00
  • df68771651 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. tsukumi 2024-03-08 09:04:40 +00:00
  • a672aeefd9 Fix: maintain compatibility with Python 3.9 tsukumi 2024-03-08 08:45:56 +00:00
  • e2daa55000 Refactor: split style_bert_vits2.nlp.english package tsukumi 2024-03-08 08:43:54 +00:00
  • 5de4884075 Fix: import error pyopenjtalk_worker.initialize() has the side effect of starting another process and should not be executed automatically on import. tsukumi 2024-03-08 07:31:33 +00:00
  • 75467936d9 Refactor: cleanup style_bert_vits2/nlp/english/__init__.py tsukumi 2024-03-08 06:39:51 +00:00
  • fac4f9a8ab 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. tsukumi 2024-03-08 06:20:44 +00:00
  • 8add1b4202 Fix: maintain compatibility with Python 3.9 tsukumi 2024-03-08 06:14:50 +00:00
  • 4a3519c4b9 Remove: Ruff I have determined that this is excessive for this project at this time. tsukumi 2024-03-08 05:51:54 +00:00
  • da7747cc67 Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 tsukumi 2024-03-08 05:49:52 +00:00
  • 4d5c537f95 Refactor: introducing Ruff tsukumi 2024-03-07 19:52:34 +00:00
  • 3f07c256e3 Refactor: make variables private that are not used externally tsukumi 2024-03-07 19:33:21 +00:00
  • 9f01e54d2d Unify webui to single webui litagin02 2024-03-08 13:00:15 +09:00
  • 1cbe9648b0 Initialize pyopenjtalk worker for multi-threading litagin02 2024-03-08 12:59:27 +09:00
  • 817036fb82 Merge branch 'dev' into gradio litagin02 2024-03-08 11:30:53 +09:00
  • 25ed226acb Add speaker list api litagin02 2024-03-08 11:19:03 +09:00
  • d024b71340 Fix typo litagin02 2024-03-08 10:10:53 +09:00
  • 5fda2103ed Merge pull request #89 from kale4eat/dev-pyopenjtalk-worker litagin02 2024-03-08 10:06:50 +09:00