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

comfui did not read the node #472

Open
515753541 opened this issue Oct 17, 2024 · 1 comment
Open

comfui did not read the node #472

515753541 opened this issue Oct 17, 2024 · 1 comment

Comments

@515753541
Copy link

I installed this node on comfy ui, but comfui didn't read the node

image

image

@martintomov
Copy link

@515753541 i have the exact same issue on windows. (on maocs the node worked out of the box).

initially, the node wouldn't load because it couldn't find refiners.fluxion.utils. could be that it cannot find the proper python module, then you have to hardcode the location in the python script.

when i tried fixing this by:

  1. hardcoding the imports to use local files instead to both box_segmenter.py and grounding_dino.py.
  2. creating my own utils.py with the required functions
  3. implementing all the utility functions locally

the nodes would finally load after 1* being done, but then i hit another wall - the segmentation wasn't working correctly. then i tried fixing it with 2* and the masks were either completely empty or not properly segmenting the objects.
image

i tried several more fixes around the masking and coordinate scaling but nothing seemed to work quite right. might be worth looking at comfyui's native groundingdino implementation as a reference instead.

when reverting the imports to the original ones for grounding_dino.py the node again wouldn't load:
image

if you're still having issues or fixed it, i'd be curious to know if you've tried any different approaches that worked

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

2 participants