Skip to content

Commit

Permalink
Fix error on failed audio loading trainner
Browse files Browse the repository at this point in the history
  • Loading branch information
WeberJulian committed Oct 31, 2023
1 parent 81d48db commit c6ee29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/tts/layers/xtts/trainer/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def check_eval_samples(self):
try:
tseq, _, wav, _, _, _ = self.load_item(sample)
except:
pass
continue
# Basically, this audio file is nonexistent or too long to be supported by the dataset.
if (
wav is None
Expand Down

0 comments on commit c6ee29c

Please sign in to comment.