SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1810.11408 · 2018

Anytime Stereo Image Depth Estimation on Mobile Devices

arXiv · PDF · Open in the Atlas

Code that ran

20 of 26 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; 2 honoured the contract we drafted, 3 violated it and 15 have no contract verdict; 0 failures of our instrument; 6 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/1810.11408.json · badge: /api/ran/1810.11408.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
mileyan/AnyNet canonical (classifier label)
classifier basis: census
12 ran · 4 no recorded run
mamoanwar97/Anynet_modified community (classifier label)
classifier basis not recorded on the link
6 ran · 2 no recorded run
rajeevpatwari/anynet community (classifier label)
classifier basis: plan_row
2 ran · 0 no recorded run
FunctionStatusWhere it lives
batch_relu_conv3d Ran
ran on a synthesized input
mileyan/AnyNet/models/submodules.py
code served (permissive licence) · get_code("6cca995f3adaee16")
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_planes": 3,
    "out_planes": 16,
    "kernel_size": 3,
    "stride": 1,
    "pad": 1,
    "bn3d": 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
dataloader Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/diy_dataset.py
code served (permissive licence) · get_code("f372bd977f385406")
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 os
import tempfile
import shutil

# Create a temporary directory structure that mimics the expected dataset layout
temp_dir = tempfile.mkdtemp()

# Create training directory structure
training_dir = os.path.join(temp_dir, 'training')
os.makedirs(os.path.join(training_dir, 'image_2'), exist_ok=True)
os.makedirs(os.path.join(training_dir, 'image_3'), exist_ok=True)
os.makedirs(os.path.join(training_dir, 'disp_occ_0'), exist_ok=True)

# Create validation directory structure
validation_dir = os.path.join(temp_dir, 'validation')
os.makedirs(os.path.join(validation_dir, 'image_2'), exist_ok=True)
os.makedirs(os.path.join(validation_dir, 'image_3'), exist_ok=True)
os.makedirs(os.path.join(validation_dir, 'disp_occ_0'), exist_ok=True)

# Create dummy image files in training set
train_images = ['0000000.png', '0000001.jpg', '0000002.png']
for img_name in train_images:
    open(os.path.join(training_dir, 'image_2', img_name), 'w').close()
    open(os.path.join(training_dir, 'image_3', img_name), 'w').close()
    open(os.path.join(training_dir, 'disp_occ_0', img_name), 'w').close()

# Create dummy image files in validation set
val_images = ['0000010.png', '0000011.jpg']
for img_name in val_images:
    open(os.path.join(validation_dir, 'image_2', img_name), 'w').close()
    open(os.path.join(validation_dir, 'image_3', img_name), 'w').close()
    open(os.path.join(validation_dir, 'disp_occ_0', img_name), 'w').close()

# Create a simple logger object
class SimpleLogger:
    def info(self, msg):
        pass
    def debug(self, msg):
        pass

log = SimpleLogger()

# Create a dummy split file
split_file = os.path.join(temp_dir, 'split.txt')
with open(split_file, 'w') as f:
    f.write('dummy split info')

