Skip to content

Commit 22292c4

Browse files
authored
add grounding dino with stable diffusion for image editing (#20)
1 parent 4c8f920 commit 22292c4

File tree

3 files changed

+537
-1
lines changed

3 files changed

+537
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
---
44

5+
6+
Grounding DINO Methods | [![GitHub](https://badges.aleen42.com/src/github.svg)](https://github.com/IDEA-Research/GroundingDINO)
57
[![arXiv](https://img.shields.io/badge/arXiv-2303.05499-b31b1b.svg)](https://arxiv.org/abs/2303.05499)
68
[![YouTube](https://badges.aleen42.com/src/youtube.svg)](https://youtu.be/wxWDt5UiwY8)
9+
10+
Grounding DINO Demos |
711
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/zero-shot-object-detection-with-grounding-dino.ipynb)
812
[![YouTube](https://badges.aleen42.com/src/youtube.svg)](https://youtu.be/cMa77r3YrDk)
913
[![HuggingFace space](https://img.shields.io/badge/🤗-HuggingFace%20Space-cyan.svg)](https://huggingface.co/spaces/ShilongLiu/Grounding_DINO_demo)
14+
[![YouTube](https://badges.aleen42.com/src/youtube.svg)](https://youtu.be/C4NqaRBz_Kw)
15+
16+
Extensions | [Grounding DINO with Stable Diffusion](demo/image_editing_with_groundingdino_stablediffusion.ipynb);
17+
[Grounding DINO with Segment Anything](https://github.com/IDEA-Research/Grounded-Segment-Anything)
18+
19+
1020

1121
[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/grounding-dino-marrying-dino-with-grounded/zero-shot-object-detection-on-mscoco)](https://paperswithcode.com/sota/zero-shot-object-detection-on-mscoco?p=grounding-dino-marrying-dino-with-grounded) \
1222
[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/grounding-dino-marrying-dino-with-grounded/zero-shot-object-detection-on-odinw)](https://paperswithcode.com/sota/zero-shot-object-detection-on-odinw?p=grounding-dino-marrying-dino-with-grounded) \
@@ -121,9 +131,11 @@ ODinW Object Detection Results
121131
<summary><font size="4">
122132
Marrying Grounding DINO with <a href="https://github.com/Stability-AI/StableDiffusion">Stable Diffusion</a> for Image Editing
123133
</font></summary>
134+
See our example: demo/image_editing_with_groundingdino_stablediffusion.ipynb .
124135
<img src=".asset/GD_SD.png" alt="GD_SD" width="100%">
125136
</details>
126137

138+
127139
<details open>
128140
<summary><font size="4">
129141
Marrying Grounding DINO with <a href="https://github.com/gligen/GLIGEN">GLIGEN</a> for more Detailed Image Editing

demo/gradio_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535

36-
# Use this command for evaluate the GLIP-T model
36+
# Use this command for evaluate the Grounding DINO model
3737
config_file = "groundingdino/config/GroundingDINO_SwinT_OGC.py"
3838
ckpt_repo_id = "ShilongLiu/GroundingDINO"
3939
ckpt_filenmae = "groundingdino_swint_ogc.pth"

demo/image_editing_with_groundingdino_stablediffusion.ipynb

Lines changed: 524 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)