A detailed example and a workaround (probably not a clean solution) in this notebook:
It seems to be caused by
drop_lastis set to
SortishSamplergenerates randomly ordered indices that can’t be recovered.
A workaround in the above notebook set
drop_last=False and fixed the random seed to make it work. But I have some questions:
- Why is
TextClasDataBunch.create()? Is it necessary?
- Is there possibly a proper way to make this work?