Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yzakzero opened this issue Sep 9, 2021 · 0 comments

Comments

@yzakzero
Copy link

yzakzero commented Sep 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant