fyu / lsun

LSUN Dataset Documentation and Demo Code
531 stars 175 forks source link

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

Open yzakzero opened 2 years ago

yzakzero commented 2 years ago

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