SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.03543 · 2022

MonoViT: Self-Supervised Monocular Depth Estimation with a Vision Transformer

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 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/2208.03543.json · badge: /api/ran/2208.03543.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
zxcqlf/monovit canonical (classifier label)
classifier basis: plan_row
6 ran · 0 no recorded run
FunctionStatusWhere it lives
batch_post_process_disparity Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zxcqlf/monovit/evaluate_depth.py
code served (permissive licence) · get_code("a8814cc5c348b987")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 3, dtype family float, shape (2, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create small disparity maps
# Shape: (batch, height, width)
batch_size = 2
height = 4
width = 3

l_disp = np.random.rand(batch_size, height, width).astype(np.float32)
r_disp = np.random.rand(batch_size, height, width).astype(np.float32)

ARGS = {
    "l_disp": l_disp,
    "r_disp": r_disp,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_errors Ran
ran, honoured the contract we drafted
zxcqlf/monovit/evaluate_depth.py
pointer only (licence: MIT); the stored copy get_code serves, from nianticlabs/depth-hints, is pointer only (licence: NOASSERTION) · get_code("edd4f86e8f02732f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from nianticlabs/depth-hints, and GitHub could not classify the licence of that repository (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.

depth_to_disp Ran
ran, violated the contract we drafted
zxcqlf/monovit/networks/hr_layers.py
pointer only (licence: MIT); the stored copy get_code serves, from brandleyzhou/DIFFNet, is pointer only (licence: NONE) · get_code("572a295bc8e11e7d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from brandleyzhou/DIFFNet, and GitHub detected no licence in that repository when it was checked. 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.

disp_to_depth Ran
ran, violated the contract we drafted
zxcqlf/monovit/networks/hr_layers.py
code served (permissive licence) · get_code("62287188376f0ba0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a small disparity tensor
# Shape: (batch_size=2, height=4, width=3)
disp = torch.rand(2, 4, 3)

# Set min_depth and max_depth as scalars
min_depth = 0.1
max_depth = 100.0

ARGS = {
    "disp": disp,
    "min_depth": min_depth,
    "max_depth": max_depth,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 4, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dpr_generator Ran
ran; our contract draft was wrong, not the code
zxcqlf/monovit/networks/mpvit.py
pointer only (licence: MIT); the stored copy get_code serves, from zxcqlf/GasMono, is pointer only (licence: NONE) · get_code("50237babd07c2e3b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zxcqlf/GasMono, and GitHub detected no licence in that repository when it was checked. 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.

upsample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zxcqlf/monovit/networks/hr_layers.py
pointer only (licence: MIT); the stored copy get_code serves, from leofansq/CBR, is pointer only (licence: NONE) · get_code("a739072b350093e7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from leofansq/CBR, and GitHub detected no licence in that repository when it was checked. 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.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 6 later) and 0 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
compute_errors 24 other papers
12 dated earlier, 12 later
1609.03677 (2016-09)
Unsupervised Monocular Depth Estimation with Left-Right Consistency
1803.02276 (2018-03)
GeoNet: Unsupervised Learning of Dense Depth, Optical Flow and Camera Pose
1806.01260 (2018-06)
Digging Into Self-Supervised Monocular Depth Estimation
and 21 more not named here
disp_to_depth 18 other papers
8 dated earlier, 10 later
1806.01260 (2018-06)
Digging Into Self-Supervised Monocular Depth Estimation
1809.02627 (2018-09)
Unity: A General Platform for Intelligent Agents
1907.10326 (2019-07)
From Big to Small: Multi-Scale Local Planar Guidance for Monocular Depth Estimation
and 15 more not named here
batch_post_process_disparity 17 other papers
9 dated earlier, 8 later
1806.01260 (2018-06)
Digging Into Self-Supervised Monocular Depth Estimation
1909.09051 (2019-09)
Self-Supervised Monocular Depth Hints
2003.13951 (2020-03)
Self-supervised Monocular Trained Depth Estimation using Self-attention and Discrete Disparity Volume
and 14 more not named here
upsample 8 other papers
5 dated earlier, 3 later
1912.03426 (2019-12)
Self-Supervised 3D Keypoint Learning for Ego-motion Estimation
2002.08394 (2020-02)
MonoLayout: Amodal scene layout from a single image
2103.14201 (2021-03)
Image2Reverb: Cross-Modal Reverb Impulse Response Synthesis
and 5 more not named here
depth_to_disp 2 other papers
2 later
2309.16019 (2023-09)
GasMono: Geometry-Aided Self-Supervised Monocular Depth Estimation for Indoor Scenes
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
dpr_generator 2 other papers
2 later
2309.16019 (2023-09)
GasMono: Geometry-Aided Self-Supervised Monocular Depth Estimation for Indoor Scenes
2405.06525 (2024-05)
SSA-Seg: Semantic and Spatial Adaptive Pixel-level Classifier for Semantic Segmentation

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

Self-supervised monocular depth estimation is an attractive solution that does not require hard-to-source depth labels for training. Convolutional neural networks (CNNs) have recently achieved great success in this task. However, their limited receptive field constrains existing network architectures to reason only locally, dampening the effectiveness of the self-supervised paradigm. In the light of the recent successes achieved by Vision Transformers (ViTs), we propose MonoViT, a brand-new framework combining the global reasoning enabled by ViT models with the flexibility of self-supervised monocular depth estimation. By combining plain convolutions with Transformer blocks, our model can reason locally and globally, yielding depth prediction at a higher level of detail and accuracy, allowing MonoViT to achieve state-of-the-art performance on the established KITTI dataset. Moreover, MonoViT proves its superior generalization capacities on other datasets such as Make3D and DrivingStereo.

For agents

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

get_harvested_code_for_paper("2208.03543")
get_code_for_paper("2208.03543")
have("2208.03543")

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

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

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

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

Connect an agent — have() is free.