panoptic-segment-anything icon indicating copy to clipboard operation
panoptic-segment-anything copied to clipboard

Error occurs when setting up, could be related to the update of GroundingDINO two days ago

Open lanlanyan0817 opened this issue 1 year ago • 1 comments

Hi, thanks for your great work! I have been using your model for several weeks on Google Colab. It worked well, and I got good masks. However, I just found today there is an error occurring when running the first cell, installing GroundedDINO:

/content/Grounded-Segment-Anything Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 254.7/254.7 kB 4.9 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 41.9 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.2/72.2 kB 9.9 MB/s eta 0:00:00 error: subprocess-exited-with-error

× Building editable for groundingdino (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building editable for groundingdino (pyproject.toml) ... error ERROR: Failed building editable for groundingdino ERROR: Could not build wheels for groundingdino, which is required to install pyproject.toml-based projects

So, I checked the pyproject.toml of GroundDINO of Grounded-Segment-Anything, and I found that they updated the pyproject.toml two days ago. I think the error could be related to this update, but I am not sure if it's true, and I don't know exactly how to fix it. Maybe can you check if the problem is related to the update or something else? Thanks!

lanlanyan0817 avatar Nov 17 '23 18:11 lanlanyan0817

@lanlanyan0817 I updated the project and it runs for me. Could you check again if you still need it?

segments-tobias avatar May 03 '24 15:05 segments-tobias