clip-interrogator icon indicating copy to clipboard operation
clip-interrogator copied to clipboard

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

Open TheWorldIsOur opened this issue 1 year ago • 6 comments

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?

TheWorldIsOur avatar Jun 18 '23 21:06 TheWorldIsOur

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

zono50 avatar Jun 28 '23 10:06 zono50

hey did you guys find a solution

sourenpash avatar Jun 28 '23 20:06 sourenpash

pip3 uninstall transformers
pip3 install transformers==4.26.1

grmrgecko avatar Jul 08 '23 15:07 grmrgecko

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

flashbackpoductions avatar Jul 09 '23 21:07 flashbackpoductions

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

Q1ngS0ng avatar Jul 10 '23 08:07 Q1ngS0ng

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

same, this worked

adammenges avatar Jul 14 '23 00:07 adammenges