ImageList.from_folder extremely slow

Hi, I have a folder organized with 11 subfolders for labels. All together there are ~400k 64x64 images.
ImageList.from_folder(path) hasn’t returned in over two hours. Could someone give me a high level idea of what is going on behind the scenes and if there’s anything I should do to speed this up for larger datasets?