Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are the "./models/groundingdino_swint_ogc.pth" "./GroundingDINO_SwinT_OGC.py" ? #53

Open
yesitsGao opened this issue Aug 2, 2023 · 4 comments

Comments

@yesitsGao
Copy link

In sam2groundingdino_edit.py, line 56:
groundingdino_checkpoint = "./models/groundingdino_swint_ogc.pth"
groundingdino_config_file = "./GroundingDINO_SwinT_OGC.py"

Could you please tell me where these files are ?

Thanks for your amzing work.

@affromero
Copy link

I was facing the same problems a few days ago, and I solved it by manually copying them from the Grounded-Segment-Anything repo. Maybe that helps in the meantime.

@yesitsGao
Copy link
Author

yesitsGao commented Aug 5, 2023 via email

@jingwu2121
Copy link

Hi, I found that GroundingDINO_SwinT_OGC.py was under the utils folder. But where can I download roundingdino_swint_ogc.pth? :)

@jingwu2121
Copy link

Hi, just to let you know, that the groundingdino_swint_ogc.pth can be downloaded in this repo https://github.com/IDEA-Research/Grounded-Segment-Anything/tree/main

# download the pretrained `groundingdino-swin-tiny` model
wget https://github.com/IDEA-Research/GroundingDINO/releases/download/v0.1.0-alpha/groundingdino_swint_ogc.pth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants