Commit Graph

29 Commits

Author SHA1 Message Date
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
tsukumi
70f8d53a1e Add: empty __init__.py 2024-03-07 09:09:24 +00:00
tsukumi
e57cfbf072 Remove: remove currently unused code in style_bert_vits2/models/commons.py 2024-03-07 08:46:13 +00:00
tsukumi
d36401849b Refactor: moved monotonic_align/ to style_bert_vits2/models/monotonic_alignment.py 2024-03-07 04:36:05 +00:00
tsukumi
def6d88425 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.
2024-03-07 04:19:40 +00:00
tsukumi
62919e904e Refactor: moved the module for extracting BERT features from text in each language to style_bert_vits2/text_processing/(language)/bert_feature.py 2024-03-07 03:34:58 +00:00
tsukumi
c3c0dd8b32 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 2024-03-07 03:31:38 +00:00
tsukumi
e826faf62e Refactor: moved text/cleaner.py to style_bert_vits2/text_processing/ 2024-03-07 00:24:28 +00:00
tsukumi
89825e68d8 Refactor: moved model, attentions definitions and inference code to style_bert_vits2/models/
The code has not yet been cleaned up, just moved.
2024-03-06 23:43:25 +00:00
tsukumi
9546495434 Refactor: moved commons.py to style_bert_vits2/models/ and added type definitions and comments 2024-03-06 22:17:03 +00:00