Closed arnav-newzera closed 1 year ago
it's normal. if you skip it it'll compute it in the dataloader anyways.
Hi @erogol, @arnav-newzera
I've configured as config above
when I set compute_f0=False,
to avoid slow computing . I get error:
Traceback (most recent call last):
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 1591, in fit
self._fit()
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 1544, in _fit
self.train_epoch()
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 1309, in train_epoch
_, _ = self.train_step(batch, batch_num_steps, cur_step, loader_start_time)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 1141, in train_step
outputs, loss_dict_new, step_time = self._optimize(
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 1025, in _optimize
outputs, loss_dict = self._model_train_step(batch, model, criterion)
File "/home/tupk/anaconda3/envs/nlp/lib/python3.8/site-packages/trainer/trainer.py", line 970, in _model_train_step
return model.train_step(*input_args)
File "/home/tupk/tupk/nlp/custom/TTS/TTS/tts/models/forward_tts.py", line 723, in train_step
outputs = self.forward(
File "/home/tupk/tupk/nlp/custom/TTS/TTS/tts/models/forward_tts.py", line 636, in forward
o_pitch_emb, o_pitch, avg_pitch = self._forward_pitch_predictor(o_en, x_mask, pitch, dr)
ValueError: not enough values to unpack (expected 3, got 2)
Maybe it comes from not having computed pitch files. How can I fix it?
Thank you
Describe the bug
Precomputing F0s while finetuning fast_pitch takes a lot of time. This is my config:
this is my cpu specification:
gpu:
am i doing something wrong? can i skip the precomputing f0s step? is it recommended? performance is important to me.
To Reproduce
Standard installation . then finetuning fast_pitch using a ljspeech format dataset.
Expected behavior
Maybe a faster execution
Logs
No response
Environment
Additional context
No response