lsun icon indicating copy to clipboard operation
lsun copied to clipboard

The transformed images hint PIL. UnidentifiedImageError: always identify a image file

Open yzakzero opened this issue 3 years ago • 0 comments

The datasets download from "http://dl.yf.io/lsun/objects/airplane.zip"

My command line input is “D:\Project\Lsun>python data.py export D:/dataset/airplane --out_dir D:/dataset/airplan e/image --flat”

I want to use the torchvision.datasets.ImageFolder()to load the image, but prompt a error about "PIL. UnidentifiedImageError: always identify a image file"

Datasets images display normally on windows10.

What should I do?

Thanks

yzakzero avatar Sep 09 '21 06:09 yzakzero