-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
why not from PIL import Image #101
Comments
Can you clarify what you mean. Whether I do |
In my environment, my environment:
|
Interesting. Thanks for reporting this. If you want you can make a pull-request, otherwise I will fix it in a few days. |
fixed in the recently released version 0.12.4 |
Thank you. |
I wonder why not
from PIL import Image
in https://github.com/bethgelab/foolbox/blob/master/foolbox/utils.py#L76-L78In major open sources, they use
from PIL import Image
such as pillow official documents and pytorch/torchvision.In addition to this, I encountered an error when using
foolbox.utils.imagenet_example
caused byPIL.Image.open
.The text was updated successfully, but these errors were encountered: