You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import os
from TTS.tts.configs.shared_configs import BaseDatasetConfig,BaseAudioConfig,CharactersConfig
from TTS.tts.configs.glow_tts_config import GlowTTSConfig
from TTS.tts.configs.vits_config import VitsConfig
from TTS.tts.models.vits import Vits, VitsAudioConfig
from TTS.utils.audio import AudioProcessor
from TTS.tts.utils.text.tokenizer import TTSTokenizer
from TTS.tts.models.glow_tts import GlowTTS
from TTS.tts.datasets import load_tts_samples
from trainer import Trainer, TrainerArgs
def main():
# BaseDatasetConfig: defines name, formatter and path of the dataset.
output_path = "checkpoints_bn_female"
Traceback (most recent call last):
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 1593, in fit
self._fit()
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 1546, in _fit
self.train_epoch()
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 1310, in train_epoch
_, _ = self.train_step(batch, batch_num_steps, cur_step, loader_start_time)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 1162, in train_step
outputs, loss_dict_new, step_time = self._optimize(
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 1023, in _optimize
outputs, loss_dict = self._model_train_step(batch, model, criterion, optimizer_idx=optimizer_idx)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/trainer/trainer.py", line 970, in _model_train_step
return model.train_step(*input_args)
File "/home/asif/coqui_vits_2/TTS/TTS/tts/models/vits.py", line 1255, in train_step
outputs = self.forward(
File "/home/asif/coqui_vits_2/TTS/TTS/tts/models/vits.py", line 1018, in forward
x, m_p, logs_p, x_mask = self.text_encoder(x, x_lengths, lang_emb=lang_emb)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/asif/coqui_vits_2/TTS/TTS/tts/layers/vits/networks.py", line 104, in forward
x = self.encoder(x , x_mask)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/asif/coqui_vits_2/TTS/TTS/tts/layers/glow_tts/transformer.py", line 424, in forward
y = self.attn_layers[i](x, x, attn_mask)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/asif/coqui_vits_2/TTS/TTS/tts/layers/glow_tts/transformer.py", line 118, in forward
print(" glow_tts/transformer.py ", x)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/_tensor.py", line 427, in __repr__
return torch._tensor_str._str(self, tensor_contents=tensor_contents)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/_tensor_str.py", line 637, in _str
return _str_intern(self, tensor_contents=tensor_contents)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/_tensor_str.py", line 568, in _str_intern
tensor_str = _tensor_str(self, indent)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/_tensor_str.py", line 328, in _tensor_str
formatter = _Formatter(get_summarized_data(self) if summarize else self)
File "/home/asif/miniconda3/envs/denoise_py_3_9_12/lib/python3.9/site-packages/torch/_tensor_str.py", line 115, in __init__
nonzero_finite_vals = torch.masked_select(
RuntimeError: numel: integer multiplication overflow
(denoise_py_3_9_12) asif@152-67-3-48:~/coqui_vits_2/TTS$
Environment
- TTS Version current
Additional context
No response
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.
Describe the bug
To Reproduce
import os
from TTS.tts.configs.shared_configs import BaseDatasetConfig,BaseAudioConfig,CharactersConfig
from TTS.tts.configs.glow_tts_config import GlowTTSConfig
from TTS.tts.configs.vits_config import VitsConfig
from TTS.tts.models.vits import Vits, VitsAudioConfig
from TTS.utils.audio import AudioProcessor
from TTS.tts.utils.text.tokenizer import TTSTokenizer
from TTS.tts.models.glow_tts import GlowTTS
from TTS.tts.datasets import load_tts_samples
from trainer import Trainer, TrainerArgs
def main():
# BaseDatasetConfig: defines name, formatter and path of the dataset.
output_path = "checkpoints_bn_female"
if name == "main":
main()
Expected behavior
No response
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: