tsukumi
d762bf4401
Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2
2024-10-25 22:16:19 +09:00
tsukumi
b67e50fd8d
Improve: DirectML inference performance
2024-09-23 20:20:46 +09:00
tsukumi
eb5d245903
Add: Test for ONNX inference code (without PyTorch dependency)
2024-09-23 10:04:02 +09:00
tsukumi
faddb0a8a8
Fix: Don't list hidden files as models
...
Copying files from macOS to Linux would produce files starting with . _ that were incorrectly identified as model files.
2024-09-23 08:51:31 +09:00
tsukumi
245bfe54ae
Fix: In the “Merge” tab of the Web UI, re-create the TTSModelHolder using the passed TTSModelHolder instance variable so that ONNX models do not get mixed up
2024-09-23 08:13:16 +09:00
tsukumi
0e0b4bea31
Fix: Disable optimization on InferenceSession initialization to speed up loading of ONNX models
2024-09-22 23:08:00 +09:00
tsukumi
9b27ba9777
Improve: Graphical display of ONNX conversion script logs
2024-09-18 06:11:10 +09:00
tsukumi
449927616a
Fix: Suppress many warning logs
2024-09-18 05:48:37 +09:00
tsukumi
7d721fdf2b
Fix: CUDAExecutionProvider was not being used to infer Style-Bert-VITS2 ONNX models even though CUDA was available
2024-09-18 04:37:23 +09:00
tsukumi
e5a05a30cb
Improve: Outputs model load time and inference time
2024-09-17 18:37:00 +09:00
tsukumi
5e2c83c6c7
Improve: Support ONNX inference, add ONNX conversion script
2024-09-17 16:55:03 +09:00
tsukumi
b9fdeb4492
Add: Preparation for ONNX inference support ②
2024-09-17 09:02:14 +09:00
tsukumi
eede796c4e
Add: Preparation for ONNX inference support ①
2024-09-17 06:53:11 +09:00
litagin02
c1381b2c49
Refactor a little
2024-06-22 17:10:44 +09:00
litagin02
402346e493
Fix mid_result assignment
2024-06-22 15:18:57 +09:00
litagin02
9eab977138
Style
2024-06-22 14:54:47 +09:00
liruk
b645de0750
ヌルモデル変更時にloadし直す用途で、推論時にforce_reload_modelを追加
2024-06-21 09:19:46 +09:00
liruk
7f2a4a8f3e
コード整理+暫定でヌルモデル使用時は常時load()するように
...
TODO:ヌルモデルの変更を検知できればそれがよさそう。
2024-06-21 09:07:09 +09:00
liruk
fb99a776ce
推論時ヌルモデルマージ(できるけどバグバグ)
2024-06-19 18:31:27 +09:00
liruk
86c2a1b087
推論時ヌルモデルマージ(まだ動かないよ)
2024-06-18 19:15:20 +09:00
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