Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法加载clip interrogator / unable to load clip interrogator #172

Open
DENG-XC opened this issue Feb 3, 2024 · 7 comments
Open

无法加载clip interrogator / unable to load clip interrogator #172

DENG-XC opened this issue Feb 3, 2024 · 7 comments

Comments

@DENG-XC
Copy link

DENG-XC commented Feb 3, 2024

image
image
无法加载clip interrogator 这个节点,已经从hugging face 下载模型,并且放到model \ clip interrogator的目录下。
unable to load clip interrogator, I have downloaded models from hugging face, and save it into model \ clip interrogator.
Can someone help, plz.

@DENG-XC
Copy link
Author

DENG-XC commented Feb 4, 2024

手动更新torch和transformer后还是无法加载
I upgrade torch and transformers manually, however, still not working.

@formulake
Copy link

I've got a similar (but not the same) issue. Clip Interrogator isn't loading. I've cloned the repo correctly as I did with the other dependencies. Those work fine but this continues to be a problem.
image

Would really love some help with this from anyone who's overcome the problem.

@formulake
Copy link

Update: I got mine working by following these steps.

  1. Activate venv in the command prompt
  2. Run the command pip install clip_interrogator
  3. Run the command pip install transformers==4.36.0

The status has now changed
image
Hope this helps others.

@rollingcookies
Copy link

How to use transformers==4.36.0 in a separate venv for Mixlab nodes (where can I get a step-by-step tutorial for configuring venv for a separate node in Comfi)? transformers==4.26.0 is needed for Blip Analize Image (WAS Node Suite) nodes to work correctly :``(

@formulake
Copy link

How to use transformers==4.36.0 in a separate venv for Mixlab nodes (where can I get a step-by-step tutorial for configuring venv for a separate node in Comfi)? transformers==4.26.0 is needed for Blip Analize Image (WAS Node Suite) nodes to work correctly :``(

You can't have a separate venv specifically for a custom node. You'll have to run the command in the venv for ComfyUI.

@rollingcookies
Copy link

How to use transformers==4.36.0 in a separate venv for Mixlab nodes (where can I get a step-by-step tutorial for configuring venv for a separate node in Comfi)? transformers==4.26.0 is needed for Blip Analize Image (WAS Node Suite) nodes to work correctly :``(

You can't have a separate venv specifically for a custom node. You'll have to run the command in the venv for ComfyUI.

This is disappointing, because some nodes stop working when there is a package version conflict. It would be great to find a way to run such nodes in a separate venv so that there are no version conflicts to run specific nodes. Every year there are more and more new cool nodes and the number of these conflicts is growing too.

@GeekyGhost
Copy link

I just did an update to ComfyUI and was getting these errors, I just manually created the folders and git cloned them into the new folders and everything was up and running pretty quick. I don't know the correct solution, but that worked for me lol.

Mixlab Nodes: Loaded

LaMaInpainting.available True
ClipInterrogator.available True
PromptGenerate.available True
ChinesePrompt.available True
RembgNode_.available True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants