EditAnything icon indicating copy to clipboard operation
EditAnything copied to clipboard

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

Open yesitsGao opened this issue 2 years ago • 4 comments

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.

yesitsGao avatar Aug 02 '23 03:08 yesitsGao

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.

affromero avatar Aug 04 '23 12:08 affromero

Oh, thanks a lot. I will have a try.

伊隆马 @.***

Original Email

Sender:"Andrés Romero"< @.*** >;

Sent Time:2023/8/4 20:38

To:"sail-sg/EditAnything"< @.*** >;

Cc recipient:"yesitsGao"< @.*** >;"Author"< @.*** >;

Subject:Re: [sail-sg/EditAnything] Where are the "./models/groundingdino_swint_ogc.pth" "./GroundingDINO_SwinT_OGC.py" ?(Issue #53)

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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yesitsGao avatar Aug 05 '23 06:08 yesitsGao

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

jingwu2121 avatar Nov 01 '23 16:11 jingwu2121

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

jingwu2121 avatar Nov 01 '23 16:11 jingwu2121