Closed neng668 closed 3 years ago
@neng668 i do not know why it happened, see the code here (https://github.com/TensorSpeech/TensorFlowTTS/blob/master/tensorflow_tts/trainers/base_trainer.py#L897), i don't think there is a bug ?
@neng668 This may be an issue with your batch size. Make sure that the batch-size in the config file is greater than the number of audio clips in your dataset. See #498
@dathudeptrai it seems like pip package is not up to date. I am also getting the above error.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I'm currently trying to train a voice using Tacotron2, basically following the Tacotron2 example. I'm using the LJSpeech pre-trained model as a base model and am using additional data (150 English sentences in LJSpeech format) to adapt the voice to that of a target speaker. At the moment I'm running it off Google Colab due to personal hardware restrictions so therefore would sometimes need to reinstall TensorflowTTS with pip.
The command I'm executing is this:
The command was working previously earlier in the month. However. over the last few days I'm having an issue where during evaluation after 500 steps the UnboundLocalError is thrown:
Any help to resolve this would be greatly appreciated!