learner object seems to be doing something weird while trying to load the dataset. The notebook linked here shows the issue in an amount of detail that I can’t replicate here.
The issue seems to be that the validation dataset is not created correctly and the images are somehow read as strings. I know this doesn’t happen when creating the
ImageDataBunch but only after I try running
learn.lr_find() (this is all documented in the notebook).
What’s stranger is that only yesterday when I was running the exact same code, everything ran smoothly. I can’t understand what causes the issue here.
PS – I also did
conda update --all but to no avail.