Enno Hermann
170d3dae92
refactor: remove duplicate to_camel
2024-11-24 19:57:14 +01:00
Enno Hermann
76df6421de
refactor: move more audio processing into torch_transforms
2024-11-24 19:57:14 +01:00
Enno Hermann
69a599d403
refactor(freevc): remove duplicate code
2024-11-24 19:57:14 +01:00
Enno Hermann
7cdfde226b
refactor: move amp_to_db/db_to_amp into torch_transforms
2024-11-23 01:04:17 +01:00
Enno Hermann
8e66be2c32
fix: only enable load with weights_only in pytorch>=2.4
...
Allows moving the minimum Pytorch version back to 2.1
2024-11-04 18:39:51 +01:00
shavit
17ca24c3d6
fix: load weights only in torch.load
2024-09-12 23:37:19 +02:00
Enno Hermann
da82d55329
refactor: use load_fsspec from trainer
...
Made automatically with:
rg "from TTS.utils.io import load_fsspec" --files-with-matches | xargs sed -i 's/from TTS.utils.io import load_fsspec/from trainer.io import load_fsspec/g'
2024-06-29 15:07:10 +02:00
Enno Hermann
0fb26f97df
refactor: use get_user_data_dir from trainer
2024-06-29 15:07:10 +02:00
Enno Hermann
4bd3df2607
refactor: remove duplicate get_padding
2024-06-26 11:54:36 +02:00
Enno Hermann
c30fb0f56b
chore: remove duplicate init_weights
2024-06-26 11:46:37 +02:00
Enno Hermann
a755328e49
refactor(freevc): remove duplicate sequence_mask
2024-06-26 10:17:04 +02:00
Enno Hermann
f8df19a10c
refactor: remove duplicate convert_pad_shape
2024-06-26 10:17:04 +02:00
Enno Hermann
cd7b6daf46
fix: clarify types, fix missing functions
2024-06-26 10:17:04 +02:00
Enno Hermann
d65bcf65bb
chore(freevc): remove duplicate DDSConv and ElementwiseAffine
...
Already exist as:
TTS.tts.layers.vits.stochastic_duration_predictor.DilatedDepthSeparableConv
TTS.tts.layers.vits.stochastic_duration_predictor.ElementwiseAffine
2024-06-26 10:17:04 +02:00
Enno Hermann
9f80e043e4
refactor(freevc): use existing layernorm
2024-06-26 10:17:04 +02:00
Enno Hermann
4bc0e75a08
build: add numpy2 support
...
Identified necessary code changes with the NPY201 ruff rule. Gruut is the only
dependency that doesn't support numpy2 yet.
NB: At build time numpy>=2.0.0 should be required to be able to build wheels
compatible with both numpy1+2:
https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling
2024-06-16 22:10:33 +02:00
ChristianRomberg
3a20f4725f
fix(freevc): use the specified device for pretrained speaker encoder ( #45 )
...
Fixes coqui-ai#3787
2024-06-16 21:24:03 +02:00
Enno Hermann
ec50006855
style: run pre-commit
...
Automatic changes from: pre-commit run --all-files
2024-05-08 12:17:47 +02:00
Enno Hermann
b711e19cb6
refactor: remove verbose arguments
...
Can be handled by adjusting logging levels instead.
2024-04-03 15:19:45 +02:00
Enno Hermann
b6ab85a050
fix: use logging instead of print statements
...
Fixes #1691
2024-04-03 15:19:45 +02:00
Enno Hermann
e95f8950eb
fix: torch.stft will soon require return_complex=True
...
Refactor that removes the deprecation warning:
torch.view_as_real(torch.stft(*, return_complex=True)) is equal to
torch.stft(*, return_complex=False)
https://pytorch.org/docs/stable/generated/torch.stft.html
2024-03-13 12:06:27 +01:00
Enno Hermann
efdafd5a7f
style: run black
2024-03-07 11:46:51 +01:00
Aarni Koskela
449820ec7d
Ruff autofix E71*
2023-12-13 14:56:41 +02:00
Aarni Koskela
90991e89b4
Ruff autofix unused imports and import order
2023-12-13 14:56:41 +02:00
Aarni Koskela
72ac2bfa09
Get rid of some star imports
2023-12-13 14:56:41 +02:00
Matthew Boakes
1b9c400bca
PyTorch 2.1 Updates (Weight Norm and TorchAudio I/O) ( #3176 )
...
* Replaced PyTorch weight_norm With parametrizations.weight_norm
* TorchAudio: Migrating The I/O Functions To Use The Dispatcher Mechanism
* Corrected Code Style
---------
Co-authored-by: Eren Gölge <erogol@hotmail.com>
2023-11-09 16:31:03 +01:00
Aarni Koskela
5ae369d629
Move FreeVCConfig to TTS.vc.configs (like all other config classes)
2023-10-31 16:56:25 +02:00
Aarni Koskela
0dbe7cbcc4
Remove duplicate convert_pad_shape
2023-09-27 01:10:48 +03:00
Eren G??lge
a1c431e6a9
Fixups
2023-06-26 12:55:18 +02:00
Eren Gölge
d309f50e53
Implement FreeVC ( #2451 )
...
* Update .gitignore
* Draft FreeVC implementation
* Tests and relevant updates
* Update API tests
* Add missings
* Update requirements
* :(
* Lazy handle for vc
* Update docs for voice conversion
* Make style
2023-03-25 18:33:23 +01:00