This commit is contained in:
Manuel Romero
2020-09-08 10:22:57 +02:00
committed by GitHub
parent 8235426ee8
commit 1b76936d1a

View File

@@ -101,7 +101,7 @@ class LmSeqsDataset(Dataset):
def remove_empty_sequences(self): def remove_empty_sequences(self):
""" """
Too short sequences are simply removed. This could be tunedd. Too short sequences are simply removed. This could be tuned.
""" """
init_size = len(self) init_size = len(self)
indices = self.lengths > 11 indices = self.lengths > 11