SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.10716 · NeurIPS · 2022

CroCo: Self-Supervised Pre-training for 3D Vision Tasks by Cross-View Completion

Philippe Weinzaepfel, Thomas Lucas, Gabriela Csurka, Vincent Leroy, Romain Brégier, Yohann Cabon, Vaibhav Arora, Leonid Antsfeld, Boris Chidlovskii, Jérôme Revaud

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2210.10716.json · badge: /api/ran/2210.10716.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
naver/croco canonical (classifier label)
classifier basis: classifier_2025
12 ran · 3 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("e43d66926c52d73f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("863ed6dfef2b047a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DecoderBlock Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("1615adbdcbbbfe4f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DropPath Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("99b1932affbf5fdf")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Mlp Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("001c4e1dde23a54e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PatchEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("20f0e8a44c49e22d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PositionGetter Ran
ran on a synthesized input
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("3325c483d48e12ee")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

RandomMask Ran
ran on a synthesized input · constructed an object; no result was computed
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("fe5195c3233da136")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_ntuple Ran
ran; our contract draft was wrong, not the code
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("cd4d36b9126e53f2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("f9a1900525331e0f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_1d_sincos_pos_embed_from_grid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("4bdd36eab04c3f62")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_2d_sincos_pos_embed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("d9a2bb7a053e82c0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Block Not yet run
unverified (harvested, no recorded run)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("d98a51333a14237d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

CroCoNet Not yet run
unverified (harvested, no recorded run)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("f473b33a00269412")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
naver/croco/models/croco.py
pointer only (licence: NOASSERTION) · get_code("4fd80de79832745d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, naver/croco (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 6 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_2d_sincos_pos_embed_from_grid
brick of this paper's assembly: helper
190 other papers
10 dated earlier, 4 the same month, 176 later · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
drop_path
brick of this paper's assembly: helper
66 other papers
11 dated earlier, 53 later, 2 undated · 15 only as an assembly brick
1906.01502 (2019-06)
How multilingual is Multilingual BERT?
2011.10566 (2020-11)
Exploring Simple Siamese Representation Learning
2103.03230 (2021-03)
Barlow Twins: Self-Supervised Learning via Redundancy Reduction
and 63 more not named here
get_1d_sincos_pos_embed_from_grid
brick of this paper's assembly: helper
26 other papers
2 dated earlier, 24 later · 11 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2207.06405 (2022-07)
Masked Autoencoders that Listen
2301.08243 (2023-01)
Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture
and 23 more not named here
DropPath
brick of this paper's assembly: model
8 other papers
2 dated earlier, 6 later · 2 only as an assembly brick
2011.10566 (2020-11)
Exploring Simple Siamese Representation Learning
2103.03230 (2021-03)
Barlow Twins: Self-Supervised Learning via Redundancy Reduction
2303.04249 (2023-03)
Where We Are and What We're Looking At: Query Based Worldwide Image Geo-localization Using Hierarchies and Scenes
and 5 more not named here
_ntuple
brick of this paper's assembly: helper
4 other papers
1 dated earlier, 3 later · 4 only as an assembly brick
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2505.23734 (2025-05)
ZPressor: Bottleneck-Aware Compression for Scalable Feed-Forward 3DGS
2506.18463 (2025-06)
DIP: Unsupervised Dense In-Context Post-training of Visual Representations
and 1 more not named here
Mlp
brick of this paper's assembly: model
1 other paper
1 dated earlier
2203.12119 (2022-03)
Visual Prompt Tuning
get_2d_sincos_pos_embed
brick of this paper's assembly: helper
1 other paper
1 later
2506.13750 (2025-06)
Test3R: Learning to Reconstruct 3D at Test Time

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Masked Image Modeling (MIM) has recently been established as a potent pretraining paradigm. A pretext task is constructed by masking patches in an input image, and this masked content is then predicted by a neural network using visible patches as sole input. This pre-training leads to state-of-the-art performance when finetuned for high-level semantic tasks, e.g. image classification and object detection. In this paper we instead seek to learn representations that transfer well to a wide variety of 3D vision and lower-level geometric downstream tasks, such as depth prediction or optical flow estimation. Inspired by MIM, we propose an unsupervised representation learning task trained from pairs of images showing the same scene from different viewpoints. More precisely, we propose the pretext task of cross-view completion where the first input image is partially masked, and this masked content has to be reconstructed from the visible content and the second image. In single-view MIM, the masked content often cannot be inferred precisely from the visible portion only, so the model learns to act as a prior influenced by high-level semantics. In contrast, this ambiguity can be resolved with crossview completion from the second unmasked image, on the condition that the model is able to understand the spatial relationship between the two images. Our experiments show that our pretext task leads to significantly improved performance for monocular 3D vision downstream tasks such as depth estimation. In addition, our model can be directly applied to binocular downstream tasks like optical flow or relative camera pose estimation, for which we obtain competitive results without bells and whistles, i.e., using a generic architecture without any task-specific design.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2210.10716")
get_code_for_paper("2210.10716")
have("2210.10716")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2210.10716.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2210.10716.svg)](https://syntology.ai/paper/2210.10716)

Connect an agent — have() is free.