-
Notifications
You must be signed in to change notification settings - Fork 428
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
running demo error #76
Comments
I also get this with the ViT-L-14/openai. Not sure what to think. Is it too large? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was running the demo code shown in readme. But i get the error below
from PIL import Image
from clip_interrogator import Config, Interrogator
image_path = '001.png'
image = Image.open(image_path).convert('RGB')
ci = Interrogator(Config(clip_model_name="ViT-H-14/laion2b_s32b_b79k"))
print(ci.interrogate(image))
RuntimeError: The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0
The text was updated successfully, but these errors were encountered: