[GH-ISSUE #34] Interrogator tab doesnt show up, Installation Failed #28

Closed
opened 2026-10-31 21:16:14 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @LiJT on GitHub (Mar 27, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/34

Error loading script: clip_interrogator_ext.py
Traceback (most recent call last):
File "E:\stable-diffusion\modules\scripts.py", line 248, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\stable-diffusion\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\stable-diffusion\extensions\clip-interrogator-ext\scripts\clip_interrogator_ext.py", line 9, in
import clip_interrogator
File "E:\stable-diffusion\venv\lib\site-packages\clip_interrogator_init
.py", line 1, in
from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list
File "E:\stable-diffusion\venv\lib\site-packages\clip_interrogator\clip_interrogator.py", line 12, in
from transformers import AutoProcessor, AutoModelForCausalLM, BlipForConditionalGeneration, Blip2ForConditionalGeneration
ImportError: cannot import name 'BlipForConditionalGeneration' from 'transformers' (E:\stable-diffusion\venv\lib\site-packages\transformers_init_.py)

This is the Error I get, After removing the extension and install it back again the problem persist, no solution so far.... Please help

Originally created by @LiJT on GitHub (Mar 27, 2023). Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/34 Error loading script: clip_interrogator_ext.py Traceback (most recent call last): File "E:\stable-diffusion\modules\scripts.py", line 248, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\stable-diffusion\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "E:\stable-diffusion\extensions\clip-interrogator-ext\scripts\clip_interrogator_ext.py", line 9, in <module> import clip_interrogator File "E:\stable-diffusion\venv\lib\site-packages\clip_interrogator\__init__.py", line 1, in <module> from .clip_interrogator import Config, Interrogator, LabelTable, list_caption_models, list_clip_models, load_list File "E:\stable-diffusion\venv\lib\site-packages\clip_interrogator\clip_interrogator.py", line 12, in <module> from transformers import AutoProcessor, AutoModelForCausalLM, BlipForConditionalGeneration, Blip2ForConditionalGeneration ImportError: cannot import name 'BlipForConditionalGeneration' from 'transformers' (E:\stable-diffusion\venv\lib\site-packages\transformers\__init__.py) This is the Error I get, After removing the extension and install it back again the problem persist, no solution so far.... Please help
Author
Owner

@syddharth commented on GitHub (Mar 27, 2023):

I get the same error after 25th March automatic1111 update.

<!-- gh-comment-id:1484622709 --> @syddharth commented on GitHub (Mar 27, 2023): I get the same error after 25th March automatic1111 update.
Author
Owner

@CypherQube commented on GitHub (Mar 27, 2023):

@pharmapsychotic This extension is broken since the Auto1111 update

<!-- gh-comment-id:1484957286 --> @CypherQube commented on GitHub (Mar 27, 2023): @pharmapsychotic This extension is broken since the Auto1111 update
Author
Owner

@pharmapsychotic commented on GitHub (Mar 27, 2023):

oof, thanks for heads up. updating my auto1111 now to see whats up

<!-- gh-comment-id:1485375679 --> @pharmapsychotic commented on GitHub (Mar 27, 2023): oof, thanks for heads up. updating my auto1111 now to see whats up
Author
Owner

@pharmapsychotic commented on GitHub (Mar 28, 2023):

hey guys please give it a try now.

<!-- gh-comment-id:1486152259 --> @pharmapsychotic commented on GitHub (Mar 28, 2023): hey guys please give it a try now.
Author
Owner

@syddharth commented on GitHub (Mar 28, 2023):

@pharmapsychotic the interrogator tab is back and functioning! Thank you for the quick fix 👍

<!-- gh-comment-id:1486277088 --> @syddharth commented on GitHub (Mar 28, 2023): @pharmapsychotic the interrogator tab is back and functioning! Thank you for the quick fix 👍
Author
Owner

@LiJT commented on GitHub (Mar 29, 2023):

@pharmapsychotic Thank you so much!

<!-- gh-comment-id:1487871393 --> @LiJT commented on GitHub (Mar 29, 2023): @pharmapsychotic Thank you so much!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pharmapsychotic/clip-interrogator-ext#28
No description provided.