Skip to content

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

@lanlanyan0817

Description

@lanlanyan0817

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions