sail-sg / EditAnything

Edit anything in images powered by segment-anything, ControlNet, StableDiffusion, etc. (ACM MM)
Apache License 2.0
3.29k stars 188 forks source link

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

Open yesitsGao opened 1 year ago

yesitsGao commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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: @.***>

jingwu2121 commented 11 months ago

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

jingwu2121 commented 11 months ago

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