lsun
lsun copied to clipboard
The transformed images hint PIL. UnidentifiedImageError: always identify a image file
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