SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.03636 · 2022

SurroundDepth: Entangling Surrounding Views for Self-Supervised Multi-Camera Depth Estimation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 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/2204.03636.json · badge: /api/ran/2204.03636.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
weiyithu/surrounddepth canonical (classifier label)
classifier basis not recorded on the link
9 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_errors Ran
ran, honoured the contract we drafted
weiyithu/surrounddepth/utils.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.

disp_to_depth Ran
ran, violated the contract we drafted
weiyithu/surrounddepth/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
get_dist_info Ran
ran, honoured the contract we drafted
weiyithu/surrounddepth/runer.py
code served (permissive licence) · get_code("59c37841287955b4")
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 1, dtype family int; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.distributed as dist

torch.manual_seed(0)

# The function get_dist_info has one optional parameter: return_gpu_per_machine
# It can be called with return_gpu_per_machine=True or return_gpu_per_machine=False
# The function doesn't require any setup of distributed training to work,
# it will just return rank=0, world_size=1 if dist is not initialized

ARGS = {
    'return_gpu_per_machine': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — 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
get_translation_matrix Ran
ran; our contract draft was wrong, not the code
weiyithu/surrounddepth/layers.py
code served (permissive licence) · get_code("955112f5788539a8")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) 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 torch

torch.manual_seed(0)

# Create a translation vector with shape (batch_size=2, 3)
# The function expects a tensor with shape (N, 3) where N is batch size
translation_vector = torch.randn(2, 3)

