You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error on detector = pipeline(model=checkpoint, task="zero-shot-image-classification") message: CLIPImageProcessor requires the PIL library but it was not found in your environment.
Additional recommendation:
Users should be able to (and likely will attempt to) use locally saved images with their model. Guide only states how to use an image from the internet using a URL.
Add to guide in both sections:
path = “<path of image>”
image = Image.open(path)
as an option to use a locally stored images.
Expected behavior
Following guide as written should not result in crash.
Additionally, users should know how to use the model with their own, locally-saved images.
The text was updated successfully, but these errors were encountered:
System Info
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Tested using PyTorch only.
detector = pipeline(model=checkpoint, task="zero-shot-image-classification")
message: CLIPImageProcessor requires the PIL library but it was not found in your environment.Additional recommendation:
Users should be able to (and likely will attempt to) use locally saved images with their model. Guide only states how to use an image from the internet using a URL.
Add to guide in both sections:
as an option to use a locally stored images.
Expected behavior
Following guide as written should not result in crash.
Additionally, users should know how to use the model with their own, locally-saved images.
The text was updated successfully, but these errors were encountered: