pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP
MIT License
2.71k stars 431 forks source link

in SD 1.5.1 bug(The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0) #89

Closed swumagic closed 1 year ago

swumagic commented 1 year ago

Loading CLIP Interrogator 0.5.4... load checkpoint from M:\SD\sdwebui\models\BLIP\model_base_caption_capfilt_large.pth Loading CLIP model... Loaded CLIP model and data in 8.05 seconds. The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0

swumagic commented 1 year ago

pip install clip-interrogator==0.6.0 pip install transformers==4.26.1

mokizzz commented 5 months ago

pip install clip-interrogator==0.6.0

This worked for me!