Skip to content

ComfyUI custom node implementing Florence 2 + Segment Anything Model 2, based on SkalskiP's space at https://huggingface.co/spaces/SkalskiP/florence-sam

License

Notifications You must be signed in to change notification settings

rdancer/ComfyUI_Florence2SAM2

Repository files navigation

ComfyUI custom node implementing Florence 2 + Segment Anything Model 2, based on SkalskiP's HuggingFace space

sample workflow

RdancerFlorence2SAM2GenerateMask - the node is self-contained, and does not require separate model loaders. Models are lazy-loaded, and cached. Model unloading, if required, must be done manually.

Testing

Run python test.py test/*_source.png "products" 👉 the resulting images must pixel-match test/*output*.

About

ComfyUI custom node implementing Florence 2 + Segment Anything Model 2, based on SkalskiP's space at https://huggingface.co/spaces/SkalskiP/florence-sam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages