ComfyUI-SAM2
ComfyUI-SAM2 copied to clipboard
A ComfyUI extension for Segment-Anything 2
See https://github.com/facebookresearch/sam2?tab=readme-ov-file#model-description
I've tried with different torch versions and still getting this error: Win11, rtx3080ti, comfy standalone log: got prompt Loaded checkpoint sucessfully final text_encoder_type: bert-base-uncased !!! Exception during processing !!! Failed...
Updating ComfyUI version to V2.50.3 resulted in a startup error for Sam2. 

As we can see in the pic, there is some visible edge jaggedness(bottom), is it common for the SAM model? And, are there any solutions? Thx~ 
Cannot install this as the hydra module won't install, it complains about longintrepr.h Can you confirm if it's 3.11 compatible?
 If I use a prompt like horse, an error will be reported, but if I use something like cat that does not exist on the screen, a whole black...
The package is using the same node names as https://github.com/storyicon/comfyui_segment_anything This is very confusing when loading existing workflows that have been using that package and not knowing which package to...
bug 1: "axes don't match array" issue: @Yuliuchengyin You should delete the squeeze(0) in SAM2ImagePredictor.predict (line 280 - line 282 in ComfyUI-SAM2/sam2/sam2_image_predictor.py). Then it will works! bug 2: "RuntimeError: No...