if it was me, to go fruther with this, I might:

hack the library file at “build/bdist.linux-x86_64/egg/torchvision/datasets/folder.py”, line 116, to print the value of path

try loading this file using Pillow.Image directly
=> if it’s a pillow issue, then, it’s probably out of scope for pytorch
otherwise, report back to pytorch that pillow itself is working ok, yada yada