-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error with Mask by Text node. #9
Comments
Had the same error, search for a CLIPSeg node, and swap it for your old node and it should work. Did with mine. |
Had the same error |
I think I've found a way to get close by adding "from clipseg.clipseg import CLIPDensePredT" to the top code in the MaskNodes.py file import os |
I tried that edit but did not resolve it. |
Did you install clipseg? |
I get this import error only when "ComfyUI's ControlNet Auxiliary Preprocessors" is installed/enabled. Disabling it allows Mask by Text to work properly. Seems there's an import conflict? Using the alternative "clipseg" node isn't a proper alternative as it functions differently. |
I fixed it this way:
|
Tried several of these solutions, still looking for a fix. Thanks for the great masks! |
I've been having the same problem and I've pinpointed the issue for my installation at least, can't promise it will fix yours too. The problematic node was clipseg, which is installed in the main ComfyUI\custom_nodes\ folder without a subfolder of its own. Removing it through the manager (or simply deleting the clipseg.py file in the custom nodes folder) fixes masquerade. |
Hi ! I'm getting this error whenever I want to use the Mask by Text node :
I've tried to manually install the clipseg and clip packages with pip in case it were missing, but no, it doesn't fix the issue.
I can do the import without errors in my virtual env, so I don't understand why it fails in the script.
Any idea ?
Thanks in advance and thanks for the nodes.
The text was updated successfully, but these errors were encountered: