SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.11711 · ECCV · 2024

OGNI-DC: Robust Depth Completion with Optimization-Guided Neural Iterations

Jia Deng, Yiming Zuo

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 2 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/2406.11711.json · badge: /api/ran/2406.11711.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
princeton-vl/OGNI-DC canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
conv3x3 Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/resnet_cbam.py
code served (permissive licence) · get_code("765f415ffbb2b6c9")
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 Conv2d. 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

torch.manual_seed(0)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv_bn_relu Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/backbone.py
code served (permissive licence) · get_code("f25ef2e9f68777d0")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    'ch_in': 3,
    'ch_out': 64,
    'kernel': 3,
    'stride': 1,
    'padding': 1,
    'bn': True,
    'relu': True,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
convert_str_to_num Ran
ran, honoured the contract we drafted
princeton-vl/OGNI-DC/src/utility.py
code served (permissive licence) · get_code("f8ca3cb40c015a0b")
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 list, ndim 1, dtype family int; 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)

# Analyze the function:
# - val: a string that contains numbers separated by commas, potentially with quotes
# - t: a string indicating the type ('int' or 'float')
# The function removes quotes, splits by comma, and converts to the specified type

ARGS = {
    'val': "'1,2,3'",
    't': 'int'
}
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 list, ndim 1, dtype family int — a list 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
convt_bn_relu Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/backbone.py
code served (permissive licence) · get_code("5164cf28cb8981d5")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    'ch_in': 3,
    'ch_out': 16,
    'kernel': 3,
    'stride': 1,
    'padding': 0,
    'output_padding': 0,
    'bn': True,
    'relu': True,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
edge_sum Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/dyspn_module.py
code served (permissive licence) · get_code("ccb3436c8cc1467d")
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 Conv2d. 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

torch.manual_seed(0)

