Indexing error if max_train_samples is not 7000
tonyzhao6 opened this issue · 0 comments
tonyzhao6 commented
If max_train_samples
is not 7000
, then this line will throw an IndexError
.
It seems that we should always go to the else
branch since it will always loop over exactly the length of the dataset.
rasat/seq2seq/utils/dataset.py
Line 256 in b912ce8