<!-- # hard line break macro for HTML -->

<a id="model-zoo-grounding-dino-tiny-torch"></a>

# grounding-dino-tiny-torch

Compact open-set object detector that finds objects described in natural language, using a Swin-T vision backbone and BERT text encoder.

**Details**

- Model name: `grounding-dino-tiny-torch`
- Model source: [https://huggingface.co/IDEA-Research/grounding-dino-tiny](https://huggingface.co/IDEA-Research/grounding-dino-tiny)
- Model author: IDEA Research
- Model license: Apache 2.0
- Model size: 628.47 MB
- Exposes embeddings? no
- Tags: `detection, torch, transformers, zero-shot, official`

**Requirements**

- Packages: `torch, torchvision, transformers`
- CPU support
  - yes
- GPU support
  - yes

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)


classes = ["person", "dog", "cat", "bird", "car", "tree", "chair"]

model = foz.load_zoo_model(
    "grounding-dino-tiny-torch",
    classes=classes,
)

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
