SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1903.03273 · 2019

FastDepth: Fast Monocular Depth Estimation on Embedded Systems

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 1 failure of our instrument; 4 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/1903.03273.json · badge: /api/ran/1903.03273.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
dwofk/fast-depth community (classifier label)
classifier basis not recorded on the link
7 ran · 4 no recorded run
FunctionStatusWhere it lives
colored_depthmap Ran
ran on a synthesized input
dwofk/fast-depth/utils.py
code served (permissive licence) · get_code("ba5b77ab3b38dfa1")
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 float, 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 matplotlib.pyplot as plt

# Create a small depth map (4x3 to have distinct dimensions)
depth = np.random.rand(4, 3) * 10.0

# Define ARGS dict with all parameters
ARGS = {
    "depth": depth,
    "d_min": None,
    "d_max": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, 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 (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
conv Ran
ran on a synthesized input
dwofk/fast-depth/models.py
code served (permissive licence) · get_code("4bbcf0a8b0e66b5e")
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 = {
    'in_channels': 3,
    'out_channels': 64,
    'kernel_size': 3
}
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
depthwise Ran
ran on a synthesized input
dwofk/fast-depth/models.py
code served (permissive licence) · get_code("396a8d0f8d9e7869")
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)

# The function takes two parameters:
# 1. in_channels: integer specifying number of input channels
# 2. kernel_size: integer specifying kernel size

ARGS = {
    'in_channels': 16,
    'kernel_size': 3
}
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
h5_loader Ran
ran; our contract draft was wrong, not the code
dwofk/fast-depth/dataloaders/dataloader.py
code served (permissive licence) · get_code("c76f77ddf75da739")
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. 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 h5py
import numpy as np
import tempfile
import os

# Create a temporary HDF5 file with the required structure
temp_dir = tempfile.mkdtemp()
temp_h5_path = os.path.join(temp_dir, 'test.h5')

# Create a valid HDF5 file with 'rgb' and 'depth' datasets
with h5py.File(temp_h5_path, 'w') as h5f:
    # rgb should be stored as (C, H, W) and will be transposed to (H, W, C)
    rgb_data = np.random.randint(0, 256, (3, 4, 5), dtype=np.uint8)
    h5f.create_dataset('rgb', data=rgb_data)
    
    # depth can be any shape, typically (H, W)
    depth_data = np.random.rand(4, 5).astype(np.float32)
    h5f.create_dataset('depth', data=depth_data)

ARGS = {
    'path': temp_h5_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
log10 Ran
ran on a synthesized input
dwofk/fast-depth/metrics.py
code served (permissive licence) · get_code("86d4403f20d59cbc")
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 2, dtype family float, shape (2, 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
import math

torch.manual_seed(0)

# The function log10 takes a single parameter 'x' which should be a tensor
# It calls torch.log(x) on it, so x must be a torch tensor
# Create a small tensor with positive values (log requires positive input)
x = torch.tensor([[1.0, 10.0, 100.0, 1000.0],
                   [0.1, 1.0, 10.0, 100.0]])

ARGS = {
    "x": x
}
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 2, dtype family float, shape (2, 4) — shape (2, 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
merge_into_row_with_gt Ran
ran on a synthesized input
dwofk/fast-depth/utils.py
code served (permissive licence) · get_code("8ab0a4e8429281eb")
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 float, shape (4, 20, 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 torch
import numpy as np

torch.manual_seed(0)

# Create small tensors with distinct dimensions
# input: (batch, channels, height, width) -> (1, 3, 4, 5)
input_tensor = torch.rand(1, 3, 4, 5)

# depth_input: (batch, 1, height, width) -> (1, 1, 4, 5)
depth_input = torch.rand(1, 1, 4, 5) * 10 + 1

# depth_target: (batch, 1, height, width) -> (1, 1, 4, 5)
depth_target = torch.rand(1, 1, 4, 5) * 10 + 2

# depth_pred: needs .data attribute, so create a tensor that supports it
depth_pred = torch.rand(1, 1, 4, 5) * 10 + 1.5

ARGS = {
    'input': input_tensor,
    'depth_input': depth_input,
    'depth_target': depth_target,
    'depth_pred': depth_pred,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — 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 (4, 20, 3) — shape (4, 20, 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
pointwise Ran
ran on a synthesized input
dwofk/fast-depth/models.py
code served (permissive licence) · get_code("0e34fc35577504ad")
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 = {
    "in_channels": 3,
    "out_channels": 16,
}
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
adjust_brightness Not yet run
unverified (harvested, no recorded run)
dwofk/fast-depth/dataloaders/transforms.py
code served (permissive licence) · get_code("2d6e3abc415f30a8")
How it ran

no invocation recorded.

adjust_contrast Not yet run
unverified (harvested, no recorded run)
dwofk/fast-depth/dataloaders/transforms.py
code served (permissive licence) · get_code("3d7396405403ab61")
How it ran

no invocation recorded.

adjust_saturation Not yet run
unverified (harvested, no recorded run)
dwofk/fast-depth/dataloaders/transforms.py
code served (permissive licence) · get_code("59616bf6be4cce9b")
How it ran

no invocation recorded.

merge_into_row Not yet run
unverified (harvested, no recorded run)
dwofk/fast-depth/utils.py
code served (permissive licence) · get_code("8cbfedd134788323")
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, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 6 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
adjust_brightness 3 other papers
3 later
2209.13106 (2022-09)
Simultaneous Acquisition of High Quality RGB Image and Polarization Information using a Sparse Polarization Sensor
2308.03003 (2023-08)
Cal-SFDA: Source-Free Domain-adaptive Semantic Segmentation with Differentiable Expected Calibration Error
2308.06072 (2023-08)
Out-of-Distribution Detection for Monocular Depth Estimation
adjust_contrast 3 other papers
3 later
2209.13106 (2022-09)
Simultaneous Acquisition of High Quality RGB Image and Polarization Information using a Sparse Polarization Sensor
2308.03003 (2023-08)
Cal-SFDA: Source-Free Domain-adaptive Semantic Segmentation with Differentiable Expected Calibration Error
2308.06072 (2023-08)
Out-of-Distribution Detection for Monocular Depth Estimation
adjust_saturation 3 other papers
3 later
2209.13106 (2022-09)
Simultaneous Acquisition of High Quality RGB Image and Polarization Information using a Sparse Polarization Sensor
2308.03003 (2023-08)
Cal-SFDA: Source-Free Domain-adaptive Semantic Segmentation with Differentiable Expected Calibration Error
2308.06072 (2023-08)
Out-of-Distribution Detection for Monocular Depth Estimation
colored_depthmap 1 other paper
1 later
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
h5_loader 1 other paper
1 later
2308.06072 (2023-08)
Out-of-Distribution Detection for Monocular Depth Estimation

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 sensing is a critical function for robotic tasks such as localization, mapping and obstacle detection. There has been a significant and growing interest in depth estimation from a single RGB image, due to the relatively low cost and size of monocular cameras. However, state-of-the-art single-view depth estimation algorithms are based on fairly complex deep neural networks that are too slow for real-time inference on an embedded platform, for instance, mounted on a micro aerial vehicle. In this paper, we address the problem of fast depth estimation on embedded systems. We propose an efficient and lightweight encoder-decoder network architecture and apply network pruning to further reduce computational complexity and latency. In particular, we focus on the design of a low-latency decoder. Our methodology demonstrates that it is possible to achieve similar accuracy as prior work on depth estimation, but at inference speeds that are an order of magnitude faster. Our proposed network, FastDepth, runs at 178 fps on an NVIDIA Jetson TX2 GPU and at 27 fps when using only the TX2 CPU, with active power consumption under 10 W. FastDepth achieves close to state-of-the-art accuracy on the NYU Depth v2 dataset. To the best of the authors' knowledge, this paper demonstrates real-time monocular depth estimation using a deep neural network with the lowest latency and highest throughput on an embedded platform that can be carried by a micro aerial vehicle.

For agents

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

get_harvested_code_for_paper("1903.03273")
get_code_for_paper("1903.03273")
have("1903.03273")

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

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

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

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

Connect an agent — have() is free.