We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
I also get this with the ViT-L-14/openai. Not sure what to think. Is it too large?
Sorry, something went wrong.
#62
No branches or pull requests
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: