Help preserve open and free AI for humanity's future

← All models

IDEA-Research_grounding-dino-base

IDEA-Research · View on Hugging Face ↗

Open-set object detection (Grounding DINO base): detect arbitrary objects described in a text prompt.

✓ verified · rehash-vs-hf-metadata at 2026-08-24T11:35:57Z

apache-2.01.74 GB (1,870,351,917 bytes)transformerspytorchsafetensorsgrounding-dinozero-shot-object-detectionvisionpaper: 2303.05499

Get this model

Download IDEA-Research_grounding-dino-base.torrent

Recommended — the .torrent carries the webseed url-list, so your client can fall back to plain HTTPS if the swarm is thin. See/verify for the full download + verification walkthrough.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 tags:

  • vision inference: false pipeline_tag: zero-shot-object-detection

Grounding DINO model (base variant)

The Grounding DINO model was proposed in Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection by Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, Lei Zhang. Grounding DINO extends a closed-set object detection model with a text encoder, enabling open-set object detection. The model achieves remarkable results, such as 52.5 AP on COCO zero-shot.

Grounding DINO overview. Taken from the original paper.

Intended uses & limitations

You can use the raw model for zero-shot object detection (the task of detecting things in an image out-of-the-box without labeled data).

How to use

Here's how to use the model for zero-shot object detection:

import requests

import torch
from PIL import Image
from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection 

model_id = "IDEA-Research/grounding-dino-base"
device = "cuda" if torch.cuda.is_available() else "cpu"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForZeroShotObjectDetection.from_pretrained(model_id).to(device)

image_url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(image_url, stream=True).raw)
# Check for cats and remote controls
# VERY important: text queries need to be lowercased + end with a dot
text = "a cat. a remote control."

inputs = processor(images=image, text=text, return_tensors="pt").to(device)
with torch.no_grad():
    outputs = model(**inputs)

results = processor.post_process_grounded_object_detection(
    outputs,
    inputs.input_ids,
    box_threshold=0.4,
    text_threshold=0.3,
    target_sizes=[image.size[::-1]]
)

BibTeX entry and citation info

@misc{liu2023grounding,
      title={Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection}, 
      author={Shilong Liu and Zhaoyang Zeng and Tianhe Ren and Feng Li and Hao Zhang and Jie Yang and Chunyuan Li and Jianwei Yang and Hang Su and Jun Zhu and Lei Zhang},
      year={2023},
      eprint={2303.05499},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Magnet link (secondary — no webseeds)

Opens the swarm directly, but carries no webseed url-list. Prefer the.torrent download above — HTTP fallback seeds ride inside it.

magnet:?xt=urn:btih:1afaf82bc9d2c3568f328e399dad4412749138b8&dn=IDEA-Research_grounding-dino-base

Open magnet in torrent client · infohash 1afaf82bc9d2c3568f328e399dad4412749138b8

Files & hashes

PathSizeMethodHash
README.md2.5 KB (2,580 B)sha1-git-blob14c920e1b2effe7cc8f522a2be907758f828c9f1
config.json1.7 KB (1,737 B)sha1-git-blob5a7f6206a1e488c54316e1f594311dd47a03a41b
model.safetensors890.2 MB (933,400,872 B)sha256-lfs5548f844c928c4b6f411fa8cbcc2bfa8dbbba437cb1d513975519f93c2a9ed21
preprocessor_config.json457 B (457 B)sha1-git-blob5cb45d963917ed130ce46a93204b349cbec21131
pytorch_model.bin892.6 MB (936,002,005 B)sha256-lfs4b51daf2969525a12df8f074b1f6084a69cd2796a565396ea1f4dfb7e5431aaa
special_tokens_map.json125 B (125 B)sha1-git-bloba8b3208c2884c4efb86e49300fdd3dc877220cdf
tokenizer.json694.7 KB (711,396 B)sha1-git-blob688882a79f44442ddc1f60d70334a7ff5df0fb47
tokenizer_config.json1.2 KB (1,237 B)sha1-git-blobed97a84add5f9b2091e756765ad3ba087a345e17
vocab.txt226.1 KB (231,508 B)sha1-git-blobfb140275c155a9c7c5a3b3e0e77a9e839594a938

Provenance

Upstream repositoryIDEA-Research/grounding-dino-base
Revision (pinned)12bdfa3120f3e7ec7b434d90674b3396eccf88eb
Fetched at2026-08-24T11:34:48Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

Webseeds