mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
plot attention alignments
This commit is contained in:
Binary file not shown.
@@ -53,7 +53,7 @@ class LJSpeechDataset(Dataset):
|
||||
|
||||
text = [d['text'] for d in batch]
|
||||
text_lenghts = [len(x) for x in text]
|
||||
max_text_len = np.max(text_lengths)
|
||||
max_text_len = np.max(text_lenghts)
|
||||
wav = [d['wav'] for d in batch]
|
||||
|
||||
# PAD sequences with largest length of the batch
|
||||
|
||||
Reference in New Issue
Block a user