Closed WASasquatch closed 7 months ago
Right now it uses a non-restrict version that can be found here https://github.com/luca-medeiros/lang-segment-anything/blob/32cfe0f8363168abb0b77b052e7e755c97306c23/pyproject.toml#L23
About your issue, guess there is an inconsistency with huggingface-hub and gradio. Mind changing and testing huggingface-hub>0.14.0 inside pyproject?
What transformer version does lang sam work on exactly? It gives me this error:
This one is a little more explanatory, maybe?
But I can't get transformers to install for lang sam even when I don't specify a version or use the range it wants for versions.
I was having no issues with
transformers==4.26.1
for BLIP and such with ComfyUI and all that uses it, but now stuck trying to add some SAM prompt based masking in.