pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

TheWorldIsOur opened this issue · 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?

commented

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

hey did you guys find a solution

pip3 uninstall transformers
pip3 install transformers==4.26.1

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

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

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

same, this worked