All models

deit_base_patch16_384

A Data-efficient Image Transformer (DeiT), a transformer model for images.

Image classification · 351 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 (21 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
DeiT
Parameters
86.9M
Operations
351
Framework
PyTorch
Recurrent
No
Published
2021
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
m4180
Graph hash
bfdc253a2ac7222cd81f52d4a9af544f1556d8b5b0bfc4329dff0cbf7ebf5e74
Skeleton hash
5984933a0bef8a06d17bfe1ddc972538f97a6d8a5f7bfd1bd084c2511f43b0a0
Architecture hash
c1d6b3d10837c0b8f32cf780b347db8557fd6230e44c54109a0a90d5793ef914
Diagram SHA-256
ccd84666b668f01ba65a5b74b17760be777f5a786772a1019e75c949873915b0
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('deit_base_patch16_384', pretrained=False)

What it is

This model is the base-size DeiT at 384x384 input.

About this model's family

DeiT, short for Data-efficient Image Transformers, is a group of transformer models for images. The model definitions and weights in the timm library come from the facebookresearch/deit repository, with modifications by Ross Wightman. The models come in tiny, small and base sizes at 224x224 input, each in a plain and a distilled version, and the base size also comes at 384x384 input. The weights offered for these models are ImageNet-1k weights from the same repository.

Two papers are named with these models: "DeiT: Data-efficient Image Transformers" and "DeiT III: Revenge of the ViT".

Key idea. The DeiT paper built data-efficient image transformers in tiny, small and base sizes, each also in a distilled version.

  • deit
  • data-efficient image transformers
  • data efficient image transformer
  • deit distilled
  • deit base
  • deit small
  • deit tiny
  • image transformer
  • image classification
  • imagenet-1k

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