storyicon / comfyui_segment_anything

Based on GroundingDino and SAM, use semantic strings to segment any element in an image. The comfyui version of sd-webui-segment-anything.
Apache License 2.0
675 stars 78 forks source link

Update build_sam_hq.py to support Apple Silicon M1 #50

Open txs opened 7 months ago

txs commented 7 months ago

If there is cuda then run cuda. If m1 then run cpu.