5e49cf7a2907f9fb3af4e3b5d689b042088d26f9
use the folder_paths module, like we should on Windows, there is an extra ComfyUI subdir in the path the folder_paths module should take care of all that
ComfyUI custom node implementing Florence 2 + Segment Anything Model 2, based on SkalskiP's HuggingFace space
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*.
Languages
Python
100%