ARGS = {
    "k_f": 5,
    "dilation": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
make_optimizer_scheduler Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/utility.py
code served (permissive licence) · get_code("86a8a5c1d3fbec13")
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 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 torch.nn as nn
import torch.optim as optim

torch.manual_seed(0)

# Create a minimal nn.Module
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create args object with all required attributes
class Args:
    def __init__(self):
        self.optimizer = 'ADAM'
        self.lr = 0.001
        self.weight_decay = 1e-5
        self.momentum = 0.9
        self.betas = (0.9, 0.999)
        self.epsilon = 1e-8
        self.milestones = [10, 20]
        self.gamma = 0.1

args = Args()
target = SimpleModel()
num_batches = 100

ARGS = {
    'args': args,
    'target': target,
    'num_batches': num_batches
}
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 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
resnet18_cbam Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/resnet_cbam.py
code served (permissive licence) · get_code("6a9ef4cb00de1e85")
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 ResNet. 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 math

torch.manual_seed(0)

# The function signature is:
# def resnet18_cbam(pretrained=False, **kwargs):
# Looking at the function body (which is incomplete but shows "model"),
# it appears to construct a ResNet-18 with CBAM attention.
# The function takes pretrained (bool) and **kwargs (which go to ResNet)

# Based on the ResNet class, kwargs can include num_classes
# Let's create minimal valid arguments

ARGS = {
    'pretrained': 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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
resnet34_cbam Ran
ran; our contract draft was wrong, not the code
princeton-vl/OGNI-DC/src/model/resnet_cbam.py
code served (permissive licence) · get_code("2ae8344d03371655")
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 ResNet. 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 math

torch.manual_seed(0)

ARGS = {
    'pretrained': 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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
upsample_depth Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
princeton-vl/OGNI-DC/src/model/ognidc.py
code served (permissive licence) · get_code("4496655a8331ad32")
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 4, dtype family float, shape (2, 1, 6, 8) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Analyzing the function upsample_depth:
# - depth: shape [N, _, H/r, W/r] with 4 dimensions, used in F.unfold
# - mask: shape [N, 1, 9, r, r, H, W] after view, used in softmax and multiplication
# - r: integer, default 8, used in reshape and view operations

# Let's work backwards from the expected shapes:
# - depth input: [N, _, H/r, W/r]
# - mask input: [N, 1, 9, r, r, H, W] (before view in the function)
# - output: [N, 1, r*H, r*W]

# Let's use small values:
# N = 2 (batch size)
# r = 2 (upsampling factor, small for testing)
# H = 3 (height of downsampled)
# W = 4 (width of downsampled)

N = 2
r = 2
H = 3
W = 4

# depth shape should be [N, _, H, W] = [2, 1, 3, 4]
depth = torch.randn(N, 1, H, W)

# mask shape should be [N, 1, 9, r, r, H, W] = [2, 1, 9, 2, 2, 3, 4]
mask = torch.randn(N, 1, 9, r, r, H, W)

ARGS = {
    'depth': depth,
    'mask': mask,
    'r': r
}
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 4, dtype family float, shape (2, 1, 6, 8) — shape (2, 1, 6, 8) 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
get_resnet18 Not yet run
unverified (harvested, no recorded run)
princeton-vl/OGNI-DC/src/model/pvt.py
code served (permissive licence) · get_code("d3f8a892fddc538a")
How it ran

no invocation recorded.

get_resnet34 Not yet run
unverified (harvested, no recorded run)
princeton-vl/OGNI-DC/src/model/pvt.py
code served (permissive licence) · get_code("31c1784010ed8209")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 2 later) and 5 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
resnet34_cbam 11 other papers
6 dated earlier, 4 later, 1 same year, order not determinable
2309.14062 (2023-09)
FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
aaai_29079 (2024 (year only))
Dynamic Sub-graph Distillation for Robust Semi-supervised Continual Learning
and 8 more not named here
resnet18_cbam 10 other papers
6 dated earlier, 3 later, 1 same year, order not determinable
2308.09297 (2023-08)
NAPA-VQ: Neighborhood Aware Prototype Augmentation with Vector Quantization for Continual Learning
2309.14062 (2023-09)
FeCAM: Exploiting the Heterogeneity of Class Distributions in Exemplar-Free Continual Learning
2310.15171 (2023-10)
RoboDepth: Robust Out-of-Distribution Depth Estimation under Corruptions
and 7 more not named here
convert_str_to_num 3 other papers
3 dated earlier
2007.10042 (2020-07)
Non-Local Spatial Propagation Network for Depth Completion
2303.05021 (2023-03)
DiffusionDepth: Diffusion Denoising Approach for Monocular Depth Estimation
2404.19294 (2024-04)
Masked Spatial Propagation Network for Sparsity-Adaptive Depth Refinement
get_resnet18 3 other papers
3 dated earlier
2007.10042 (2020-07)
Non-Local Spatial Propagation Network for Depth Completion
2303.05021 (2023-03)
DiffusionDepth: Diffusion Denoising Approach for Monocular Depth Estimation
2405.11867 (2024-05)
Depth Prompting for Sensor-Agnostic Depth Estimation
get_resnet34 3 other papers
3 dated earlier
2007.10042 (2020-07)
Non-Local Spatial Propagation Network for Depth Completion
2303.05021 (2023-03)
DiffusionDepth: Diffusion Denoising Approach for Monocular Depth Estimation
2405.11867 (2024-05)
Depth Prompting for Sensor-Agnostic Depth Estimation
make_optimizer_scheduler 1 other paper
1 dated earlier
2404.19294 (2024-04)
Masked Spatial Propagation Network for Sparsity-Adaptive Depth Refinement

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 completion is the task of generating a dense depth map given an image and a sparse depth map as inputs. In this paper, we present OGNI-DC, a novel framework for depth completion. The key to our method is "Optimization-Guided Neural Iterations" (OGNI). It consists of a recurrent unit that refines a depth gradient field and a differentiable depth integrator that integrates the depth gradients into a depth map. OGNI-DC exhibits strong generalization, outperforming baselines by a large margin on unseen datasets and across various sparsity levels. Moreover, OGNI-DC has high accuracy, achieving state-of-theart performance on the NYUv2 and the KITTI benchmarks. Code is available at https://github.com/princeton-vl/OGNI-DC.

For agents

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

get_harvested_code_for_paper("2406.11711")
get_code_for_paper("2406.11711")
have("2406.11711")

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

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

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

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

Connect an agent — have() is free.