This commit is contained in:
Eren Golge
2018-03-09 09:52:04 -08:00
parent 896ba160a2
commit cf3188d7da
+1 -1
View File
@@ -53,7 +53,7 @@ class LJSpeechDataset(Dataset):
if length < self.min_seq_len:
ignored.append(idx)
else:
new_frames[i].append(self.frames[idx])
new_frames.append(self.frames[idx])
print(" | > {} instances are ignored by min_seq_len ({})".format(len(ignored), self.min_seq_len))
self.frames = new_frames