All models

owlvit_src_b16

CLIP-backed Vision Transformer with per-token heads for open-vocabulary detection.

Detection and tracking · 652 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
owlvit
Parameters
152.8M
Operations
652
Framework
PyTorch
Recurrent
No
Published
2022
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7908
Graph hash
f0186a9eefb22376ac392eff09259fa64042bee19290d2fb962dac26b43915fe
Skeleton hash
ae1d69c8b59e06bcd9594af19ac9091fc6c6cd22a11e18b3f83635c2c81c4108
Architecture hash
43c2683d36c94a6eec81db7547f1f0d3de85a84f02d64befedcd84b5bf56512f
Diagram SHA-256
6cbb25b2e23fbd2fadcb9bcbf23c581b37261fad5cfa200eb8c84aa0d0a60726
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

OWL-ViT, short for Vision Transformer for Open-World Localization, is an open-vocabulary detector: you query an image with one or more text strings and it finds the objects they describe. The recipe is deliberately plain: a standard Vision Transformer with minimal changes, contrastive image-text pre-training, then end-to-end detection fine-tuning.

Concretely it takes CLIP as its backbone, drops the final token pooling layer of the vision model, and attaches a lightweight classification and box head to each output token. Open vocabulary comes from swapping the fixed classifier weights for class-name embeddings from the text model, and the whole thing is fine-tuned with a bipartite matching loss on standard detection datasets.

The authors' scaling analysis found that more image-level pre-training and bigger models keep paying off on the downstream detection task. The captured members are the base patch-32 and patch-16 detectors plus the bare OwlViTModel, which gives text and image features without the heads.

Key idea. A simple recipe for open-vocabulary detection: a CLIP-pretrained Vision Transformer with per-token box and class heads, where class weights are text embeddings, fine-tuned end to end for zero-shot text-conditioned and one-shot image-conditioned detection.

  • OWL-ViT
  • OWLViT
  • Vision Transformer for Open-World Localization
  • open-vocabulary object detection
  • zero-shot object detection
  • text-conditioned detection
  • CLIP detector

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.