pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP
MIT License
2.67k stars 433 forks source link

The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0 #82

Open TheWorldIsOur opened 1 year ago

TheWorldIsOur commented 1 year ago

Im getting this error when trying to interrogate :

The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0.

Why is this happening?

zono50 commented 1 year ago

I'm getting this error as well, no matter what picture I use

sourenpash commented 1 year ago

hey did you guys find a solution

GRMrGecko commented 1 year ago
pip3 uninstall transformers
pip3 install transformers==4.26.1
flashbackpoductions commented 1 year ago

same here. pi3p........ didnt worked.

Q1ngS0ng commented 1 year ago

pip install transformers==4.26.1 worked, same issue #62

adammenges commented 1 year ago

pip install transformers==4.26.1 worked, same issue #62

same, this worked