
data2vec-vision (image classification)
Image classification336 ops85.7M params
The image model of Data2Vec, which learns by predicting latent representations of the full input from a masked view.
Image classification · 412 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
transformers.AutoModelForSemanticSegmentation.from_config()
This model is Data2VecVisionForSemanticSegmentation, the Data2VecVision model set up for semantic segmentation.
About this model's family
Data2VecVision is the image model of Data2Vec, a unified framework for self-supervised learning across text, audio and images. The core idea is to predict latent representations of the full input data based on a masked view of the input, using a standard Transformer architecture. Instead of modality-specific targets such as words, visual tokens or units of human speech, it predicts contextualized latent representations that contain information from the entire input.
Data2VecAudio, Data2VecText and Data2VecVision have all been trained using the same self-supervised learning method. Data2VecVision is used for image classification and semantic segmentation. Its preprocessing is identical to BeitModel, including feature extraction.
Key idea. Data2Vec uses the same learning method for speech, NLP and computer vision, predicting latent representations of the full input from a masked view of it.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.