luca-medeiros / lang-segment-anything

SAM with text prompt
Apache License 2.0
1.53k stars 167 forks source link

Installation stopped working after GroundingDino Update #66

Open tgrigat opened 1 month ago

tgrigat commented 1 month ago

When trying to install the package using the steps of the documentation you get conflicting dependencies of lang-sam and grounding dino. Root of the issue seems to be that the requirements of grounding dino were recently changed to force an installation of supervision 0.21.0 which is incompatible with pillow<9.4.

Theproblem is that lang-sam 0.1.0 depends on Pillow==9.3.0

I tried cuda and pip isntallation and it is for both the same.

sd0809 commented 1 month ago

the same problem

lhy0807 commented 1 month ago

same problem

RabbitDF commented 1 month ago

I have the same problem. Is there a solution?

lhy0807 commented 1 month ago

A quick workaround: install GroundingDINO manually using this commit version

starry521 commented 1 month ago

Install locally and modify the pillow version number in the peoject.toml file