Inconsistent test filenames size

I am working on the dog breed identification and am having trouble evaluating all the images in the test directory. I copy and pasted the read_dir function in the that ImageClassifierData.from_csv should be using, but they are giving me different results. Anyone have any insight as to what could be wrong? Here is an image of my notebook:

Thanks!

Did you grab that version of read_dir by running read_dir??, or did you grab it from Github, etc.? Looks like the most recent commit made a change to exactly that function, so Iā€™m just wondering if the fast.ai library version running in that notebook is actually up to date.

1 Like

Thank you so much. I did indeed grab that function from Github. After pulling in all the most recent changes everything is working perfect.