pharmapsychotic / clip-interrogator-ext

Stable Diffusion WebUI extension for CLIP Interrogator
MIT License
494 stars 64 forks source link

throws Exception <class 'RuntimeError'> error #64

Open start-life opened 1 year ago

start-life commented 1 year ago

throws Exception <class 'RuntimeError'> error Prompt זה שורת הפקודה Loading CLIP Interrogator 0.5.4... load checkpoint from C:\Users\Z5050\Downloads\sd.webui\webui\models\BLIP\model_base_caption_capfilt_large.pth Loading CLIP model... ViT-L-14_openai_artists.safetensors: 100%|████████████████████████████████████████| 16.2M/16.2M [00:01<00:00, 12.6MB/s] ViT-L-14_openai_flavors.safetensors: 100%|██████████████████████████████████████████| 155M/155M [00:14<00:00, 10.7MB/s] ViT-L-14_openai_mediums.safetensors: 100%|██████████████████████████████████████████████████| 146k/146k [00:00<?, ?B/s] ViT-L-14_openai_movements.safetensors: 100%|████████████████████████████████████████| 307k/307k [00:00<00:00, 9.24MB/s] ViT-L-14_openai_trendings.safetensors: 100%|████████████████████████████████████████| 111k/111k [00:00<00:00, 11.8MB/s] ViT-L-14_openai_negative.safetensors: 100%|███████████████████████████████████████| 63.2k/63.2k [00:00<00:00, 5.67MB/s] Loaded CLIP model and data in 30.97 seconds. The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0

start-life commented 1 year ago

image

ushanboe commented 1 year ago

I have the same error !

bismark211 commented 1 year ago

I join the request for a solution to the problem

Grocel commented 1 year ago

Seem to be caused by the changes of update 1.6.0 on stable-diffusion-webui.

codercv commented 1 year ago

Same error (Exception <class 'RuntimeError'>) after Automatic1111 1.6.0 update

pedroquintanilla commented 1 year ago

I have the same problem, any solution?

lilskippyy commented 1 year ago

I have the same issue since last web-ui update

sakinator commented 1 year ago

same issue

Grocel commented 1 year ago

As reported in https://github.com/pharmapsychotic/clip-interrogator-ext/issues/59 you can change transformers==4.30.2 to transformers==4.26.1 in the files requirements.txt and requirements_versions.txt to fix the issue for you. Delete cache.json if the change doesn't work right after restart.

pharmapsychotic commented 1 year ago

Extension is updated now, please update in the webui and restart and should be working again. Let me know if you have any issues!

azamet90 commented 9 months ago

Exception <class 'RuntimeError'> Failed to import transformers.models.blip.image_processing_blip because of the following error (look up to see its traceback): libamdhip64.so.6: cannot open shared object file: No such file or directory

same here