Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Error : raise StopIteration StopIteration #140

@farhadrahimiinfo

Description

@farhadrahimiinfo

hi
Thank you for sharing your implementation
please help me .

i run this command
python create_training_data.py --config config/training_config.yaml

created 4 folder for me

  • char_pitch.alinger_extralayer_layernorm.Stress_NoBreathing.MelGAN_default
  • durations.alinger_extralayer_layernorm.Stress_NoBreathing.MelGAN_default
  • mels.MelGAN_default
  • pitch.MelGAN_default

and then i run this command

python train_aligner.py --config config/training_config.yaml

but
It gives me the following error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "train_aligner.py", line 137, in
test_mel, test_phonemes, _, test_fname = valid_dataset.next_batch()
File "/home/TTS/TransformerTTS-main/TransformerTTS-main/data/datasets.py", line 272, in next_batch
return next(self.data_iter)
File "/root/miniconda3/envs/ttsmain/lib/python3.8/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 816, in next
raise StopIteration
StopIteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions