SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.06116 · 2019

PWOC-3D: Deep Occlusion-Aware End-to-End Scene Flow Estimation

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 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; 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/1904.06116.json · badge: /api/ran/1904.06116.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
dfki-av/pwoc-3d canonical (classifier label)
classifier basis: census
6 ran · 6 no recorded run
FunctionStatusWhere it lives
ContextNetwork Ran
ran on a synthesized input
dfki-av/pwoc-3d/modules.py
code served (permissive licence) · get_code("1f67eea1467aebaa")
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 Functional. 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 tensorflow as tf
import numpy as np

# Create a small feature volume tensor
# The function expects an input that will be passed through Conv2D layers
# Shape: (batch, height, width, channels)
batch_size = 2
height = 4
width = 3
input_channels = 32

feature_volume = tf.keras.Input(shape=(height, width, input_channels), batch_size=batch_size)

# Create activation function
activation_fn = tf.keras.layers.LeakyReLU(0.1)

# Regularization constant
reg_constant = 1e-4

ARGS = {
    'feature_volume': feature_volume,
    'activation_fn': activation_fn,
    'reg_constant': reg_constant
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Functional — a Functional output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Functional 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
finetuning_loss Ran
ran on a synthesized input
dfki-av/pwoc-3d/losses.py
code served (permissive licence) · get_code("30adef1baad9e220")
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 SymbolicTensor. 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 tensorflow as tf
import numpy as np

# Create small test tensors
# gt shape: [batch, height, width, channels]
# The function expects:
# - gt[:, :, :, 2] to extract a mask (boolean)
# - gt to be masked and divided by 20.0
# - prediction to be resized to match gt spatial dimensions
# - prediction to have a channel dimension for reduce_sum

batch_size = 2
height = 4
width = 3
channels = 5

# Create gt tensor with shape [2, 4, 3, 5]
# Channel 2 will be the mask (values 0 or 1)
gt_data = np.random.rand(batch_size, height, width, channels).astype(np.float32)
gt_data[:, :, :, 2] = np.random.randint(0, 2, size=(batch_size, height, width)).astype(np.float32)
gt = tf.constant(gt_data)

# Create prediction tensor with different spatial dimensions
# It will be resized to match gt's height and width
pred_height = 6
pred_width = 5
pred_channels = channels
prediction_data = np.random.rand(batch_size, pred_height, pred_width, pred_channels).astype(np.float32)
prediction = tf.constant(prediction_data)

ARGS = {
    "gt": gt,
    "prediction": prediction
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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
get_kitti_dataset Ran
ran on a synthesized input
dfki-av/pwoc-3d/datasets.py
code served (permissive licence) · get_code("08ca9fdab4094786")
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 _PrefetchDataset. 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 tensorflow as tf
import random

# Mock functions for load_kitti_images and load_kitti_sf
def load_kitti_images(n):
    # Return 4 images of shape (370, 1224, 3) with float32 values in [0, 1]
    return [
        tf.random.uniform((370, 1224, 3), 0.0, 1.0, dtype=tf.float32),
        tf.random.uniform((370, 1224, 3), 0.0, 1.0, dtype=tf.float32),
        tf.random.uniform((370, 1224, 3), 0.0, 1.0, dtype=tf.float32),
        tf.random.uniform((370, 1224, 3), 0.0, 1.0, dtype=tf.float32),
    ]

def load_kitti_sf(n):
    # Return scene flow of shape (370, 1224, 4)
    return tf.random.uniform((370, 1224, 4), 0.0, 1.0, dtype=tf.float32)

# Set up ARGS
ARGS = {
    "idxs": [0, 1, 2],
    "batch_size": 2,
    "augment": True,
    "shuffle": True,
    "crop": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _PrefetchDataset — a _PrefetchDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _PrefetchDataset 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
load_pfm Ran
ran on a synthesized input
dfki-av/pwoc-3d/utils.py
code served (permissive licence) · get_code("a946b59a08ddf4e9")
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 (3, 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 tempfile
import os
import numpy as np

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

# Create a valid PFM file (color variant)
with open(pfm_path, 'w', encoding='latin-1') as f:
    f.write("PF\n")
    f.write("4 3\n")  # width=4, height=3
    f.write("-1.0\n")  # negative scale indicates little-endian

# Write binary data
height, width = 3, 4
num_channels = 3
data = np.arange(height * width * num_channels, dtype=np.float32) * 0.1
with open(pfm_path, 'ab') as f:
    data.astype('<f').tofile(f)

ARGS = {
    'path': pfm_path
}
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 3, dtype family float, shape (3, 4, 3) — shape (3, 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
loss_per_scale Ran
ran on a synthesized input
dfki-av/pwoc-3d/losses.py
code served (permissive licence) · get_code("311eef1ba88e22c8")
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 SymbolicTensor. 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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
np.random.seed(0)
tf.random.set_seed(0)

# Create small ground truth tensor (batch=2, height=8, width=6, channels=3)
gt = tf.constant(np.random.randn(2, 8, 6, 3).astype(np.float32))

# Create small prediction tensor (batch=2, height=4, width=5, channels=3)
# Note: different spatial dimensions so resize operation is meaningful
prediction = tf.constant(np.random.randn(2, 4, 5, 3).astype(np.float32))

ARGS = {
    "gt": gt,
    "prediction": prediction,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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
read_sfl_file Ran
ran on a synthesized input
dfki-av/pwoc-3d/utils.py
code served (permissive licence) · get_code("e54e5bdb1c932798")
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 (2, 3, 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 numpy as np
import tempfile
import os

# Create a temporary SFL file with valid structure
temp_dir = tempfile.gettempdir()
filepath = os.path.join(temp_dir, 'test_flow.sfl')

# Write a valid SFL file
with open(filepath, 'wb') as f:
    # Write magic number
    np.array([202021.25], dtype=np.float32).tofile(f)
    # Write width and height
    np.array([3], dtype=np.int32).tofile(f)  # width = 3
    np.array([2], dtype=np.int32).tofile(f)  # height = 2
    # Write 4 * w * h = 4 * 3 * 2 = 24 float32 values
    data = np.random.randn(24).astype(np.float32)
    data.tofile(f)

ARGS = {
    'filepath': filepath
}
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 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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
FeaturePyramidNetwork Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/modules.py
code served (permissive licence) · get_code("fee9a2fca6892a27")
How it ran

no invocation recorded.

SceneFlowEstimator Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/modules.py
code served (permissive licence) · get_code("1ca3acaeab51cd2c")
How it ran

no invocation recorded.

get_ft3d_dataset Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/datasets.py
code served (permissive licence) · get_code("3bf1984356663fec")
How it ran

no invocation recorded.

get_spring_dataset Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/datasets.py
code served (permissive licence) · get_code("f82a91175fcdb4fa")
How it ran

no invocation recorded.

load_kitti_images Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/utils.py
code served (permissive licence) · get_code("073f8ee6988dd609")
How it ran

no invocation recorded.

multi_scale_loss Not yet run
unverified (harvested, no recorded run)
dfki-av/pwoc-3d/losses.py
code served (permissive licence) · get_code("943cea4c9f6c8d4e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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.

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

In the last few years, convolutional neural networks (CNNs) have demonstrated increasing success at learning many computer vision tasks including dense estimation problems such as optical flow and stereo matching. However, the joint prediction of these tasks, called scene flow, has traditionally been tackled using slow classical methods based on primitive assumptions which fail to generalize. The work presented in this paper overcomes these drawbacks efficiently (in terms of speed and accuracy) by proposing PWOC-3D, a compact CNN architecture to predict scene flow from stereo image sequences in an end-to-end supervised setting. Further, large motion and occlusions are well-known problems in scene flow estimation. PWOC-3D employs specialized design decisions to explicitly model these challenges. In this regard, we propose a novel self-supervised strategy to predict occlusions from images (learned without any labeled occlusion data). Leveraging several such constructs, our network achieves competitive results on the KITTI benchmark and the challenging FlyingThings3D dataset. Especially on KITTI, PWOC-3D achieves the second place among end-to-end deep learning methods with 48 times fewer parameters than the top-performing method.

For agents

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

get_harvested_code_for_paper("1904.06116")
get_code_for_paper("1904.06116")
have("1904.06116")

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

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

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

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

Connect an agent — have() is free.