Commit Graph

23 Commits

Author SHA1 Message Date
litagin02
2274087da4 Fmt only (maybe) 2024-05-25 18:15:36 +09:00
litagin02
053a6bf785 Fix gradio Path serialize error 2024-05-19 18:31:45 +09:00
litagin02
0a3b57528b Fix gradio import type annotation bug (temp solution) 2024-05-15 20:39:22 +09:00
tsukumi
87144dd321 Improve: automatically generate configs/paths.yml by copying it from configs/default_paths.yml when running initialize.py
If configs/paths.yml itself is included in version control, differences will occur when it is changed in each environment, which is troublesome.
2024-05-06 20:56:07 +09:00
tsukumi
b230832528 Add: allow hyper-parameters and style vectors to be specified directly 2024-05-06 20:43:22 +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
28f254f449 Improve: remove Gradio dependency from style_bert_vits2 as a library 2024-04-23 05:45:11 +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
1a8a7edb9c Docs and bump default pytorch version to 2.2.1 latest 2024-03-15 21:25:24 +09:00
litagin02
e42991f7e3 Remove loading bert since necessary model is loaded automatically 2024-03-15 21:10:24 +09:00
litagin02
7e3e6c55fa docs 2024-03-13 15:46:02 +09:00
tsukumi
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.
2024-03-13 12:09:11 +09:00
litagin02
005706a456 Fix: colab notebook for 2.4 2024-03-12 17:26:03 +09:00
litagin02
44851a6219 Clean and fix docs 2024-03-11 17:05:42 +09:00
litagin02
c776c08235 Apply black formatter 2024-03-11 09:47:47 +09:00
tsukumi
7f02b0f1d5 Refactor: TTSModelInfo changed from TypedDict to Pydantic model
Pydantic models are more robust and properties can be accessed by dots.
2024-03-10 19:21:22 +00:00
tsukumi
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.
2024-03-10 04:18:39 +00:00
tsukumi
d2fd378b56 Refactor: rename Model / ModelHolder to TTSModel / TTSModelHolder for clarification and add comments to each method 2024-03-10 03:47:17 +00:00
tsukumi
1d320915e0 Refactor: make tts_model.py independent of style_gen.py 2024-03-09 18:10:25 +00:00
tsukumi
96d22102f3 Refactor: separate adjust_voice() function from tts_model.py 2024-03-09 17:45:56 +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
67ff3105c1 Refactor: moved utils.py to style_bert_vits2/models/ 2024-03-08 09:40:27 +00:00
tsukumi
fe7e31e080 Refactor: moved common/tts_model.py to style_bert_vits2/ 2024-03-08 09:34:44 +00:00