comfyui-mixlab-nodes icon indicating copy to clipboard operation
comfyui-mixlab-nodes copied to clipboard

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

Open DENG-XC opened this issue 1 year ago • 7 comments

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 avatar Feb 03 '24 06:02 DENG-XC

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

DENG-XC avatar Feb 04 '24 02:02 DENG-XC

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 avatar Feb 13 '24 06:02 formulake

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.

formulake avatar Feb 13 '24 06:02 formulake

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 :``(

rollingcookies avatar Mar 11 '24 09:03 rollingcookies

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.

formulake avatar Mar 11 '24 15:03 formulake

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.

rollingcookies avatar Mar 11 '24 19:03 rollingcookies

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

GeekyGhost avatar May 09 '24 04:05 GeekyGhost