Commit Graph

59 Commits

Author SHA1 Message Date
tuna2134
db37175b87 fix 2026-07-26 00:49:25 +09:00
tuna2134
0d6eebc3a8 fix 2026-07-24 16:29:09 +09:00
tuna2134
8125666e22 split 2026-07-24 16:24:50 +09:00
tuna2134
9cfaa27f3f fix 2026-07-23 11:51:07 +09:00
tuna2134
b8ce11605c fix 2026-07-20 21:25:49 +09:00
tuna2134
0c2be00f0a ok 2026-07-20 21:08:44 +09:00
litagin02
c51c80fe1a Ver 2.7.0 maybe 2025-08-24 11:27:27 +09:00
tsukumi
1a44c9d437 Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 2025-03-26 20:09:40 +09:00
tsukumi
08c439e88e Refactor: Use I/O Binding during BERT inference and always release memory after inference 2024-12-22 06:49:43 +09:00
litagin02
8d476175a7 hathc run style:fmt 2024-11-17 12:44:27 +09:00
litagin02
a6bc65271c hatch fmt 2024-11-17 12:41:05 +09:00
tsukumi
d397a58874 Fix: errors during ONNX CPU inference 2024-10-06 16:18:21 +09:00
tsukumi
c4b6c169fc Fix: Inference failure with some ExecutionProviders
length_scale, etc. were passed as one-dimensional arrays when they should have been passed as scalar values.
2024-09-28 17:36:26 +09:00
tsukumi
e91b69862c Fix: ONNX inference with DirectML fails 2024-09-23 15:06:19 +09:00
tsukumi
758696c59c Fix: Device ID specified in ExecutionProvider options is respected when moving input tensors 2024-09-23 12:57:14 +09:00
tsukumi
2cdb5844cb Fix: ONNX inference fails in Windows environments
ref: https://qiita.com/gomasa/items/f6337087988685d00ebb
2024-09-23 11:55:50 +09:00
tsukumi
db0acd7b5f Add: Support for ONNX inference and ONNX conversion of Non-JP-Extra models 2024-09-23 05:59:12 +09:00
tsukumi
cc1d6120fe Fix: Default value of False for compatibility with older models where the HyperParameters.data.use_jp_extra field does not exist
JP-Extra models always have use_jp_extra=True, but non-JP-Extra models do not always.
2024-09-23 05:26:19 +09:00
tsukumi
291e635e9e Improve: ONNX conversion logic improved, and support for noise_scale(_w) model argument 2024-09-22 16:14:25 +09:00
tsukumi
327e038977 Improve: I/O binding during ONNX inference
I honestly don't see a big difference...
2024-09-18 04:49:56 +09:00
tsukumi
5e2c83c6c7 Improve: Support ONNX inference, add ONNX conversion script 2024-09-17 16:55:03 +09:00
tsukumi
ebd4551d1e Add: Preparation for ONNX inference support ③ 2024-09-17 09:16:16 +09:00
tsukumi
b9fdeb4492 Add: Preparation for ONNX inference support ② 2024-09-17 09:02:14 +09:00
tsukumi
7c5e839e82 Fix: Converts the given “N” phoneme to “n” when use_jp_extra=False
Non-JP-Extra pre-trained models (based on Bert-VITS2 v2.1) do not distinguish between “ん” and consonant “n” due to an implementation miss.
2024-09-17 05:24:16 +09:00
tsukumi
cfd6bd5bb6 Improve: Models can now be loaded directly onto NVIDIA GPUs 2024-09-17 05:23:02 +09:00
litagin02
2274087da4 Fmt only (maybe) 2024-05-25 18:15:36 +09:00
tsukumi
aa0f9308b1 Refactor: remove dependencies on libraries not required for style_bert_vits2 as a library
librosa: Originally not used under style_bert_vits2/.
pyannote.audio: Required only when using the "infer style vector from audio" function during inference, but it is currently almost unused.
scipy: Because it was used in only one utility function that was not needed outside of training.
2024-04-25 00:31:14 +00:00
tsukumi
9d15d5763d Refactor: run "hatch run style:fmt" 2024-04-19 04:17:27 +00:00
tsukumi
797c354b1b Add: the ability to specify a phoneme sequence representing the reading of the text to be read during speech synthesis
With this feature, it is possible to specify individual readings for homonyms such as "明日 (ashita/asu)" while maintaining the Kanji representation of the read text.
2024-04-19 04:09:21 +00:00
litagin02
432edcc52b Bump ver, rename configs_jp_extra to config_jp_extra for consistency 2024-03-15 12:34:54 +09:00
tsukumi
483bc68d57 Refactor: unify invoke format of open() function 2024-03-12 18:00:51 +00:00
litagin02
b3cc705caa Fix: add use_jp_extra parameter to config.json (for non-jp-extra training) 2024-03-11 17:51:55 +09:00
litagin02
44851a6219 Clean and fix docs 2024-03-11 17:05:42 +09:00
litagin02
dada0af2b6 Format import using isort --profile black --gitignore --lai 2 . 2024-03-11 12:37:51 +09:00
litagin02
c776c08235 Apply black formatter 2024-03-11 09:47:47 +09:00
litagin02
42ee7d7608 Fix: ensure encoding utf-8 2024-03-11 09:27:36 +09:00
tsukumi
859d940916 Fix: failed to start training 2024-03-10 19:15:24 +00:00
tsukumi
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
2024-03-10 10:48:21 +00:00
tsukumi
61e2a1deae Refactor: add type hints to style_bert_vits2.models.utils 2024-03-09 17:26:42 +00:00
tsukumi
98ab8e7978 Refactor: separate module for utilities related to loading/saving checkpoints and safetensors 2024-03-09 15:58:57 +00:00
tsukumi
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.
2024-03-08 23:52:44 +00:00
tsukumi
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.
2024-03-08 22:58:40 +00:00
tsukumi
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.
2024-03-08 15:52:37 +00:00
tsukumi
7f0b252806 Refactor: add Pydantic model representing hyper-parameters of Style-Bert-VITS2 model 2024-03-08 12:49:11 +00:00
tsukumi
c915215ad2 Refactor: moved transforms.py to style_bert_vits2/models/ 2024-03-08 09:43:31 +00:00
tsukumi
67ff3105c1 Refactor: moved utils.py to style_bert_vits2/models/ 2024-03-08 09:40:27 +00:00
tsukumi
a672aeefd9 Fix: maintain compatibility with Python 3.9 2024-03-08 08:45:56 +00:00
tsukumi
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.
2024-03-08 06:20:44 +00:00
tsukumi
8add1b4202 Fix: maintain compatibility with Python 3.9 2024-03-08 06:14:50 +00:00
tsukumi
3f07c256e3 Refactor: make variables private that are not used externally 2024-03-08 05:01:51 +00:00