ARGS = {
    "translation_vector": translation_vector
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
pil_loader Ran
ran, honoured the contract we drafted
weiyithu/surrounddepth/datasets/mono_dataset.py
pointer only (licence: MIT); the stored copy get_code serves, from YuemingJin/MTRCNet-CL, is pointer only (licence: NONE) · get_code("1df9a5ffd9b38c34")
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 YuemingJin/MTRCNet-CL, 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.

readlines Ran
ran; our contract draft was wrong, not the code
weiyithu/surrounddepth/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from eldar/flash3d, is pointer only (licence: NONE) · get_code("859a6ec5fa262fcb")
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 eldar/flash3d, 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.

resnet_multiimage_input Ran
ran; our contract draft was wrong, not the code
weiyithu/surrounddepth/networks/resnet_encoder.py
code served (permissive licence) · get_code("b3ec915279abf3e1")
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 ResNetMultiImageInput. The image it ran in was not recorded. If your copy returns the same type 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 torch.nn as nn
import torchvision.models as models

torch.manual_seed(0)

ARGS = {
    'num_layers': 18,
    'pretrained': False,
    'num_input_images': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResNetMultiImageInput — a ResNetMultiImageInput output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNetMultiImageInput output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
transformation_from_parameters Ran
ran; our contract draft was wrong, not the code
weiyithu/surrounddepth/layers.py
code served (permissive licence) · get_code("cdc03d6bfc4d3a34")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) 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 torch

torch.manual_seed(0)

# Small batch size of 2, axisangle vectors are Bx1x3
axisangle = torch.randn(2, 1, 3)

# Small batch size of 2, translation vectors are Bx3
translation = torch.randn(2, 3)

# Boolean parameter for inversion
invert = False

ARGS = {
    "axisangle": axisangle,
    "translation": translation,
    "invert": invert,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
visualize_depth Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weiyithu/surrounddepth/utils.py
code served (permissive licence) · get_code("2379a0f9748e837f")
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 ndarray, ndim 3, dtype family int, shape (4, 3, 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
import cv2

# Create a sample depth map (4x3 to have distinct dimensions)
depth_map = np.random.rand(4, 3) * 10 + 0.5  # Random depth values between 0.5 and 10.5

# Create a sample mask (same shape as depth map)
mask = np.ones((4, 3), dtype=bool)
mask[0, 0] = False  # Mark one pixel as invalid

# Set depth_min and depth_max
depth_min = 1.0
depth_max = 8.0

# direct flag
direct = False

ARGS = {
    "depth": depth_map,
    "mask": mask,
    "depth_min": depth_min,
    "depth_max": depth_max,
    "direct": direct
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 int, shape (4, 3, 3) — shape (4, 3, 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

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 9 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
pil_loader 28 other papers
17 dated earlier, 10 later, 1 same year, order not determinable
1702.00758 (2017-02)
HashNet: Deep Learning to Hash by Continuation
1805.07932 (2018-05)
Bilinear Attention Networks
1807.06587 (2018-07)
Deep Exemplar-based Colorization
and 25 more not named here
compute_errors 24 other papers
10 dated earlier, 14 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
7 dated earlier, 11 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
transformation_from_parameters 17 other papers
7 dated earlier, 10 later
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
2008.01484 (2020-08)
Learning Stereo from Single Images
and 14 more not named here
get_translation_matrix 14 other papers
7 dated earlier, 7 later
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
2008.01484 (2020-08)
Learning Stereo from Single Images
and 11 more not named here
readlines 7 other papers
2 dated earlier, 5 later
1806.01260 (2018-06)
Digging Into Self-Supervised Monocular Depth Estimation
Zhou_R-MSFM_Recurrent_Multi-Scale_Feature_Modulation_for_Monocular_Depth_Estimating_ICCV_2021_paper (2021 (year only))
R-MSFM: Recurrent Multi-Scale Feature Modulation for Monocular Depth Estimating
2309.05254 (2023-09)
Towards Better Data Exploitation in Self-Supervised Monocular Depth Estimation
and 4 more not named here
visualize_depth 3 other papers
2 later, 1 same year, order not determinable
Ding_TransMVSNet_Global_Context-Aware_Multi-View_Stereo_Network_With_Transformers_CVPR_2022_paper (2022 (year only))
TransMVSNet: Global Context-aware Multi-view Stereo Network with Transformers
2312.09243 (2023-12)
OccNeRF: Advancing 3D Occupancy Prediction in LiDAR-Free Environments
Gan_GaussianOcc_Fully_Self-supervised_and_Efficient_3D_Occupancy_Estimation_with_Gaussian_ICCV_2025_paper (2025 (year only))
GaussianOcc: Fully Self-supervised and Efficient 3D Occupancy Estimation with Gaussian Splatting
get_dist_info 2 other papers
2 later
2312.09243 (2023-12)
OccNeRF: Advancing 3D Occupancy Prediction in LiDAR-Free Environments
Gan_GaussianOcc_Fully_Self-supervised_and_Efficient_3D_Occupancy_Estimation_with_Gaussian_ICCV_2025_paper (2025 (year only))
GaussianOcc: Fully Self-supervised and Efficient 3D Occupancy Estimation with Gaussian Splatting
resnet_multiimage_input 2 other papers
2 later
2312.09243 (2023-12)
OccNeRF: Advancing 3D Occupancy Prediction in LiDAR-Free Environments
Gan_GaussianOcc_Fully_Self-supervised_and_Efficient_3D_Occupancy_Estimation_with_Gaussian_ICCV_2025_paper (2025 (year only))
GaussianOcc: Fully Self-supervised and Efficient 3D Occupancy Estimation with Gaussian Splatting

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

Depth estimation from images serves as the fundamental step of 3D perception for autonomous driving and is an economical alternative to expensive depth sensors like LiDAR. The temporal photometric constraints enables self-supervised depth estimation without labels, further facilitating its application. However, most existing methods predict the depth solely based on each monocular image and ignore the correlations among multiple surrounding cameras, which are typically available for modern self-driving vehicles. In this paper, we propose a SurroundDepth method to incorporate the information from multiple surrounding views to predict depth maps across cameras. Specifically, we employ a joint network to process all the surrounding views and propose a cross-view transformer to effectively fuse the information from multiple views. We apply cross-view self-attention to efficiently enable the global interactions between multi-camera feature maps. Different from self-supervised monocular depth estimation, we are able to predict real-world scales given multi-camera extrinsic matrices. To achieve this goal, we adopt the two-frame structure-from-motion to extract scale-aware pseudo depths to pretrain the models. Further, instead of predicting the ego-motion of each individual camera, we estimate a universal ego-motion of the vehicle and transfer it to each view to achieve multi-view ego-motion consistency. In experiments, our method achieves the state-of-the-art performance on the challenging multi-camera depth estimation datasets DDAD and nuScenes.

For agents

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

get_harvested_code_for_paper("2204.03636")
get_code_for_paper("2204.03636")
have("2204.03636")

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

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

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

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

Connect an agent — have() is free.