ARGS = {
    'filepath': temp_dir,
    'log': log,
    'split_file': split_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
dataloader Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/listflowfile.py
code served (permissive licence) · get_code("aa7e13ed905b10f3")
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 os
import tempfile
import shutil

# Create a temporary directory structure that mimics the expected dataset layout
tmpdir = tempfile.mkdtemp()

# Create directory structure for monkaa
monkaa_frames = os.path.join(tmpdir, 'frames_cleanpass_monkaa')
monkaa_disp = os.path.join(tmpdir, 'disparity_monkaa')
os.makedirs(os.path.join(monkaa_frames, 'scene1', 'left'), exist_ok=True)
os.makedirs(os.path.join(monkaa_frames, 'scene1', 'right'), exist_ok=True)
os.makedirs(os.path.join(monkaa_disp, 'scene1', 'left'), exist_ok=True)

# Create dummy image files
open(os.path.join(monkaa_frames, 'scene1', 'left', 'frame_0001.png'), 'w').close()
open(os.path.join(monkaa_frames, 'scene1', 'right', 'frame_0001.png'), 'w').close()
open(os.path.join(monkaa_disp, 'scene1', 'left', 'frame_0001.pfm'), 'w').close()

# Create directory structure for flying (frames_cleanpass and frames_disparity)
flying_frames = os.path.join(tmpdir, 'frames_cleanpass')
flying_disp = os.path.join(tmpdir, 'frames_disparity')
for subset in ['TRAIN', 'TEST']:
    for letter in ['A', 'B', 'C']:
        for side in ['left', 'right']:
            os.makedirs(os.path.join(flying_frames, subset, letter, 'scene1', side), exist_ok=True)
            os.makedirs(os.path.join(flying_disp, subset, letter, 'scene1', side), exist_ok=True)
        
        # Create dummy files
        open(os.path.join(flying_frames, subset, letter, 'scene1', 'left', 'image_0001.png'), 'w').close()
        open(os.path.join(flying_frames, subset, letter, 'scene1', 'right', 'image_0001.png'), 'w').close()
        open(os.path.join(flying_disp, subset, letter, 'scene1', 'left', 'image_0001.pfm'), 'w').close()

# Create directory structure for driving
driving_frames = os.path.join(tmpdir, 'frames_cleanpass_driving')
driving_disp = os.path.join(tmpdir, 'disparity_driving')
for focal in ['15mm_focallength']:
    for scene in ['scene_backwards', 'scene_forwards']:
        for speed in ['fast', 'slow']:
            for side in ['left', 'right']:
                os.makedirs(os.path.join(driving_frames, focal, scene, speed, side), exist_ok=True)
                os.makedirs(os.path.join(driving_disp, focal, scene, speed, side), exist_ok=True)
            
            # Create dummy files
            open(os.path.join(driving_frames, focal, scene, speed, 'left', 'image_0001.png'), 'w').close()
            open(os.path.join(driving_frames, focal, scene, speed, 'right', 'image_0001.png'), 'w').close()
            open(os.path.join(driving_disp, focal, scene, speed, 'left', 'image_0001.pfm'), 'w').close()

ARGS = {
    'filepath': tmpdir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
dataloader Ran
ran on a synthesized input
mamoanwar97/Anynet_modified/dataloader/KITTI_dataset.py
code served (permissive licence) · get_code("b59b91ff9420dc34")
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 os
import tempfile
import shutil
import numpy as np

# Create a temporary directory structure that mimics the expected dataset layout
temp_dir = tempfile.mkdtemp()
training_dir = os.path.join(temp_dir, 'training')
left_fold_dir = os.path.join(training_dir, 'image_2')
right_fold_dir = os.path.join(training_dir, 'image_3')
disp_fold_dir = os.path.join(training_dir, 'disp_occ_0_npy')

os.makedirs(left_fold_dir)
os.makedirs(right_fold_dir)
os.makedirs(disp_fold_dir)

# Create some dummy image files
for i in range(3):
    img_name = f'image_{i:06d}.png'
    open(os.path.join(left_fold_dir, img_name), 'w').close()
    open(os.path.join(right_fold_dir, img_name), 'w').close()
    np.save(os.path.join(disp_fold_dir, f'image_{i:06d}.npy'), np.zeros((376, 1241)))

# Create train and validation split files
train_split_file = os.path.join(temp_dir, 'train_split.txt')
with open(train_split_file, 'w') as f:
    f.write('image_000000\n')
    f.write('image_000001\n')

val_split_file = os.path.join(temp_dir, 'val_split.txt')
with open(val_split_file, 'w') as f:
    f.write('image_000002\n')

ARGS = {
    'filepath': temp_dir,
    'train_spit': train_split_file,
    'val_list': val_split_file,
    'load_npy': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
dataloader Ran
ran on a synthesized input
mamoanwar97/Anynet_modified/dataloader/KITTIloader2012.py
code served (permissive licence) · get_code("86dc9ef96c0417c9")
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 os
import tempfile
import random

class MockLogger:
    def info(self, msg):
        pass

# Create a temporary directory structure with dummy files
temp_dir = tempfile.mkdtemp()
os.makedirs(os.path.join(temp_dir, 'image_2'), exist_ok=True)
os.makedirs(os.path.join(temp_dir, 'image_3'), exist_ok=True)
os.makedirs(os.path.join(temp_dir, 'disp_occ_0'), exist_ok=True)

# Create dummy image files with names matching the pattern (containing '_10')
for i in range(200):
    open(os.path.join(temp_dir, 'image_2', f'{i:06d}_10.png'), 'w').close()
    open(os.path.join(temp_dir, 'image_3', f'{i:06d}_10.png'), 'w').close()
    open(os.path.join(temp_dir, 'disp_occ_0', f'{i:06d}_10.png'), 'w').close()

# Create a split file with validation indices
split_file_path = os.path.join(temp_dir, 'split.txt')
with open(split_file_path, 'w') as f:
    for idx in [160, 161, 162, 163, 164]:
        f.write(f'{idx}\n')

mock_log = MockLogger()

ARGS = {
    'filepath': temp_dir + '/',
    'log': mock_log,
    'split_file': split_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
dataloader Ran
ran on a synthesized input
rajeevpatwari/anynet/dataloader/listflowfile.py
code served (permissive licence) · get_code("2502fc54633e5cb4")
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 os
import tempfile
import shutil

# Create a temporary directory structure that mimics the expected dataset layout
temp_dir = tempfile.mkdtemp()

# Create the directory structure
monkaa_frames = os.path.join(temp_dir, 'monkaa_frames_cleanpass')
monkaa_disp = os.path.join(temp_dir, 'monkaa_disparity')

os.makedirs(os.path.join(monkaa_frames, 'scene1', 'left'), exist_ok=True)
os.makedirs(os.path.join(monkaa_frames, 'scene1', 'right'), exist_ok=True)
os.makedirs(os.path.join(monkaa_disp, 'scene1', 'left'), exist_ok=True)

# Create dummy image files
for i in range(5):
    # Left images
    left_img = os.path.join(monkaa_frames, 'scene1', 'left', f'frame_{i:04d}.png')
    with open(left_img, 'w') as f:
        f.write('dummy_image')
    
    # Right images
    right_img = os.path.join(monkaa_frames, 'scene1', 'right', f'frame_{i:04d}.png')
    with open(right_img, 'w') as f:
        f.write('dummy_image')
    
    # Disparity files
    disp_file = os.path.join(monkaa_disp, 'scene1', 'left', f'frame_{i:04d}.pfm')
    with open(disp_file, 'w') as f:
        f.write('dummy_disparity')

ARGS = {
    'filepath': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
default_loader Ran
ran, honoured the contract we drafted
mamoanwar97/Anynet_modified/dataloader/KITTILoader3D.py
pointer only (licence: MIT); the stored copy get_code serves, from xlgsyzp/cvpt, is pointer only (licence: NONE) · get_code("ac269a0e4b8d946e")
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 xlgsyzp/cvpt, 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.

default_loader Ran
ran, honoured the contract we drafted
mileyan/AnyNet/dataloader/KITTILoader.py
code served (permissive licence) · get_code("0b3ce8456d675a8c")
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 Image. 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 tempfile
from PIL import Image
import os

# Create a temporary image file
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.jpg")

# Create a simple RGB image and save it
img = Image.new('RGB', (100, 100), color='red')
img.save(temp_image_path)

# Define ARGS with the path parameter
ARGS = {
    'path': temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
disparity_loader Ran
ran on a synthesized input
mamoanwar97/Anynet_modified/dataloader/KITTILoader3D.py
code served (permissive licence) · get_code("8d9f5f6ce951aa15")
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 2, dtype family float, shape (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
import tempfile
import os

# Create a temporary .npy file with sample disparity data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "disparity.npy")

# Create sample disparity data (2D array of float values)
disparity_data = np.random.rand(4, 3).astype(np.float32)
np.save(temp_file, disparity_data)

ARGS = {
    "path": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 2, dtype family float, shape (4, 3) — shape (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
disparity_loader Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/KITTILoader.py
code served (permissive licence) · get_code("c0ce2ceaa41309b3")
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 PngImageFile. 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
from PIL import Image
import tempfile
import os

# Create a temporary directory for test images
temp_dir = tempfile.mkdtemp()

# Create a simple test image and save it
test_image = Image.new('L', (64, 48), color=128)
test_image_path = os.path.join(temp_dir, 'test_disparity.png')
test_image.save(test_image_path)

# Define ARGS with the path parameter
ARGS = {
    'path': test_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PngImageFile — a PngImageFile output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PngImageFile output the recorded ndim 2 and dtype family int 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
error_estimating Ran
ran on a synthesized input
mileyan/AnyNet/finetune.py
code served (permissive licence) · get_code("229724b86f1fdcbf")
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 0, dtype family float, shape () 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 small tensors for disparity and ground truth
# The function expects tensors with values where:
# - ground_truth has values > 0 and < maxdisp for valid pixels
# - disp is the predicted disparity map
# Shape: (2, 4) for batch_size=2, spatial_dim=4

disp = torch.tensor([
    [10.0, 15.0, 20.0, 25.0],
    [12.0, 18.0, 22.0, 28.0]
], dtype=torch.float32)

ground_truth = torch.tensor([
    [10.5, 15.5, 19.0, 26.0],
    [11.5, 17.0, 23.0, 27.5]
], dtype=torch.float32)

maxdisp = 192

ARGS = {
    "disp": disp,
    "ground_truth": ground_truth,
    "maxdisp": maxdisp
}
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 0, dtype family float, shape () — shape () 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
error_estimating Ran
ran on a synthesized input
mamoanwar97/Anynet_modified/openCV.py
code served (permissive licence) · get_code("db6b53b61db9cbf6")
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 float32, ndim 0, dtype family float, shape () 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 torch

torch.manual_seed(0)

# Create small numpy arrays for disparity and ground truth
# The function expects 2D arrays where:
# - disp: predicted disparity map
# - ground_truth: ground truth disparity map
# Both should have the same shape

height, width = 4, 3

# Create ground truth with values in valid range (0 to maxdisp)
ground_truth = np.array([
    [10.0, 50.0, 100.0],
    [25.0, 75.0, 150.0],
    [5.0, 90.0, 180.0],
    [30.0, 120.0, 60.0]
], dtype=np.float32)

# Create disparity predictions (some close, some far from ground truth)
disp = np.array([
    [10.5, 53.5, 102.0],
    [25.2, 75.8, 155.0],
    [8.0, 90.5, 200.0],
    [30.1, 120.5, 63.0]
], dtype=np.float32)

ARGS = {
    'disp': disp,
    'ground_truth': ground_truth,
    'maxdisp': 192
}
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 float32, ndim 0, dtype family float, shape () — shape () 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
is_image_file Ran
ran, violated the contract we drafted
rajeevpatwari/anynet/dataloader/diy_dataset.py
code served (permissive licence) · get_code("59848503040bbdac")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () 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.

ARGS = {
    'filename': 'test_image.jpg'
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () 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
is_image_file Ran
ran, violated the contract we drafted
mileyan/AnyNet/dataloader/KITTILoader.py
pointer only (licence: MIT); the stored copy get_code serves, from sgoldyaev/DeepFashion.ADGAN, is pointer only (licence: NONE) · get_code("ab4109634b75ef8b")
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 sgoldyaev/DeepFashion.ADGAN, 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.

is_image_file Ran
ran, violated the contract we drafted
mamoanwar97/Anynet_modified/dataloader/KITTI_dataset.py
code served (permissive licence) · get_code("44b43878a62b8e71")
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 bool, ndim 0, dtype family float, shape () 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

# The function is_image_file takes a single parameter: filename (a string)
# It checks if the filename ends with any of the IMG_EXTENSIONS

ARGS = {
    'filename': 'test_image.jpg'
}
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 bool, ndim 0, dtype family float, shape () — shape () 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
pad_random_crop Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/preprocess.py
code served (permissive licence) · get_code("8050fdcf3ccf70b9")
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 Compose. 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 torchvision.transforms as transforms
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a small stand-in image for testing
# The function expects PIL Images as input to the transform pipeline
dummy_image = Image.new('RGB', (256, 256), color='red')

ARGS = {
    'input_size': 224,
    'scale_size': 256,
    'normalize': {'mean': [0.485, 0.456, 0.406], 'std': [0.229, 0.224, 0.225]}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
post_3dconvs Ran
ran on a synthesized input
mileyan/AnyNet/models/submodules.py
code served (permissive licence) · get_code("c9513ac7441c6dc6")
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 = {
    'layers': 2,
    '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 2 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
preconv2d Ran
ran on a synthesized input
mileyan/AnyNet/models/submodules.py
code served (permissive licence) · get_code("484f0f80ebcb2bfb")
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_planes": 3,
    "out_planes": 64,
    "kernel_size": 3,
    "stride": 1,
    "pad": 1,
    "dilation": 1,
    "bn": 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
readPFM Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/readpfm.py
code served (permissive licence) · get_code("aaea02c311c902eb")
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 tempfile
import os
import numpy as np
import struct

# Create a temporary PFM file for testing
temp_dir = tempfile.mkdtemp()
pfm_file = os.path.join(temp_dir, "test.pfm")

# Create a simple valid PFM file (color format)
height, width = 4, 3
scale = 1.0

# Write PFM file manually
with open(pfm_file, 'wb') as f:
    # Write header
    f.write(b'PF\n')  # Color PFM
    f.write(f'{width} {height}\n'.encode('utf-8'))
    f.write(f'{scale}\n'.encode('utf-8'))
    
    # Write image data (height x width x 3 floats)
    # Data should be written in little-endian or big-endian based on scale sign
    data = np.random.rand(height, width, 3).astype(np.float32)
    # Flip upside down before writing (PFM convention)
    data = np.flipud(data)
    data.tofile(f)

ARGS = {
    'file': pfm_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
scale_crop Ran
ran on a synthesized input
mileyan/AnyNet/dataloader/preprocess.py
code served (permissive licence) · get_code("7d64bf848e8100c3")
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 Compose. 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 torchvision.transforms as transforms
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create sample image data as PIL Image for transforms to work with
sample_array = np.random.randint(0, 256, (32, 32, 3), dtype=np.uint8)
sample_image = Image.fromarray(sample_array)

ARGS = {
    'input_size': 224,
    'scale_size': 256,
    'normalize': {'mean': [0.485, 0.456, 0.406], 'std': [0.229, 0.224, 0.225]}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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_disp_to_depth Not yet run
unverified (harvested, no recorded run)
mamoanwar97/Anynet_modified/evaluate.py
code served (permissive licence) · get_code("cbae2621f9e8e508")
How it ran

no invocation recorded.

dataloader Not yet run
unverified (harvested, no recorded run)
mileyan/AnyNet/dataloader/KITTIloader2012.py
code served (permissive licence) · get_code("337eab65fc60395a")
How it ran

no invocation recorded.

dataloader Not yet run
unverified (harvested, no recorded run)
mileyan/AnyNet/dataloader/KITTIloader2015.py
code served (permissive licence) · get_code("164ddc7f85f5e375")
How it ran

no invocation recorded.

dataloader Not yet run
unverified (harvested, no recorded run)
mamoanwar97/Anynet_modified/dataloader/KITTIloader2015.py
code served (permissive licence) · get_code("0212e19ca5cc4ab5")
How it ran

no invocation recorded.

disparity_loader Not yet run
unverified (harvested, no recorded run)
mileyan/AnyNet/dataloader/SecenFlowLoader.py
code served (permissive licence) · get_code("aaf877e27c4a3c3e")
How it ran

no invocation recorded.

inception_preproccess Not yet run
unverified (harvested, no recorded run)
mileyan/AnyNet/dataloader/preprocess.py
code served (permissive licence) · get_code("f407103e88c43c4d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 26 samples lifted from this paper's linked repositories, 26 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 8 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 1 the same month, 5 later) and 15 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
is_image_file 62 other papers
5 dated earlier, 57 later
1609.04802 (2016-09)
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
1703.07511 (2017-03)
Deep Photo Style Transfer
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
and 59 more not named here
default_loader 27 other papers
2 dated earlier, 25 later
1710.03463 (2017-10)
Learning to Generalize: Meta-Learning for Domain Generalization
1803.08669 (2018-03)
Pyramid Stereo Matching Network
1906.06310 (2019-06)
Pseudo-LiDAR++: Accurate Depth for 3D Object Detection in Autonomous Driving
and 24 more not named here
disparity_loader 2 other papers
1 dated earlier, 1 later
1803.08669 (2018-03)
Pyramid Stereo Matching Network
2007.03085 (2020-07)
Wasserstein Distances for Stereo Disparity Estimation
disparity_loader 2 other papers
2 later
1906.06310 (2019-06)
Pseudo-LiDAR++: Accurate Depth for 3D Object Detection in Autonomous Driving
2007.03085 (2020-07)
Wasserstein Distances for Stereo Disparity Estimation
disparity_loader 1 other paper
1 dated earlier
1803.08669 (2018-03)
Pyramid Stereo Matching Network
inception_preproccess 1 other paper
1 the same month
1810.00861 (2018-10)
ProxQuant: Quantized Neural Networks via Proximal Operators
pad_random_crop 1 other paper
1 dated earlier
1805.11046 (2018-05)
Scalable Methods for 8-bit Training of Neural Networks
readPFM 1 other paper
1 later
2007.03085 (2020-07)
Wasserstein Distances for Stereo Disparity 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

Many applications of stereo depth estimation in robotics require the generation of accurate disparity maps in real time under significant computational constraints. Current state-of-the-art algorithms force a choice between either generating accurate mappings at a slow pace, or quickly generating inaccurate ones, and additionally these methods typically require far too many parameters to be usable on power- or memory-constrained devices. Motivated by these shortcomings, we propose a novel approach for disparity prediction in the anytime setting. In contrast to prior work, our end-to-end learned approach can trade off computation and accuracy at inference time. Depth estimation is performed in stages, during which the model can be queried at any time to output its current best estimate. Our final model can process 1242$ \times $375 resolution images within a range of 10-35 FPS on an NVIDIA Jetson TX2 module with only marginal increases in error -- using two orders of magnitude fewer parameters than the most competitive baseline. The source code is available at https://github.com/mileyan/AnyNet .

For agents

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

get_harvested_code_for_paper("1810.11408")
get_code_for_paper("1810.11408")
have("1810.11408")

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

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

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

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

Connect an agent — have() is free.